What is a "spline" ?

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
thornuk
Junior Member
Posts: 23
Joined: Sun Aug 27, 2023 8:06 pm
Location: Cotswolds, UK

What is a "spline" ?

Post by thornuk » Fri Jun 21, 2024 9:24 pm

I'm not sure how QCad is using the term "spline".
I'm used to it referring to (eg:) a grooved circumference of a shaft onto which a similarly grooved hole in a cog or gear wheel (to lock the two together for drive purposes.
Thanks
PeterB

QCad version: 3.28.1.0 (3.28.1)
Windows 10
Best regards,
PeterB

QCad version: 3.30.1.0 (Professional)
Architecture: x86_64
Windows 11 Professional (all updates)

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

Re: What is a "spline" ?

Post by andrew » Fri Jun 21, 2024 9:29 pm

In QCAD / CAD / mathematics, a spline is a type of curve:
https://en.wikipedia.org/wiki/Spline_(mathematics)

thornuk
Junior Member
Posts: 23
Joined: Sun Aug 27, 2023 8:06 pm
Location: Cotswolds, UK

Re: What is a "spline" ?

Post by thornuk » Fri Jun 21, 2024 10:26 pm

Thanks, Andrew,
Would that be an equivalent to a Bezier Curve ?
Best regards,
PeterB

QCad version: 3.30.1.0 (Professional)
Architecture: x86_64
Windows 11 Professional (all updates)

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

Re: What is a "spline" ?

Post by CVH » Sat Jun 22, 2024 6:24 am

thornuk wrote:
Fri Jun 21, 2024 10:26 pm
Would that be an equivalent to a Bezier Curve ?
About, not really, I think that the supported types are B-Splines aka Non-uniform rational Basis-spline (NURBS).
In the wiki link by Andrew see 'Representations and names'
Also see: https://www.qcad.org/rsforum/viewtopic. ... 8665#p8665
On the Bézier curve there is another wiki: https://en.wikipedia.org/wiki/B%C3%A9zier_curve
And on NURBS: https://en.wikipedia.org/wiki/Non-unifo ... l_B-spline

A cubic Bézier curve has for example 4 control points, a cubic control point spline has at least 4 control points in QCAD.

One can convert the splines to Bézier segments, see: Misc .. Modify .. Convert Splines to Bézier Segments.
Not native but besides control and fitpoint splines QCAD support something that looks like a chain of Bézier Segments.

Regards,
CVH

thornuk
Junior Member
Posts: 23
Joined: Sun Aug 27, 2023 8:06 pm
Location: Cotswolds, UK

Re: What is a "spline" ?

Post by thornuk » Thu Jul 18, 2024 10:27 pm

Many thanks CVM.
Best regards,
PeterB

QCad version: 3.30.1.0 (Professional)
Architecture: x86_64
Windows 11 Professional (all updates)

Post Reply

Return to “Chat”