[Gate-users] multiple rotations about two axes ?

G Tom gregthom992 at gmail.com
Wed Apr 19 15:19:00 CEST 2017


Yes , I resorted to doing an external calculation of the composite
rotations about a single axis. I had immagined there was a simpler way of
doing it withing Gate.

Thanks



On Wed, Apr 19, 2017 at 8:12 AM, Aitkenhead Adam (RBV) NHS Christie Tr <
Adam.Aitkenhead at christie.nhs.uk> wrote:

> > 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170419/77c45806/attachment.html>


More information about the Gate-users mailing list