Python Forum

Full Version: Manual Splines?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm looking to manually create a 1D curve using splines.

I've tried using SciPy's implementation of spline interpolation, but it's not what I want. Basically, for each knot, I'd like to manually constrain the first derivative at that point while also specifying it's "strength". I've seen several other apps implement something similar. For instance, CarbideCreate for CNC allows me to make curve like so:
[Image: Wqjgryf.png]

Does anyone know how to make such curves in Python? Thanks!
Any ideas?
Most graphical libraries draw Bézier curves. Have you tried those curves?
Have you looked at any Python CAD/CAM packages?
(Nov-04-2022, 07:35 PM)Gribouillis Wrote: [ -> ]Most graphical libraries draw Bézier curves. Have you tried those curves?

Ah, I think that's what I'm looking for. Thanks!