Go to: Related nodes. Attributes.

This node computes a NURBS curve that will fit through a list of given points. The list of points is defined as the the control points of the input curve (attribute "inputCurve").

You can control the number of spans in the resulting curve by changing the tolerance.

If you just have a list of points to fit to, an easy way to use this node is to produce a linear (degree 1) NURBS curve that contains the points. Then this node can be connected to produce a fitted NURBS curve.

If you need more control of the number of resulting spans, consider using the rebuildCurve node.

Node nameParentsMFn typeCompatible function sets
fitBsplineabstractBaseCreatekFitBsplinekBase
kNamedObject
kDependencyNode
kCreate
kFitBspline

Related nodes

curveIntersect

Attributes (3)

inputCurve, outputCurve, tolerance

Long name (short name)TypeDefaultFlags
inputCurve (ic) nurbsCurveNULLoutputinputconnectable
The input curve (whose CVs are fitted to)
tolerance (tol) distance (double)0.1cmoutputinputconnectablestorable
Tolerance for the fit. The resulting curve will be kept within tolerance of the given points.
outputCurve (oc) nurbsCurveNULLoutputconnectable
Output curve