spline — Spline / NURBS interpolationInterpolation
Interpolate a smooth B-spline / NURBS curve through or along control points.
spline [degree <d>] { (x,y,z[,w]) … }Equivalents: Siemens BSPLINE/CSPLINE/ASPLINE · Fanuc G06.2
| Parameter | Type | Default | |
|---|---|---|---|
degree | count | 3 | spline degree |
points | mm[,w] | — | control / fit points (optional rational weight w) |
One unified spline path that the whole motion stack understands (the same `Segment::Spline` the G-code/Siemens importers and the path compressor emit). A rational weight `w` makes it a true NURBS (exact conics). The look-ahead governor feeds it smoothly without chording.
units mm
defaults { feed 800 }
spline degree 3 {
(0,0,0)
(10,10,0)
(20,-10,0)
(30,0,0)
}