shapes3d rotations to maya

im trying to get rotation angles from shapes3d to use them in maya python scripting. as i know, maya uses euler angles and shapes3d can give me them in some order (e.g. RotOrder: ZYZ).

i can change/define the RotationOrder at MEulerRotation, but they are different (e.g. kZYX) i tried different ways, but the rotations always look wrong.

any ideas?

thanks.

Tagged:

Answers

  • The Rot class used in the Shapes3D library was taken from the Rotation class in the Apache Commons project and adapted to work with Processing and its PVector class.

    The link above takes you to the API for the Rotation class and it might give you more information that might help.

  • thanks for this. but unfortunately it's the same as in the shapes3d-docs.

Sign In or Register to comment.