Hi All,

I can’t wrap my head around the matrices but understand enough to use them in scripts. Now I ran into something I can’t figure out - what I am trying to do is compare 2 Xform matrices (Object A and B) and get the Xforms that I would need to apply to A to get B, or to get from B to A. Is it possible at all with RS ? Even better - Is it possible to have it separated for Scale, Rotation and Translation ?

I have been using @dale’s routines to decompose matrices (thanks Dale!, very helpful) https://github.com/mcneel/rhinoscript/blob/master/DecomposeXform.rvb

but can’t figure out how to use it for the above ‘difference’.

Any help would be much appreciated.

thanks–

Jarek