[Gate-users] How to rotate a volume in two direction?

Mery MB mery.mb.mph at gmail.com
Tue Apr 24 09:33:22 CEST 2018


Dear Gate user

I want to rotate a volume in two direction but the result of rotation is
not sth thant I want?
Is there any special point for this issue?

For example:
I want to rotate this cylinder at first 90 degree in x axis and then 6
degree in z axis?
How Can I do this rotation?

it is really easy in Geant but I can not found its relation in Gate!!!

# Jawy 6-3 (y2-head)
/gate/Gantry/daughters/name            Jy6-31
/gate/Gantry/daughters/insert            cylinder
/gate/Jy6-31/geometry/setRmax             50.9 cm
/gate/Jy6-31/geometry/setRmin             43.1 cm
/gate/Jy6-31/geometry/setHeight             142.35 mm
/gate/Jy6-31/geometry/setPhiStart         9 deg
/gate/Jy6-31/geometry/setDeltaPhi         360 deg
/gate/Jy6-31/placement/setTranslation        0 0 -250 mm
/gate/Jy6-31/placement/setRotationAxis         1 0 0
/gate/Jy6-31/placement/setRotationAngle        90.0 deg

/gate/Jy6-31/setMaterial             MLC
/gate/Jy6-31/vis/forceSolid
/gate/Jy6-31/vis/setColor                          red

Best
Mery
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180424/4e899a96/attachment.html>


More information about the Gate-users mailing list