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
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
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
Thanks very much for your reply.
Gan
RE: convert curve to edge
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
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