Get the rotation of the xform

Hi all,
Do you know how the XForm in rhino works ?.
It is a 4X4 matrix
The Xform output is R1, R2, R3, R4
What are these rows basically ? and how to access them through scripting
I want to solve block instance rotations from an Xform. for a transformation that I dont know. Any idea ?.

I don’t think it’s possible if other transforms are unknown, since there’re infinite combinations of rotation to compose a transform.

assume that I know the rotation is around Z. Is it still impossible ?.

I have just seen this in the essential mathematics for computational Design 3rd addition:


1 Like


Transform.DecomposeAffine should help.

– Dale