Are you sure this works ? The DFTransformation.RotationMatrix is a 3x3 matrix, so I don't understand what happens here. From the Rhino Common API i suppose you use this constructor : https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.transform/rotation#(vector3d,vector3d,point3d) but rotation[1], rotation[2] and rotation[3] are not doubles or int, they should be lines of the matrix and rotation[3] should be out of range, so as I read it, it will not work as intended, but I am probably wrong.
_Originally posted by @DamienGilliard in https://github.com/diffCheckOrg/diffCheck/pull/18#discussion_r1615326772_