Get transform of mesh object


I have not found a method to get the transform matrix of an mesh.
Is this possible by any function or is there any walkaround?

thanks in advance,


Objects in Rhino do not store such thing. Its a fully world/global coordinate system. TM are used for transformation purposes only. You are missing information. You basically need a plane to define the original orientation of your object.
If you define one, you can convert this plane into a tm you need to do the math for yourself. There are different calculations possible, depending on the system you are targeting -> euler, quadnerion …
Euler transformations are different, depending on which axis is rotated first.Euler TM’s can gimbal lock, so using a Quadnerion for conversion purposes is better.
One exception are Blocks.