hexagon logo

About Transform rotation, how to rotate based on I J K ?

Hello all,

Since most parts I dealt with were PLANE_A CIRCLE/SLOT_B CIRCLE/SLOT_C, so I always started with Readpoints to my programs. Before programing, I always move the coordinate system to where It should go. But sometime the original zero is way off the position with not only position off but also angles to rotate.

For example, let treat PT1 vectors as surface vectors.
I will calculate those I J K with arcsin to angles, then rotate with X Y or Z with the angles, usually it took couple rounds to have one vector close to -1 or 1.

Any easy way to deal with rotations? Any tips or suggestions are welcomes

Thank you