ID 469565 - Matrix.asEuler doesn't work correctly if the item scale is not uniform.

Follow

Problem summary

Matrix.asEuler doesn't work correctly if the item scale is not uniform.

Customer reported version
modo.14.2v2

Customer reported platform
windows10

Steps to reproduce

1) Open Modo and create a Cube.

2) Set the Scale to 100%, 200%, and 300%
3) Set the Rotation to 10, 20, and 30.

4) Select Layout > Palletes > Scripting and run the following script:


import modom = modo.Item("Cube")wm = modo.Matrix3(m.channel("worldMatrix").get())rot = wm.asEuler(order = "zxy", degrees=True)print (rot) 

 

Expected behaviour
The rotation value should be correct when using Matrix.asEuler on non-uniform scales.

Actual behaviour
The rotation value isn't correct when using non-uniform scales

Workaround
Unknown. 

Reproduced by support

This bug has been reproduced in:

14.2v2 - Windows 10

14.2v1 - Windows 10

14.1v1 - Windows 10

14.0v1 - Windows 10

13.0v1 - Windows 10

12.2v2 - Windows 10

Earliest version tested

12.2v2 - This issue appears to be in all versions of the product.

 

    We're sorry to hear that

    Please tell us why