Examples#
These pages walk through basis polynomials, curve derivatives, circular
arcs, curvature continuity, surface construction, and point projection
onto both curves and surfaces, showing the inputs alongside the printed
results and plots they produce. Their complete scripts live in
demos/documentation/
and use the NumPy interface (import nurbspy as nrb); the wider
demos/
directory also has scripts using the nurbspy.jax interface and a
blade parametrization example.
- Basis polynomials
- Bézier, B-spline, and NURBS curves
- Bézier, B-spline, and NURBS surfaces
- An exact circular arc
- Bilinear surface
- Ruled surface
- Extruded surface: a full cylinder
- Surface of revolution: a torus
- Coons patch
- Curvature continuity
- Point projection onto a curve
- Point projection onto a surface