My code is set to allow the work object to be changed based upon
interface with the operator. However, I need to change the rotation of the
work object. But how to do with the quaternion? Let’s say I need to
change the rotation about the x-axis by 1.5 degrees, how to do?
The PerSvensson have reason this is only you need, OrientZYX and the EulerZYX, you must have attention to order of the function is ( ZZZZZ,YYYYYY,XXXXXXX) not (XXXXX,YYYYYY,ZZZZZZ)is very important use the coordinate correct. I recomend use 2 WorkObject data, one is a fixed and the other is a variable like this: