[Gate-users] Problem in modeling a trapezoid

Ricardo Capote rmcapote at fc.ul.pt
Mon Nov 11 19:15:30 CET 2013


Hi Hojjat Mahani,

I also had the same problem. My suggestion is to define very small
dimensions for the volume box:

/gate/world/daughters/name collimator
/gate/world/daughters/insert trpd
/gate/collimator/geometry/setX1Length 10 cm
/gate/collimator/geometry/setY1Length 5 cm
/gate/collimator/geometry/setX2Length 10 cm
/gate/collimator/geometry/setY2Length 1 cm
/gate/collimator/geometry/setZLength ?3.0 ?cm

## These are Gate V.5 commands, I think they are still avaible in V.6
/gate/collimator/geometry/setXBoxLength 0.001 mm
/gate/collimator/geometry/setYBoxLength 0.001 mm
/gate/collimator/geometry/setZBoxLength 0.001 mm

/gate/collimator/setMaterial Lead
/gate/collimator/vis/setColor red
/gate/collimator/vis/forceWireframe

That's a strange solution but I believe it will solve your problem.

Best regards,

-------------------------------------------------------------------
Ricardo Capote

Institute of Biophysics and Biomedical Engineering
Faculty of Science, University of Lisbon
Campo Grande
1749-016 Lisbon

Tel. + 351 21 750 01 77; Fax: + 351 21 750 00 30
Extension: 20510
Email: rmcapote at fc.ul.pt
Website: http://www.ibeb.fc.ul.pt/




2013/11/11 <gate-users-request at lists.opengatecollaboration.org>

> Send Gate-users mailing list submissions to
>         gate-users at lists.opengatecollaboration.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
>         gate-users-request at lists.opengatecollaboration.org
>
> You can reach the person managing the list at
>         gate-users-owner at lists.opengatecollaboration.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
>    1. Problem in modeling a trapezoid (Hojjat Mahani)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 10 Nov 2013 22:27:21 -0800 (PST)
> From: Hojjat Mahani <hojjat.mahani at yahoo.com>
> To: GATErs <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] Problem in modeling a trapezoid
> Message-ID:
>         <1384151241.75100.YahooMailNeo at web161006.mail.bf1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear GATE users,
>
> I have modeled a trapezoid as the collimator in my SPECT simulation.?
> Everything seems to be right, but, I have faced an unexpected problem: an
> extra volume exists inside the trapezoid (as shown in attached figure).
>
> Here are the commands used to define aforementioned trapezoid:
>
> # Collimator (Trapezoidal Collimator)
> /gate/world/daughters/name collimator
> /gate/world/daughters/insert trpd
> /gate/collimator/geometry/setX1Length 10 cm
> /gate/collimator/geometry/setY1Length 5 cm
> /gate/collimator/geometry/setX2Length 10 cm
> /gate/collimator/geometry/setY2Length 1 cm
> /gate/collimator/geometry/setZLength ?3.0 ?cm
> /gate/collimator/setMaterial Lead
> /gate/collimator/vis/setColor red
> /gate/collimator/vis/forceWireframe
>
> Any suggestion or idea would be appreciated; thank you in advance.
>
> ?
>
> Hojjat Mahani,
> PhD Candidate of Medical Radiation Engineering.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131110/6f8feebb/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: Trapezoid.png
> Type: image/png
> Size: 7263 bytes
> Desc: not available
> URL: <
> http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131110/6f8feebb/attachment-0001.png
> >
>
> ------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> End of Gate-users Digest, Vol 90, Issue 4
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131111/494b0ba6/attachment.html>


More information about the Gate-users mailing list