[Gate-users] ring repeater: Auto Rotation (yannick grondin)

Mikhail Polkovnikov mikhail.polkovnikov at gmail.com
Fri Aug 22 15:19:20 CEST 2014


On 22.08.2014 13:16, gate-users-request at lists.opengatecollaboration.org 
wrote:
> ring repeater: Auto Rotation (yannick grondin)

May be something like that? The boxes oriented along the ring axis which 
is 45 degree to X axis.

/gate/world/daughters/name lame2
/gate/world/daughters/insert box
/gate/lame2/geometry/setXLength 10. mm
/gate/lame2/geometry/setYLength 70. mm
/gate/lame2/geometry/setZLength 20. mm
/gate/lame2/placement/setTranslation 0. 0. -397. mm
/gate/lame2/placement/setRotationAxis 0 0 1
/gate/lame2/placement/setRotationAngle 45. deg
/gate/lame2/setMaterial Lead
/gate/lame2/vis/setColor white
/gate/lame2/vis/forceSolid

/gate/lame2/repeaters/insert ring
/gate/lame2/ring/setRepeatNumber 20
/gate/lame2/ring/setPoint1 1. 0. -500. mm
/gate/lame2/ring/setPoint2 1. 1. -500. mm



More information about the Gate-users mailing list