[Gate-users] Multiple rotations

Kesava S Kalluri kkalluri at lsu.edu
Mon Mar 30 23:59:16 CEST 2015


HI,

I am trying to rotate a cylinder ( r=3mm, ht= 5 cmm) in a manner such that one end of the cylinder is at (0,0,0) while making 45* to all three x, y and z axes. 

I tried the following

/gate/cylinder/placement/enable
/gate/cylinder/placement/setPhiOfTranslation 45 deg
/gate/cylinder/placement/setThetaOfTranslation 45 deg
/gate/cylinder/placement/setMagOfTranslation 10 cm 




This is only providing a later shift . Can some one please let me know how to do this?

thank you,

Kesava


More information about the Gate-users mailing list