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




Parents
  • You can also check your transformations while you are doing them by measuring features with the transform window open. I'll measure a point on a plane and check its vector to make sure I've done all the rotations needed.


    {"alt":"Click image for larger version Name:\timage.png Views:\t9 Size:\t132.9 KB ID:\t538718","data-align":"none","data-attachmentid":"538718","data-size":"full","title":"image.png"}


    Something I find even easier is to have the Probe Readouts window open with the CAD coordinates displayed. The CAD coordinates and vector at the mouse pointer position will be displayed in real time. So, as you do transforms you can swipe the mouse over a surface to see its position and to check the vector to see if it is level.

    This can also be a way to check if a surface is planar. If the vector values do not change as you sweep the cursor over a surface then you know it is flat, even if the surface is at a funky angle.

    Note: The Probe Readouts window precision is based on the DISPLAYPRECISON setting at the current cursor position in the Edit window. So, when I use this to check CAD transforms, I like to set this value high so I can be really sure that I have rotated a surface to be square to an axis. Below you can see that a surface is squared up to within 6 decimal places.

Reply
  • You can also check your transformations while you are doing them by measuring features with the transform window open. I'll measure a point on a plane and check its vector to make sure I've done all the rotations needed.


    {"alt":"Click image for larger version Name:\timage.png Views:\t9 Size:\t132.9 KB ID:\t538718","data-align":"none","data-attachmentid":"538718","data-size":"full","title":"image.png"}


    Something I find even easier is to have the Probe Readouts window open with the CAD coordinates displayed. The CAD coordinates and vector at the mouse pointer position will be displayed in real time. So, as you do transforms you can swipe the mouse over a surface to see its position and to check the vector to see if it is level.

    This can also be a way to check if a surface is planar. If the vector values do not change as you sweep the cursor over a surface then you know it is flat, even if the surface is at a funky angle.

    Note: The Probe Readouts window precision is based on the DISPLAYPRECISON setting at the current cursor position in the Edit window. So, when I use this to check CAD transforms, I like to set this value high so I can be really sure that I have rotated a surface to be square to an axis. Below you can see that a surface is squared up to within 6 decimal places.

Children
No Data