<div dir="ltr"><div>Hi Hojjat Mahani,<br><br></div>I also had the same problem. My suggestion is to define very small dimensions for the volume box:<br><div><div><div><div><br>/gate/world/daughters/name collimator<br>
/gate/world/daughters/insert trpd<br>
/gate/collimator/geometry/setX1Length 10 cm<br><div id=":w0">
/gate/collimator/geometry/setY1Length 5 cm<br>
/gate/collimator/geometry/setX2Length 10 cm<br>
/gate/collimator/geometry/setY2Length 1 cm<br>
/gate/collimator/geometry/setZLength ?3.0 ?cm<br><br></div><div id=":w0">## These are Gate V.5 commands, I think they are still avaible in V.6<br></div><div id=":w0">/gate/collimator/geometry/setXBoxLength 0.001 mm<br>/gate/collimator/geometry/setYBoxLength 0.001 mm<br>
/gate/collimator/geometry/setZBoxLength 0.001 mm<br><br>
/gate/collimator/setMaterial Lead<br>
/gate/collimator/vis/setColor red<br>
/gate/collimator/vis/forceWireframe<br><br></div><div id=":w0">That's a strange solution but I believe it will solve your problem. <br><br></div><div id=":w0">Best regards,<br></div><br>-------------------------------------------------------------------<br>
Ricardo Capote<br><div>
<br>
<span lang="en"><span>Institute</span> <span>of Biophysics and</span> <span>Biomedical Engineering</span><br> <span>Faculty</span> <span>of Science, University</span> <span>of Lisbon</span></span><br>
Campo Grande<br>
1749-016 Lisbon<br>
<br>
Tel. <a value="+351217500177">+ 351 21 750 01 77</a>; Fax: <a value="+351217500030">+ 351 21 750 00 30</a><br>
Extension: 20510<br>
Email: <a href="mailto:rmcapote@fc.ul.pt" target="_blank">rmcapote@fc.ul.pt</a><br>Website: <a href="http://www.ibeb.fc.ul.pt/" target="_blank">http://www.ibeb.fc.ul.pt/</a></div><br><br><div style id="__af745f8f43-e961-4b88-8424-80b67790c964__">
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/11 <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.opengatecollaboration.org</a><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. Problem in modeling a trapezoid (Hojjat Mahani)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 10 Nov 2013 22:27:21 -0800 (PST)<br>
From: Hojjat Mahani <<a href="mailto:hojjat.mahani@yahoo.com">hojjat.mahani@yahoo.com</a>><br>
To: GATErs <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a>><br>
Subject: [Gate-users] Problem in modeling a trapezoid<br>
Message-ID:<br>
<<a href="mailto:1384151241.75100.YahooMailNeo@web161006.mail.bf1.yahoo.com">1384151241.75100.YahooMailNeo@web161006.mail.bf1.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear GATE users,<br>
<br>
I have modeled a trapezoid as the collimator in my SPECT simulation.?<br>
Everything seems to be right, but, I have faced an unexpected problem: an extra volume exists inside the trapezoid (as shown in attached figure).<br>
<br>
Here are the commands used to define aforementioned trapezoid:<br>
<br>
# Collimator (Trapezoidal Collimator)<br>
/gate/world/daughters/name collimator<br>
/gate/world/daughters/insert trpd<br>
/gate/collimator/geometry/setX1Length 10 cm<br>
/gate/collimator/geometry/setY1Length 5 cm<br>
/gate/collimator/geometry/setX2Length 10 cm<br>
/gate/collimator/geometry/setY2Length 1 cm<br>
/gate/collimator/geometry/setZLength ?3.0 ?cm<br>
/gate/collimator/setMaterial Lead<br>
/gate/collimator/vis/setColor red<br>
/gate/collimator/vis/forceWireframe<br>
<br>
Any suggestion or idea would be appreciated; thank you in advance.<br>
<br>
?<br>
<br>
Hojjat Mahani,<br>
PhD Candidate of Medical Radiation Engineering.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131110/6f8feebb/attachment-0001.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131110/6f8feebb/attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Trapezoid.png<br>
Type: image/png<br>
Size: 7263 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131110/6f8feebb/attachment-0001.png" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131110/6f8feebb/attachment-0001.png</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
End of Gate-users Digest, Vol 90, Issue 4<br>
*****************************************<br>
</blockquote></div><br></div></div></div></div></div></div>