Go to: Related nodes. Attributes.

The avgCurves node computes as output the weighted average of two input NURBS curves. The computed curve is also rebuilt to match the knot sequence of the input curve which has a fewer number of knots or lesser degree.

The user may choose to normalize the weights by setting the attribute 'nw' to true. Weights may be automatically assigned to the input curves by setting the attribute 'aw' to true. If 'aw' is true, then the value set at the attribute 'nw' is ignored.

Can be used to do add or subtract two NURBS curves.

Node nameParentsClassificationMFn typeCompatible function sets

Related nodes

snapshot, dagPose, reverseCurve, offsetSurface, stitchAsNurbsShell

Attributes (7)

automaticWeight, inputCurve1, inputCurve2, normalizeWeights, outputCurve, weight1, weight2

Long name (short name)TypeDefaultFlags
inputCurve1 (ic1) nurbsCurveNULLoutputinputconnectable
The input curve One
inputCurve2 (ic2) nurbsCurveNULLoutputinputconnectable
The input curve Two
weight1 (w1) double0.5outputinputconnectablestorablekeyable
weight for Curve 1. The position and normal on inputCurve1 are weighted by 'w1'.
weight2 (w2) double0.5outputinputconnectablestorablekeyable
weight for Curve 2. The position and normal on inputCurve2 are weighted by 'w2'.
automaticWeight (aw) booltrueoutputinputconnectablestorablekeyable
automate weight assigment based on the input curves span, degree, knots.
normalizeWeights (nw) booltrueoutputinputconnectablestorable
normalize the two weights. Has no Affect if aInAutomateWt is set to true.
outputCurve (oc) nurbsCurveNULLoutputconnectable
Output averaged or weighted curve of the two input curves.