<div dir="ltr"><div><div dir="auto">Hi Emmanuel,</div></div><div dir="auto"><br></div><div>Some possibles solution.</div><div dir="auto"><br></div><div dir="auto">1- I had the same problem a couple of times, I use Freecad to change the position of the STL structure. STL are tricky because they keep the space localization. What I do, normally is:</div><div>A- I use Freecad, I open a new file.</div><div>B- Import STL file.<br></div><div>C- Measure the SLT size (<a href="https://www.freecadweb.org/wiki/Mesh_BoundingBox" target="_blank">https://www.freecadweb.org/wiki/Mesh_BoundingBox</a>)</div><div>
<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>D- Translate the MESH using the first set of coordinates (but using negative values). This procedure moves your STL to a (0,0,0) position. (see attached image)</span></span></div><div>E- Always is useful (at lest for me) to create a box with the same STL dimensions if the STL is totally hiddenby the box is because the translation was fine. <span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>(see attached image)</span></span><br></div><div>F- Anyway always you have to check visually what is going in the simulation space. But at least this procedure will improve the localization.</div><div>G- EXTRA: If you want, you can apply a angular translation in freecad to change the orientation of your phantom. <br></div><div><br></div><div>2- I also faced this problem. One option is create a vacuum volume (box) ("miniworld"), then include your source there (daughter of
<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">"miniworld"</span>
), then your mesh structure <span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">(also daughter<span> of </span></span><span style="text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">"miniworld"</span><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">). Try this and let see. If I am not wrong it will resolve the problem. <br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">In general avoid to link the source and the phantom directly to the world volume, and play with the hierarchy and order. <br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Best regards</span></div><div>Maikol<br></div><div> </div></div><div><br><div class="gmail_quote"><div dir="ltr">El El lun, 2 jul 2018 a las 2:19, Emmanuel Marfo <<a href="mailto:emmanuel.marfo@postgrad.otago.ac.nz" target="_blank">emmanuel.marfo@postgrad.otago.ac.nz</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-4986327730324652587m_5601246319251734637m_6175825923136899476divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<p style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
Dear Sir/Gate Uers,</p>
<p style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
Please, I have two main challenges</p>
<p style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
</p>
<ol style="margin-bottom:0px;margin-top:0px">
<li><span style="font-size:12pt"></span>STL file not in the centre of the defined geometry</li><li>Dose actor showing zero value results</li></ol>
I have attached a couple of STL files created with different procedures. I believed the attached STL files should work in the GATE simulation for dose scoring. However, the imported STL in the simulation is not located in the centre. I used placement/translation
to get it in the right position for the simulation to run. Furthermore, the dose actor shows zeros values. Please, I need some help to figure it out where the problem might be, possibly from the STL files which I have attached. thanks.
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best regards,</p>
<p style="margin-top:0;margin-bottom:0">Emmanuel Marfo</p>
<p style="margin-top:0;margin-bottom:0">Student</p>
<p style="margin-top:0;margin-bottom:0">University of Otago<br>
</p>
<p></p>
<br>
<p></p>
</div>
</div>
</blockquote></div></div>