News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

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.

Degree 3 Polynomial Curve Spline in TurboCAD

Started by Alvin Gregorio, December 22, 2021, 03:02:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Alvin Gregorio

What is a more mathematically and geometrically correct Degree 3 Polynomial Curve Spline in TurboCAD?
The result if it is not Closed (snapped the ending point to the starting point, and selected Finish)?; or when we select Close just before and instead of snapping the end point to the start point?

For my experimenting, I am inserting a Spline By Fit Points, Snapping to Grid [(X,Y)]:  (0,0), (10,0), (10,10), (0,10) [then, for the not-Close option, back to (0,0).
Show Frame active.
Though the Frame-- i.e., the Control Points-- stays the same when I select it and toggle between Close and Break, the resultant Spline changes dramatically.  Which is more mathemtatically/gemetrically correct?

Can you elaborate a bit on the answer.

Thanks, Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#1
I think I know the answer.

I think "Close" gives us 4 control points (in my example) and not-Closed gives us 5.
So, as a piecewise polynomial curve, it "solves" for that extra control point included.

Would that be correct (in layman's terms)?
I guess that doesn't answer my principal question though-- Which is more correct?  I guess they both are, based on the number of control points.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

Open and closed are both correct, but when a spline is closed in TC, it has continuity through the end points, as if you could loft through a start profile as end profile.  You get the same shaped spline if you start at any other point of the same series and close it there, not if the curve's left open.