News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Transitions

Started by bigjimslade, October 29, 2013, 07:29:57 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

bigjimslade

Is there some way to easily create smooth transitions from curves?

Let me give three use cases from simple to hard:

1. In 2D a straight line segment connects to a spline.

2. In 3D a straight line segment connects to a 3D spline

3. In 3D a 2D spline connects to a 3D spline.

Given one of these combinations is there any way to automatically join the two segments?

bigjimslade

Let me add an example.

Here, a 3D spline connects to straight line that connects to 3D spline that connects to 2D spline.

Is there an easy way to ensure all the connections are smooth/continuous/differentiable.

murray dickinson

#2
It can be done manually, the spline is edited 'fit point' by snapping the endpoint slope handle to a projection of the line.  It'll change the shape of the spline; how much depends on how far along the projection the handle is drawn.  In 3D, use a scaled-up in-place copy of the line as the construction line.    I can't think of any way that  2D and 3D splines can be connected with continuity in TC as standalone curves.  I could imagine it being possible if they're the edges of solids that can be face-to-face lofted, but they couldn't have coincident end points, there'd have to be a gap between them.

Dean

Quote from: bigjimslade on October 29, 2013, 07:29:57 PM
Is there some way to easily create smooth transitions from curves?

Let me give three use cases from simple to hard:

1. In 2D a straight line segment connects to a spline.

2. In 3D a straight line segment connects to a 3D spline

3. In 3D a 2D spline connects to a 3D spline.

Given one of these combinations is there any way to automatically join the two segments?

speaking of transitions... I'm not sure if this is what you need Jim but I used my method (again) of morphing in Anilab a 3d spline to the 3d polyline.
First I 3d" join polyline" all of your objects > Tcad created a 3d polyline then I created a 3d spline.
here is the video     http://www.youtube.com/watch?v=_11P-ac5gOU
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

bigjimslade

The problem (to my knowledge) is that in order to do spline to line merge, you have to draw an extension to the line and move the handle to the line.

Then for a spline to spline merge you don't have that.

In any event, this seems like something so common that there would be a way to do this automagically.

Thanks,

Dean

Quote from: bigjimslade on November 01, 2013, 03:34:43 PM
The problem (to my knowledge) is that in order to do spline to line merge, you have to draw an extension to the line and move the handle to the line.

Then for a spline to spline merge you don't have that.

In any event, this seems like something so common that there would be a way to do this automagically.

Thanks,
When the number of the control points of the 3d spline are equal to the # of control points of the 3d polyline the “morphing” smooth’s the transition where the original 2Dline and 3d spline were joined (by using the “3D join polyline tool”) You can explore varying results by adjusting the maximum degree property of the spline yet maintaining the same number of control points of the 3d polyline. The result is an 3d editable spline derived from the 2d line and spline.
(see attachment)
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

murray dickinson

#6
You might as well trace a new spline over the existing two.  You aren't defining how far into the existing curves you want the continuity matching to extend, you can't have continuity without some local shape change. It's essentially the same thing as filleting two lines; the arc segment trims the lines back from the intersection to attain tangential continuity into both.

bigjimslade

The problem with tracing over both curves is that it creates a bowing affect. I have a line on the plans that merges into a curve. If I do both with a spline, I don't have a line and the error is readily apparent.