Show frames

Go to: Related nodes. Attributes.

Detaches a curve at the parameter specified in the "parameter" multi attribute. The output is a multi attribute containing the detached curve pieces. The "keep" multi attribute (which should be 1 element larger than the "parameter" attribute) specifies which curve pieces to keep or discard.

For example, if a curve is detached at three places, there are four curve pieces to keep or discard.

Generally, the parameters in the "parameter" multi attribute should be in ascending order, otherwise the curve pieces may overlap.

Detaches a curve at the parameter specified in the "parameter" multi attribute. The output is a multi attribute containing the detached curve pieces. The "keep" multi attribute (which should be 1 element larger than the "parameter" attribute) specifies which curve pieces to keep or discard.

For example, if a curve is detached at three places, there are four curve pieces to keep or discard.

Generally, the parameters in the "parameter" multi attribute should be in ascending order, otherwise the curve pieces may overlap.

Node nameParentsClassificationMFn typeCompatible function sets
detachCurveabstractBaseCreategeometrykDetachCurvekBase
kNamedObject
kDependencyNode
kCreate
kDetachCurve

Related nodes

projectCurve, rebuildCurve, attachCurve, extendCurve, insertKnotCurve, curveShape, nurbsCurve

Attributes (4)

inputCurve, keep, outputCurve, parameter

Long name (short name)TypeDefaultFlags
inputCurve (ic) nurbsCurveNULLoutputinputconnectable
The input curve
keep (k) booltruearrayoutputinputconnectablestorable
Whether or not to keep a detached piece. This multi attribute should be one element larger than the parameter multi attribute.
outputCurve (oc) nurbsCurveNULLarrayoutputconnectable
The output detached curve(s)
parameter (p) double0.0arrayoutputinputconnectablestorablekeyable
Parameter values to detach at