turn on suggestions

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

Showing results for

- Navigation
- NX Design
- Forums
- Blogs
- Knowledge Bases
- Groups

- Siemens PLM Community
- NX Design
- NX Design Forum
- spline with two poles coincident

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

04-12-2018 02:24 AM - edited 04-12-2018 02:43 AM

As in the example below, I create a spline with 6 poles and constrain both pole no.5 and pole no.6 to the sketch origin. Then I'm unable to constrain the spline to be tangent to sketch axis Y. And the curvature at the end seems to be odd.

Could the spline be foreced tangent to sketch axis Y -- if I simply constrain pole no.4 to be on sketch Y axis?

The spline is created and rebuilt from a 3D spline (tangent to XZ plane) by projecting all its poles.

Thanks! @Yamada

Solved! Go to Solution.

Labels:

11 REPLIES

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

04-12-2018 06:02 AM

what is the purpose of this one ?

The tangent of the spline end is = the vector between last spline pole and the next to last spline pole.

If the distance between these two is zero, the tangent is undefined and obviously the curvature goes ...

Regards,

Tomas

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

04-12-2018 06:15 AM

Hi @1u7obd Thanks for your reply!

I try to develop an alternative to Combined Projection. The basic approach is to first create two splines in perpendicular sketches, e.g. two 6-pole splines, then use the two planar sets of poles (6×2) to produce a non-planar set of 6 poles, and finally create a 3D spline with the new set of 6 poles. Then it's possible for me to control the 3D spline with 2 sketches.

I'm not sure whether the attempt is reasonable not. I do want to control 3D splines as easily as control 2D splines in sketcher. Your comments would be appreciated. Thanks!

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

04-12-2018 07:55 AM

Maybe what you are looking for exists,

under the combine curve projection, toggle the advanced curve fit, then set the method to keep parameterization,

the resulting curve should have the same parameterization as your input curves.

In this case , single segment , degree 5.

Regards,

Tomas

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

04-12-2018 08:30 AM

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

04-14-2018 10:48 PM - edited 04-15-2018 08:47 PM

Generally, if you make the first two (or the last two) poles of a spline coincident, you can expect some trouble. As another post mentioned, this will mean that the first derivative vector has zero length at the end-point, and there are quite a few cases where the obvious algorithm won't be able to deal with this situation. For example, the simple formulae for getting unit tangents and curvature both have the length of the derivative vector in the denominator of a fraction, so there's going to be trouble. It's not that the unit tangent or the curvature is undefined, it's just that the typical formulae for calculating them don't work, so the code has to do something rather more complicated. From your picture, it looks like the NX code for computing curvature combs isn't working properly, and that's not too surprising. I expect it could be fixed, but this is a pretty rare corner case, and there might be some performance implications, so developer effort is probably better spent elsewhere.

So, while there's nothing wrong with having coincident end poles in principle, they are likely to cause trouble, in practice, and you should probably avoid this.

Coincident poles in the middle of a curve will usually work OK.

There are some restrictions regarding construction of surfaces from splines that have coincident poles.

yamada

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

04-15-2018 02:11 AM

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

04-16-2018 09:30 AM

I would only say that the curvature comb his perfectly fine.

The analyse comb in radius mode will give you an infinity result if you make it G2 from a straight line or vector (but actually you can't make a spline G2 from a vector/direction) and this will append in any software.

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

04-17-2018 07:07 AM

@FBergeron. You might be right. If the first three poles are collinear and **distinct**, then certainly the end curvature is zero (i.e. radius of curvature is infinite). But if the first two poles are coincident, I'm not yet convinced that the end curvature is zero. I'd have to do some math to make sure.

But, anyway, even if curvature analysis is working correctly, I'm sure there are other functions that will have trouble, so I still think that it's risky to have coincident poles at the end of a spline.

yamada

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

04-17-2018 09:10 AM - edited 04-17-2018 09:23 AM

I did a little math, and it turns out that having end poles coincident does not necessarily cause the curvature to be zero at the end-point.

For example, take the single segment degree 4 curve with poles (0,0), (0,0), (1/6,0), (1/2,0), (1,1).

If you figure out the curve equation, it turns out to be just x(t) = t^{2}, y(t) = t^{4}. So, the curve is just y = x^{2}, which is a parabola, of course. Its curvature at (0,0) is 2, radius of curvature is 0.5.

The curvature combs come out correct on this curve, so it looks like the curvature analysis function ** can **deal with zero-length derivatives. But, I expect other things will go wrong.

Incidentally, I found it quite difficult to create this curve. NX tries to stop you making the first two poles coincident, and you have to do some work to defeat its efforts. I suppose these kinds of curves are not handled properly everywhere, so NX tries to discourage you from creating them.

yamada

Follow Siemens PLM Software

© 2018 Siemens Product Lifecycle Management Software Inc