×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Need help implementing a 3D Rotation Matrix using NXOpen

Need help implementing a 3D Rotation Matrix using NXOpen

Need help implementing a 3D Rotation Matrix using NXOpen

(OP)
Hey Everyone,

I have been trying to programmatically rotate a model 360 degrees a long the Z axis. I don't want any rotation a long the X or Y axis though. The thing is I need to do it in increments, small increments until the rotation is complete. From what I understand in order to rotate the model you have to use a rotation matrix system to do it. I am not entirely familiar with a 3D rotation matrix. Is there anybody who understand how to implement the correct code through a rotation matrix using NXOpen and VB.NET? Specifically to do a full 360 rotation a long the Z axis? Any help is appreciated. Thank you.

RE: Need help implementing a 3D Rotation Matrix using NXOpen

Hi,

You can use the below format to find a rotation along an axis check image.



So, example if you want to rotate along Z axis 30 degrees the below will be your rotation matrix.

Dim rotation1 As NXOpen.Matrix3x3 = Nothing
rotation1.Xx = 0.86602540378443882
rotation1.Xy = -0.49999999999999967
rotation1.Xz = 0.0
rotation1.Yx = 0.49999999999999967
rotation1.Yy = 0.86602540378443882
rotation1.Yz = 0.0
rotation1.Zx = 0.0
rotation1.Zy = 0.0
rotation1.Zz = 1.0

Let me know if you need more information

Regards,
Mukundh

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources