When having an object selected, like a newly created box, performing the
command:

cmds.xform(ro=(10,0,30), os=True)

gives the same result as

cmds.xform(ro=(10,0,30), ws=True)

Both of them show the object rotation is 10,0,30 when querying the
respective transformations.
I am trying to rotate in object space, 10 in x, then 30 in z.  The final
rotation angles should be

x = 8.68220390105
y = -4.98092532193
z = 29.6216518752

when using

cmds.xform(ro=(10,0,30), os=True)
cmds.xform(ro=True, ws=True, query=True)

I tried using the euler flag, relative, etc.  but can not get the correct
transformation.  What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CADiWwnTB2GVZGGLLhAbwcnBQTdTrnS64PR5F7P76z4%3DpCvu2Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to