[Gate-users] parallelepiped
Melanie Hohberg
melanie.hohberg at tum.de
Wed Jul 7 17:31:01 CEST 2010
Dear Gate-users,
I have a question concering how a parallelepiped has to be defined
correctly. As there is no example in the Gate manual I tried the following:
/gate/cylindrical1/daughters/name rsector
/gate/cylindrical1/daughters/insert box
/gate/rsector/placement/setTranslation 0 0 0 mm
/gate/rsector/geometry/setXLength 20 mm
/gate/rsector/geometry/setYLength 60 mm
/gate/rsector/geometry/setZLength 60 mm
/gate/rsector/setMaterial Air
/gate/rsector/vis/forceWireframe
/gate/rsector/vis/setColor red
/gate/rsector/daughters/name module
/gate/rsector/daughters/insert parallelepiped
/gate/module/placement/setTranslation 0.0 0.0 0.0 mm
/gate/module/setMaterial Air
/gate/module/geometry/setDx 5 mm
/gate/module/geometry/setDy 25 mm
/gate/module/geometry/setDz 25 mm
/gate/module/geometry/setAlpha 45
/gate/module/geometry/setTheta 45
/gate/module/geometry/setPhi 0
/gate/module/vis/forceWireframe
/gate/module/vis/setColor white
But I´m always getting an error message with:
Command not found : /gate/module/geometry/setDx 5 mm
Any help or suggestions would be appreciated.
Melanie
More information about the Gate-users
mailing list