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
- Change Intersection Curve Color

Options

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

Change Intersection Curve Color

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

10-31-2018 07:17 PM

Dear All,

I'm trying to find out outline curves with several intersected curves(~100 curves)

My method sequence is below.

1. Make intersection points with all curves

2. Divide each curves with intersection points

3. Select first curve as reference start curve.

4. Make vector (Reference vector) at the end of reference start curve.

5. find out the curves (Distnace 'zero' with the end of reference start curves)

6. Make each vectors at found curves.

7. Compare vector angle

8. select curve which meets angle between reference vector and each vectors

9. Loop...

If intersected curves is low, it is good, but curves is high, NX is down.

So. Could you please share the method or approch way to me?

Thank.

2 REPLIES 2

Re: Change Intersection Curve Color

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

11-01-2018 06:24 AM

If your code works with a small number of curves, then the logic must be basically correct.

Not sure what you mean by "NX is down". Does NX freeze, crash, or what? Is any error message displayed, or is there a useful message in the syslog?

yamada

Re: Change Intersection Curve Color

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

11-01-2018 08:50 AM

You could be encountering a loop in the curves.

I would output to the listing device some sort of status message with curve index.

Production:NX10.0.3.5 MP16/TC11.2

I'd rather be e-steamed than e-diseaseled

Follow Siemens PLM Software

© 2019 Siemens Product Lifecycle Management Software Inc