Go to: Related nodes. Attributes.

Rebuild a curve so that its parameterization and/or control points are modified. This may change the shape of the curve. There are five methods with which to rebuild the curve (rebuildType).

uniform- the resulting curve will have uniform parameterization with the specified number of spans (spans) and degree (degree).

reduceSpans- remove redundant knots if possible.

matchKnots- rebuild the input curve so that it matches the parametrization of another curve.

noMults- remove multiple interior knots.

curvature- rebuild the input curve adding more knots where the curvature is highest.

ends - Rebuild the input curve to have multiple or nonmultiple end knots.

Use keepRange and keepEndpoints to control the end conditions of the rebuilt curve.

Node nameParentsClassificationMFn typeCompatible function sets

Related nodes

projectCurve, detachCurve, attachCurve, extendCurve, insertKnotCurve, curveShape, nurbsCurve

Attributes (14)

degree, endKnots, fitRebuild, inputCurve, keepControlPoints, keepEndPoints, keepRange, keepTangents, matchCurve, outputCurve, rebuildType, smartSurfaceCurveRebuild, spans, tolerance

Long name (short name)TypeDefaultFlags
inputCurve (ic) nurbsCurveNULLoutputinputconnectable
The curve to rebuild.
matchCurve (mc) nurbsCurveNULLoutputinputconnectable
If rebuildType is matchKnots then use this curve's parameterization.
fitRebuild (fr) booltrueoutputinputconnectablestorable
If true use the least squares fit rebuild. Otherwise use the convert method.
rebuildType (rt) enum0outputinputconnectablestorablekeyable
How to rebuild the input curve. 0 - uniform, 1 - reduce spans, 2 - match knots, 3 - remove multiple knots, 4 - curvature 5 - rebuild ends 6 - clean
spans (s) integer4outputinputconnectablestorablekeyable
The number of spans in resulting curve Used only if rebuildType is uniform.
degree (d) enum3outputinputconnectablestorablekeyable
The degree of the resulting curve 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
tolerance (tol) distance (double)0.01cmoutputinputconnectablestorablekeyable
The tolerance with which to rebuild.
endKnots (end) enum0outputinputconnectablestorablekeyable
End conditions for the curve 0 - uniform end knots, 1 - multiple end knots,
keepRange (kr) enum1outputinputconnectablestorablekeyable
Determine the parameterization for the resulting curve. 0 - reparameterize the resulting curve from 0 to 1, 1 - keep the original curve parameterization, 2 - reparameterize the result from 0 to number of spans
keepEndPoints (kep) booltrueoutputinputconnectablestorablekeyable
If true, keep the endpoints the same.
keepTangents (kt) booltrueoutputinputconnectablestorablekeyable
If true, keep the end tangents the same.
outputCurve (oc) nurbsCurveNULLoutputconnectable
The rebuilt curve.
keepControlPoints (kcp) boolfalseoutputinputconnectablestorablekeyable
If true, the CVs will remain the same. This forces uniform parameterization unless rebuildType is matchKnots.
smartSurfaceCurveRebuild (scr) boolfalseoutputinputconnectablestorable
If true, curve on surface is rebuild in 3D and 2D info is kept