[Gate-users] How to insert a slant hole into a plate
Yanfei Mao
yanfei_mao017 at yahoo.com
Mon Jan 30 23:48:04 CET 2012
Dear all,
I want to insert a slant hole into a plate. My strategy is that first insert a hole which is longer than the thickness of the plate, then change the orientation of the hole.
My code:
/gate/collimator/daughters/name hole
/gate/collimator/daughters/insert hexagone
/gate/hole/geometry/setHeight 9.4 cm
/gate/hole/geometry/setRadius 0.5 cm
/gate/hole/placement/setThetaOfTranslation 30 deg
/gate/hole/placement/setPhiOfTranslation 20 deg
/gate/hole/setMaterial Air
The problem is no matter how I change the angle of theta and phi, the geometry of the hole doesn't change at all. I also try to call function setTheta and setPhi, but it still doesn't work. Does anyone know how to do it? I use GATE v5.0.
Thank you!
Yanfei Mao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture4.jpg
Type: image/jpeg
Size: 44254 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20120130/b6d200f6/attachment-0001.jpg>
More information about the Gate-users
mailing list