×
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

NXOpen - Reposition component till collision

NXOpen - Reposition component till collision

NXOpen - Reposition component till collision

(OP)
Hi All,

I am writing a NXOpen application to reposition a component until it makes touch interference with another component.
In interactive NX there is an option called "Stop Before Collision" under "Collision Detection" in reposition component dialog.
Kindly suggest me a way to ahieve this in NXOpen.

Regards,
basenxuser

RE: NXOpen - Reposition component till collision

That "Stop Before Collision" does not get recorded into a journal...
This approach should simulate the same:
1. Set the direction into which you want to move your component
2. Get the 1st component encountered on the way from your origin into your direction
3. Get the minimum distance between your component and the one found
4. Move your component into your direction by the minimum distance

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