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
rebuildCurveabstractBaseCreategeometrykRebuildCurvekBase
kNamedObject
kDependencyNode
kCreate
kRebuildCurve

## Attributes (14)

Long name (short name)TypeDefaultFlags
`inputCurve` (`ic`) nurbsCurveNULL
 The curve to rebuild.
`matchCurve` (`mc`) nurbsCurveNULL
 If rebuildType is matchKnots then use this curve's parameterization.
`fitRebuild` (`fr`) booltrue
 If true use the least squares fit rebuild. Otherwise use the convert method.
`rebuildType` (`rt`) enum0
 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`) integer4
 The number of spans in resulting curve Used only if rebuildType is uniform.
`degree` (`d`) enum3
 The degree of the resulting curve 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
`tolerance` (`tol`) distance (double)0.01cm
 The tolerance with which to rebuild.
`endKnots` (`end`) enum0
 End conditions for the curve 0 - uniform end knots, 1 - multiple end knots,
`keepRange` (`kr`) enum1
 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`) booltrue
 If true, keep the endpoints the same.
`keepTangents` (`kt`) booltrue
 If true, keep the end tangents the same.
`outputCurve` (`oc`) nurbsCurveNULL
 The rebuilt curve.
`keepControlPoints` (`kcp`) boolfalse
 If true, the CVs will remain the same. This forces uniform parameterization unless rebuildType is matchKnots.
`smartSurfaceCurveRebuild` (`scr`) boolfalse
 If true, curve on surface is rebuild in 3D and 2D info is kept