×
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

convert curve to edge

convert curve to edge

convert curve to edge

(OP)
Hi All

Please could anyone tell me how to convert a NXOpen::Curve object to a NXOpen::Edge object using NX API?
The reason I am asking is that I want to build two polygons using the curves and do the polygon intersection/union in 2D. I guess the steps will be: curve->edge->face->NX::Feature::Unite()/Intersect(). This is the way how I did through OpenCascade. But I cannot figure out how to do it in NX.
Am I thinking in the right way? Can anyone help please?!

Many thanks!
Gan

RE: convert curve to edge

Not sure what, or for that matter, why you want an 'edge'. To say nothing of the fact that there can be NO edge without a body. What is that you think an 'edge' will give you that a 'curve' will not.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.

RE: convert curve to edge

(OP)
sorry, I might be in the wrong thinking. I think I need to create few curves(edges) in order to build a closed polygon(Body or Face in Nx) and then can use the Boolean operations provided from NX. Because I only found the function NX::Feature::Unite()/Intersect() which does the polygon Boolean operation. Am I right?

Thanks very much for your reply.

Gan

RE: convert curve to edge

NX's boolean features only work on solid bodies. You cannot take 2 closed curve polygons and "unite" them into 1 closed curve region.

As a workaround, you should be able to take each closed curve polygon and extrude them a small distance then unite the resulting solids. From here, you can extract the resulting face/edges that you need.

Or, you may be able to make clever use of the selection functions such as chaining, stop at intersection, and path selection. It may be possible to extract the "united" region from that.

www.nxjournaling.com

RE: convert curve to edge

(OP)
Thanks for the reply! Sorry for my late response.
So NX cannot do 2D polygon union at all? Oh.... that's a bad news for me...
Yes, the selection function can certainly do that, but it is too troublesome.
I will try to do the extrude and do the unite then.
Many thanks for your reply.

Gan

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