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?