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
- Ask G0 Constraints of Studio Spline NXOpen C#

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
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-05-2016 02:33 AM

1 REPLY

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

09-13-2016 03:18 AM

Hi Ildon,

I'm not sure if I understood your question in the right way:

Since you are talking about G0 constraints, you will need at least

2 curves (Splines, Edges, whatever). In other words you want to

check if two (let's say) 'objects' meet at a common point p.

You can solve this problem in different ways:

1) You can check the Euclidian distance of start- and endpoints of your two splines, in most of the

cases they meet at start- or endpoints: ||p1-p2|| = sqrt(...)

2) You can implement a Newton-Method in C# which determines the minimal distance between to

Spline curves in general.

3) You can use NXOpen UF_MODL_ask_minimum_dist (this is basically the Newton method but not only

restricted to curves but faces, etc.)

4) You can use the CurveContinuityBuilder to check G0 continuity.

If I misunderstood your question and you are interested in the constraints the user defined while

creating the spline (e.g. the user says 'this spline has to be G0 at that specific point') you can have

a look at NXOpen:ositioning::Constraint, perhaps this helps you further.

Bye,

Flo

Follow Siemens PLM Software

© 2018 Siemens Product Lifecycle Management Software Inc