<div dir="ltr">Dear Guillaume,<div><br></div><div>I faced the same issue when doing a project. I had to implement a complicated geometry in GATE, consisting of about 100 regions, and I decided to use STL as well. I generated my STL files from autoCAD and noticed that for GATE the whole region (all the vertices) needs to be defined in the "positive" part of the coordinate system, so to have X,Y and Z in positive coordinates. The solution for me was to shift the origin in autoCAD to achieve this requirement by some artificial translation, even quite large, [2,2,2] m in my case. Then to shift it back in GATE by translation. Thus, I got the setup with properly aligned elements with respect to each other, positioned in the centre (in the position I expected) of the World region. </div><div><br></div><div>In my case I was moving each element separately. If I were doing the project again, I would probably think of defining an empty region where I would put all the elements (as daughters), and then move this region by [-2,-2,-2] m. Anyway, the most important issue is to define the region in STL in the positive part of the coordinate system. I do not remember exactly, but this is probably not the GATE issue but even the STL definition that all the vertices must be positive. </div><div><br></div><div>best</div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(153,153,153)">------------------------------------------------------------</span><br style="color:rgb(153,153,153)"><font size="2" style="color:rgb(153,153,153)"><span style="color:rgb(0,0,0)">Jan Gajewski</span></font><br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 15 Nov 2022 at 17:23, ESLAM TAHA <<a href="mailto:emtaha@kau.edu.sa">emtaha@kau.edu.sa</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear
Guillaume,<div><br></div><div>I used to have the same issue. After creating STLs with SOLIDWORKS and importing them into Gate, I noticed that it is not positioned correctly within Gate. I solved this issue by importing the STL into Windows 3D Builder, where you can set the origin of the model to 0,0,0. After that, if you import the STL model in Gate, it will be positioned correctly.<div><br></div><div><br></div><div>Best regards,</div><div>Eslam</div><div><br clear="all"><div><div dir="rtl"><div dir="rtl"><div style="text-align:left">____________</div><div style="text-align:left"><div><div><div>Eng. Eslam Mohammad Taha</div><div>Medical Physics Engineer</div><div>Nuclear Engineering Department</div><div>King Abdulaziz University</div><div>Jeddah, Saudi Arabia</div></div><div>Email: <a href="mailto:ebarzangy@stu.kau.edu.sa" target="_blank"><font color="#1155cc">emtaha@kau.edu.sa</font></a></div></div><div><br></div><div><font color="#999999" size="1">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error </font><font color="#999999" size="1">please notify me immediately and delete this message from your computer system</font><font color="#999999" size="1">. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.</font></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 15, 2022 at 6:54 PM Josh Knowland <<a href="mailto:jknowland@lucernodynamics.com" target="_blank">jknowland@lucernodynamics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I use the STL import quite a lot and have never had problems. What software are you using to make the STL files? <br>
If you would like, you can send me your STL files and I can try.<br>
<br>
-josh<br>
<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>> On Behalf Of Houyoux Guillaume<br>
Sent: Tuesday, November 15, 2022 10:52 AM<br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
Subject: [Gate-users] Origin of STL file not preserved<br>
<br>
Dear users,<br>
<br>
I would like to import the geometry of an ionization chamber from a CAD software to a STL file in order to define it in GATE. I have to mention that I need all the pieces separately to attribute a different material to each one of them.<br>
However, it seems that GATE does not remember the origine of the space where the chamber was first created, leading to all the pieces being mispositioned in GATE.<br>
Does anybody has an idea how to bypass this issue ? Is it really an issue or am I doing something wrong ?<br>
<br>
Thank you in advance for your replies,<br>
<br>
Best regards,<br>
<br>
Guillaume.<br>
Disclaimer : <a href="http://www.bordet.be/disclaimer/disclaimer.html" rel="noreferrer" target="_blank">http://www.bordet.be/disclaimer/disclaimer.html</a><br>
<br>
L’Institut Jules Bordet a déménagé. Nouvelle adresse : 90, rue Meylemeersch 1070 Anderlecht Het Jules Bordet Instituut is verhuisd. Nieuw adres : 90, Mijlenmeersstraat 1070 Anderlecht _______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>
<br>
<div><font color="#808080" face="Arial, Helvetica, sans-serif">Disclaimer: The information contained in this message is intended for the addressee only and may contain classified information. If you are not the addressee, please delete this message and notify the sender; you should not copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the individual(s) and not necessarily of the university. No reliance may be placed on this message without written confirmation from an authorized representative of its contents. No guarantee is implied that this message or any attachment is virus free or has not been intercepted and amended. </font></div><div><font color="#808080" face="Arial, Helvetica, sans-serif"><br></font></div><div><font color="#808080" face="Arial, Helvetica, sans-serif">إخلاء مسؤليه: ان جميع المعلومات المتضمنة في هذه الرسالة تخص المستلم، وربما تتضمن معلومات سرية، واذا لم تكن انت المستلم فالرجاء الغاء الرسالة واشعار المرسل، كما يمنع نسخ او توزيع هذه الرسالة او افشاء محتوياتها لاخرين. ويجدر بالعلم ان جميع الآراء ووجهات النظر الواردة في هذه الرسالة تعتبر شخصية وليست بالضرورة منسوبة للجامعة. كما لايمكن ان يعتمد على هذه الرسالة ما لم تحصل على موافقة خطية من المسئول عن محتوياتها. كما لايوجد ضمان بان هذه الرسالة أو مرفقاتها خالية من الفيروسات أو انها لم يتم اعتراضها وتعديلها</font></div><div><br></div>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote></div>