[Gate-users] volume 's multiple rotation
Peter Si
chinhongsi at gmail.com
Wed Apr 18 17:06:39 CEST 2012
Dear all,
I am doing a multiple pinhole collimator design and I am wondering if it is
possible to rotate a volume in a specific angle. For example, if I want to
rotate the geometry by 60 degrees about the x-axis and 45 degrees about the
y-axis, if I typed:
/gate/volume_name/placement/setRotationAxis 1 0 0
/gate/volume_name/placement/settRotationAngle 60 deg
/gate/volume_name/placement/settRotationAxis 0 1 0
/gate/volume_name/placement/settRotationAngle 45 deg
Gate will only rotate the latest rotation axis and angle, that means the
volume will only be rotated by 45 degrees about the y-axis. It seems that
Gate can only rotate the geometry in a certain angle about the x,y or z
axis or rotate an equivalent angle about this three axis. Is there any
method can rotate the geometry in a certain angle such like described
before?
Best regards,
Peter
More information about the Gate-users
mailing list