News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

Continuous Curves

Started by bigjimslade, January 22, 2010, 03:28:27 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

bigjimslade

I would like to be able to make the end of a spline form a continuous curve with the shape it joins to.

E.g. Be able to draw a spline with n points and have it end at a line with a continuously differentiable curve.

Yes, you can currently change the curve options and modify the end of the slope BUT that causes the rest of the curve to move (i.e no longer goes through the original points0>

Henry Hubich

Quote from: bigjimslade on January 22, 2010, 03:28:27 PM
I would like to be able to make the end of a spline form a continuous curve with the shape it joins to.

E.g. Be able to draw a spline with n points and have it end at a line with a continuously differentiable curve.

Yes, you can currently change the curve options and modify the end of the slope BUT that causes the rest of the curve to move (i.e no longer goes through the original points0>

If you select the Spline with the Edit tool and enable "Edit Fit Points," the second node from each end is shown in green color. I don't know what the correct name is for these points, but they control the slope of the curve at the ends. In the attached screenshot, I've edited the lower Spline (currently selected) to match the slope of the yellow one at their common endpoint -- I think. To do that, I enabled "Show Frame" for both curves, then drew the red line along the last leg of the yellow curve's frame. Then I lengthened that line, selected the lower Spline with the Edit tool, enabled "Edit Fit Points," and snapped the lower Spline's green thingie right onto the red line. Must admit I'm not really certain that the resulting pair of curves form a single continuously differentiable entity.

Henry H

[attachment deleted by admin]

bigjimslade

The problem is that this procedure moves the rest of the curve.


I want to be able to say:
1. Go through these N points; AND
2. Be continuous

Henry Hubich

Quote from: bigjimslade on January 25, 2010, 07:35:51 AM
The problem is that this procedure moves the rest of the curve.


I want to be able to say:
1. Go through these N points; AND
2. Be continuous

Understood. But I think there's a way to avoid moving the rest of the curve: Before editing the curve, open its Properties dialog and increase the Degree by one (i.e., the default is 3; change it to 4). This inserts additional nodes into the curve without changing its shape, and the extra node inserted ahead of the green one I mentioned earlier lets you change the slope of the end segment without affecting the original nodes.

Henry H

[attachment deleted by admin]