[Gate-users] multiple rotations about two axes ?
Aitkenhead Adam (RBV) NHS Christie Tr
Adam.Aitkenhead at christie.nhs.uk
Wed Apr 19 14:12:01 CEST 2017
> Does anyone know how to do multiple rotations in GATE ? Say do first 90 about X and then 180 about Z ?
> /gate/X1Jaw/placement/setRotationAxis 1 0 0
> /gate/X1Jaw/placement/setRotationAngle 90 deg
>
> #then
>
> /gate/X1Jaw/placement/setRotationAxis 0 0 1
> /gate/X1Jaw/placement/setRotationAngle 180 deg
I've come across this issue too. The only way round it I could find was to do a calculation external to Gate to resolve the multiple rotations into a single rotation, then apply that in Gate. I couldn't find a way to do it sequentially in Gate.
Adam
This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient.
If you have received this e-mail in error you should not disseminate, distribute or copy it.
Please notify the sender immediately and delete this e-mail from your system.
More information about the Gate-users
mailing list