[Gate-users] Parameterization of a Parallelepiped
Gilberto Almeida
gilberto.s.almeida at gmail.com
Thu Mar 20 14:39:20 CET 2008
Hi,
Certainly:
## V I S U A L I Z A T I O N
/vis/open OGLSX
/vis/viewer/reset
/vis/viewer/set/viewpointThetaPhi 60 60
/vis/viewer/zoom 2
/vis/viewer/zoom 1
/vis/viewer/set/style surface
/vis/drawVolume
/tracking/storeTrajectory 0
/vis/scene/endOfEventAction accumulate
/vis/viewer/update
/gate/geometry/enableAutoUpdate
#WORLD
/gate/world/geometry/setXLength 100. cm
/gate/world/geometry/setYLength 100. cm
/gate/world/geometry/setZLength 100. cm
/gate/world/daughters/insert 3axes
#SYSTEM
/gate/world/daughters/name SPECThead
/gate/world/daughters/insert box
/gate/SPECThead/geometry/setXLength 133.1 mm
/gate/SPECThead/geometry/setYLength 411.2 mm
/gate/SPECThead/geometry/setZLength 322.1 mm
/gate/SPECThead/placement/setTranslation 226.55 0. 0. mm
/gate/SPECThead/repeaters/insert ring
/gate/SPECThead/ring/setRepeatNumber 2
/gate/SPECThead/setMaterial Air
/gate/SPECThead/vis/forceWireframe
#COLLIMATOR
/gate/SPECThead/daughters/name collimator
/gate/SPECThead/daughters/insert parallelepiped
/gate/collimator/geometry/setDx 100. mm
/gate/collimator/geometry/setDy 411.2 mm
/gate/collimator/geometry/setDz 322.1 mm
/gate/collimator/geometry/setAlpha 0. deg
/gate/collimator/geometry/setTheta 0. deg
/gate/collimator/geometry/setPhi 45. deg
I pretend to have a box tilted 45 degrees in XZ plane.
Thank you very much for the help
Best regards,
Gilberto Almeida Instituto de Biofísica e Engenharia Biomédica
Faculdade de Ciências da Universidade de Lisboa
Campo Grande
1749-016 Lisboa, Portugal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20080320/b3d9a6ad/attachment.htm>
More information about the Gate-users
mailing list