Different kinds of splines.

Drop in here to discuss whatever you want.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Different kinds of splines.

Post by CVH » Sat Aug 25, 2018 10:05 am

Andrew,

Still version 3.21.1.0 ; Win7 32bit.

In QCAD we can draw splines by fit-points and control-points.
An example of those are in the example included.

On investigation the spline in the post of benjamindahl is a different kind:
https://www.qcad.org/rsforum/viewtopic. ... 859#p21518

Stepping through the points:
-fit-points: steps from fit-point to fit-point. Start- and end-point and fitpoints are knots on the curve.
-control-points: steps from start-point over control-points (not necessarily on the curve) to end-point.
The knot points can be found on the curve as 'intersections'.
-benjamindahl: from the start-point every thirth control is a knot-point.
Knot-points are on the curve and also found as 'intersections'.
Two references in between two knots are vectors and not necessarily on the curve.
It seems this is more like a string of bezier segments.

What is the difference? How are they named?
Can the third kind (knot-vector-vector-knot-....) be constructed with QCAD?

Regards
CVH
Attachments
Text Explode Spline 2 linesegments.dxf
(157.15 KiB) Downloaded 517 times

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Different kinds of splines.

Post by andrew » Mon Aug 27, 2018 11:53 am

CVH wrote:
Sat Aug 25, 2018 10:05 am
What is the difference? How are they named?
The difference is the knot vector which is also part of the spline definition.
CVH wrote:
Sat Aug 25, 2018 10:05 am
Can the third kind (knot-vector-vector-knot-....) be constructed with QCAD?
No.

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Different kinds of splines.

Post by CVH » Mon Aug 27, 2018 12:24 pm

So the third kind is suported if originated from 3d party?

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Different kinds of splines.

Post by andrew » Mon Aug 27, 2018 6:42 pm

Knot vectors are imported as they are stored in DXF but cannot be changed in QCAD.

Post Reply

Return to “Chat”