Rotate-relative object around local axis


#1

Hello

I have an object and I would like to rotate-relative it around let’s say 10.5 in local axis X. The same as we set gizmo to Local and press on X line and rotate 10.5 units there…

How should I build my cmds.rotate command to do this? I have pivot in correct place. Just need to add extra xx units to the existing rotation…

TIA


#2

cmds.rotate( 0, 1, 0, ge, r=1,os=1)
solved… sigh! OS… I was looking for ls… ;/ local-space… >.>