<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Dear GATE users,</p>
<p style="margin-top:0;margin-bottom:0">Please, I followed Maikol recommendation and I think it helped improve my STL localization. Even though the STL file was not completely in the centre of the geometry. Now I can get dose readings. Please. find attached
 file showing some values recorded by the dose actor. Thanks very for your help.</p>
<p style="margin-top:0;margin-bottom:0">Best regards,</p>
<p style="margin-top:0;margin-bottom:0">Emmanuel ,</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</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> on behalf of gate-users-request@lists.opengatecollaboration.org <gate-users-request@lists.opengatecollaboration.org><br>
<b>Sent:</b> Tuesday, 3 July 2018 1:52:16 AM<br>
<b>To:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Subject:</b> Gate-users Digest, Vol 146, Issue 2</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Send Gate-users mailing list submissions to<br>
        gate-users@lists.opengatecollaboration.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        gate-users-request@lists.opengatecollaboration.org<br>
<br>
You can reach the person managing the list at<br>
        gate-users-owner@lists.opengatecollaboration.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Dose actor shows zero valuesand STL file not in the<br>
      center of defined geometry (Maikol Salas Ramirez)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 2 Jul 2018 15:59:27 +0200<br>
From: Maikol Salas Ramirez <mmsalas@gmail.com><br>
To: Emmanuel Marfo <emmanuel.marfo@postgrad.otago.ac.nz><br>
Cc: gate-users <gate-users@lists.opengatecollaboration.org><br>
Subject: Re: [Gate-users] Dose actor shows zero valuesand STL file not<br>
        in the center of defined geometry<br>
Message-ID:<br>
        <CAAGVOV=m8qqOQnHCBFfOjk0VCfwD1XbMrK=H33eNN7bqYShsXw@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Emmanuel,<br>
<br>
Some possibles solution.<br>
<br>
1- I had the same problem a couple of times, I use Freecad to change the<br>
position of the STL structure. STL are tricky because they keep the space<br>
localization. What I do, normally is:<br>
A- I use Freecad, I open a new file.<br>
B- Import STL file.<br>
C- Measure the SLT size (<a href="https://www.freecadweb.org/wiki/Mesh_BoundingBox">https://www.freecadweb.org/wiki/Mesh_BoundingBox</a>)<br>
D- Translate the MESH using the first set of coordinates (but using<br>
negative values). This procedure moves your STL to a (0,0,0) position. (see<br>
attached image)<br>
E- Always is useful (at lest for me) to create a box with the same STL<br>
dimensions if the STL is totally hiddenby the box is because the<br>
translation was fine. (see attached image)<br>
F- Anyway always you have to check visually what is going in the simulation<br>
space. But at least this procedure will improve the localization.<br>
G- EXTRA: If you want, you can apply a angular translation in freecad to<br>
change the orientation of your phantom.<br>
<br>
2- I also faced this problem. One option is create a vacuum volume (box)<br>
("miniworld"), then include your source there (daughter of  "miniworld" ),<br>
then your mesh structure (also daughter of "miniworld"). Try this and let<br>
see. If I am not wrong it will resolve the problem.<br>
In general avoid to link the source and the phantom directly to the world<br>
volume, and play with the hierarchy and order.<br>
<br>
Best regards<br>
Maikol<br>
<br>
<br>
El El lun, 2 jul 2018 a las 2:19, Emmanuel Marfo <<br>
emmanuel.marfo@postgrad.otago.ac.nz> escribió:<br>
<br>
> Dear Sir/Gate Uers,<br>
><br>
> Please, I have two main challenges<br>
><br>
><br>
>    1. STL file not in the centre of the defined geometry<br>
>    2. Dose actor showing zero value results<br>
><br>
> I have attached a couple of STL files created with different procedures. I<br>
> believed the attached STL files should work in the GATE simulation for dose<br>
> scoring. However, the imported STL in the simulation is not located in the<br>
> centre. I used placement/translation to get it in the right position for<br>
> the simulation to run. Furthermore, the dose actor shows zeros values.<br>
> Please, I need some help to figure it out where the problem might be,<br>
> possibly from the STL files which I have attached. thanks.<br>
><br>
><br>
> Best regards,<br>
><br>
> Emmanuel Marfo<br>
><br>
> Student<br>
><br>
> University of Otago<br>
><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180702/af060f7c/attachment.html">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180702/af060f7c/attachment.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Captura de pantalla de 2018-07-02 15-50-02.png<br>
Type: image/png<br>
Size: 256448 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180702/af060f7c/attachment.png">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180702/af060f7c/attachment.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Captura de pantalla de 2018-07-02 15-47-42.png<br>
Type: image/png<br>
Size: 214753 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180702/af060f7c/attachment-0001.png">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180702/af060f7c/attachment-0001.png</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
Gate-users@lists.opengatecollaboration.org<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 146, Issue 2<br>
******************************************<br>
</div>
</span></font></div>
</body>
</html>