Go to: Related nodes. Attributes.

Compute the attached curve given two input curves. The end point of the first curve is attached to the start point of the second curve. After the attach is done, multiple knots exist at the point where the curves were joined. The multiple knots can be kept (keepMultipleKnots set to true) or they can be removed. If removed, the shape of the attach result may change.

In the blend case, the multiple knot at the connection will not exist, so the "keepMultipleKnots" option is ignored. The blend value will skew the resulting curve toward one or the other input curve - the value of 0.5 gives them equal influence. The parameter value is used only when blendKnotInsertion is set to true.

Node nameParentsClassificationMFn typeCompatible function sets
attachCurveabstractBaseCreatedeformerkAttachCurvekBase
kNamedObject
kDependencyNode
kCreate
kAttachCurve

Related nodes

projectCurve, rebuildCurve, detachCurve, extendCurve, insertKnotCurve, curveShape, nurbsCurve

Attributes (11)

blendBias, blendKnotInsertion, inputCurve1, inputCurve2, inputCurves, keepMultipleKnots, method, outputCurve, parameter, reverse1, reverse2

Long name (short name)TypeDefaultFlags
blendBias (bb) double0.5outputinputconnectablestorablekeyable
Skew the result toward the first or the second curve depending on the blend factory being smaller or larger than 0.5.
inputCurve1 (ic1) nurbsCurvenullptroutputinputconnectable
The first input curve if there are two input curves in total.
inputCurve2 (ic2) nurbsCurvenullptroutputinputconnectable
The second input curve if there are two input curves in total.
inputCurves (ics) nurbsCurvenullptrarrayoutputinputconnectable
All input curves if there are more than two input curves in total.
blendKnotInsertion (bki) boolboolfalseoutputinputconnectablestorablekeyable
If set to true, insert a knot in one of the original curves (relative position given by the parameter attribute below) in order to produce a slightly different effect.
keepMultipleKnots (kmk) boolbooltrueoutputinputconnectablestorablekeyable
If true, keep multiple knots at the join parameter. Otherwise remove them.
method (m) enum0outputinputconnectablestorablekeyable
Attach method (connect-0, blend-1)
outputCurve (oc) nurbsCurvenullptroutputconnectable
Output attached curve.
parameter (p) double0.1outputinputconnectablestorablekeyable
The parameter value for the positioning of the newly inserted knot.
reverse1 (rv1) boolboolfalseoutputinputconnectablestorablekeyable
If true, reverse the first input curve before doing attach. Otherwise, do nothing to the first input curve before attaching. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
reverse2 (rv2) boolboolfalseoutputinputconnectablestorablekeyable
If true, reverse the second input curve before doing attach. Otherwise, do nothing to the second input curve before attaching. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.