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
- G2 by constraining poles?

- Start Article
- 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

01-06-2018 01:08 PM

During creating splines in sketch, G2 continuity can be set up. But once the creation process is finished, any further editing operation would destroy some constraints of the spline, often leading to failure of the whole model.

Therefore I'm thinking about avoiding set continuity constraints during spline creation, but applying certain constraints on the poles to achive desired continuity later.

If a spline is to be G2 contiuous with a straight line, I can simply constrain two poles on the line as shown below.

If a spline is to be G2 contiuous with another spline, I'm lost. Is there any trick to get it done?

Thanks!

Solved! Go to Solution.

- Tags:
- constraint
- G2
- pole

Labels:

6 REPLIES 6

Re: G2 by constraining poles?

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

01-08-2018 04:06 AM

I would not recommend that working method.

Much better to work with splines outside of the sketcher. Use the Studio Spline constraint functions.

Steve V

Re: G2 by constraining poles?

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

01-08-2018 04:45 AM

Yes, splines outside of the sketcher are very robust choice. But I must say that, the temptation of the flexibility, of constraining poles to control the spline shape in sketcher, is really difficult to resist.

Thanks!

Re: G2 by constraining poles?

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

01-09-2018 04:29 AM - edited 01-09-2018 04:32 AM

Hi,

One thing that might help is this:

The spline can create a G2 constraint, but there is an additional part in the dialog to this that constraints the spline even further. You can set the tangent magnitude and lock it. This constraints two DOF's (degree of freedom) on the first pole completely and one DOF on the second pole.

See movie below.

This might not solve your problem, but maybe this tip gives you new ideas on how to constrain the splines in sketcher.

The other value overwrites the radius size that was inferred from the arc with a fixed value. You probably do not want to toggle that on.

Regards, **bleep**

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

01-09-2018 05:43 AM - edited 01-09-2018 05:44 AM

There is a fairly simple formula for the curvature of a Bezier curve at an end-point. For example, see formula (2.13) in http://cagd.cs.byu.edu/~557/text/ch2.pdf.

Geometrically, this formula is a statement about certain lengths and distances, so conceivably you could use it to concoct suitable constraints on the curve poles.

However, this doesn't seem like a very good approach, to me.

yamada

Re: G2 by constraining poles?

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

01-09-2018 09:11 AM - edited 01-09-2018 09:22 AM

Hi @DickBaardse Thanks a lot for your tips and information!

Hi @Yamada

The formula (2.13) for calculating the curvature at a point on a spline is exactly what I'm looking for.

As you said, it is not a very good approach. However, when you have a big model and need to add a G2 constraint to a spline in sketch, to constrain the poles seems to be the only choice. In my experience, to click open and edit an exising spline would destroy some consraints and lead to disaster for the whole model.

Following the reference you cited, the curvature radius at a spline point can be calculated as shown below. Very good!

As @StevenVickers said in a previous thread, "NX in general will create a non-rational spline, that is the weight of each control point (pole) is the same." So I set w0/w1/w2 all to be 1.

Re: G2 by constraining poles?

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

01-10-2018 06:52 AM

NX will almost always create polynomial splines, so setting all the weights equal to 1 is the right thing to do. Glad it worked.

yamada

Follow Siemens PLM Software

© 2019 Siemens Product Lifecycle Management Software Inc