turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Siemens PLM Community
- NX Customization and Programming
- NX Programming & Customization Forum
- Extreme points/Convex Hull of a CAEFace

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

4 weeks ago

Hello.

With the help of this forum, I managed to obtain the list of nodes of the face of the FEM elements included in a CAEFace (see this post: https://community.plm.automation.siemens.com/t5/NX

The next step is to draw a polygon on top of that face. I have the code working using UDOs to do this, but the call to UserDefinedObjectDisplayContext::drawPolygon(std::

Therefore, now I need the list of nodes of a CAEFace in an ordered manner.

Is there a way, in NXOpen, to:

- obtain the extreme nodes included in the CAEFace? or
- method to calculate the Convex Hull of a set of NXPoint3d?

If not, I will need to write myself an algorithm to calculate the convex hull of the set of points. I came across an older post here, but it was suggested to use the convex hull algorithm included in scipy, but I work in C++, so I don't want to use Python.

Thank you!

Follow Siemens PLM Software

© 2017 Siemens Product Lifecycle Management Software Inc