Go to: Related nodes. Attributes.

The 'stitchSrf' node modifies the positions of the first (second ) row (column) of control vertices on a NURBS surface such that the required G0 ( position continuity ), G1 continuity are achieved. The surface control vertices are modified to match one or more curve and point constraints.

The attribute 'inSurface' specifies the NURBS surface to be modified.

The attribute 'inputReferenceCOS[i]' specifies the i-th boundary curve in the 2D parameter space of the input surface.

The attribute 'inputMatchCurve[i]' specifies the 3D curve that is to be matched by the surface.

The attribute 'pc[i]' could be used to specify whether G0 continuity is desired on the surface along the edge that is modified to match the 3D curve at 'inputMatchCurve[i]'.

The attribute 'tc[i]' could be used to specify whether G1 continuity is desired on the surface along the edge that is modified to match the 3D curve at 'inputMatchCurve[i]'.

The attribute 'fixboundary' keeps the boundary row(column) of control points fixed while solving for tangent continuity.

The attribute 'tt[i]' is used to specify as to whether 'tolerance[i]' or 'sc[i]' is to be used for discretization done internally while matching 'inputMatchCurve[i]'.

The attribute 'sc[i]' specifies the exact number of discretizations to be carried out while matching 'inputMatchCurve[i]'.

The attribute 'tolerance[i]' specifies the step size as a fraction of the length of the curve at 'inputMatchCurve[i]'.

The attributes 'pu[i]', 'pv[i]', 'p[i]', 'n[i]' specify the point constraints. The point constraint specifies the uv location on the surface and the desired 3d space position and normal at that point.

The attribute 'tpp' can be used to turn on and off the solving for the position at point constraints.

The attribute 'tpn' can be used to turn on and off the solving for the normals at point constraints.

The attributes 'cvIthIndex[i]', 'cvJthIndex[i]', 'cvPosition[i]' can be used to explicitly set the position of control vertices on the surface being output.

The attribute 'bias' is a blend factor to blend the control vertices between the input surface and the surface computed internally before the surface is output. A value of 0.0 implies the input surface is returned as output.

CAUTION : No additional knots are inserted in to the NURBS surface. At times all the constraints cannot be met because the surface does not have the required number of control vertices.

Node nameParentsClassificationMFn typeCompatible function sets
stitchSrfabstractBaseCreategeometrykStitchSrfkBase
kNamedObject
kDependencyNode
kCreate
kStitchSrf

Related nodes

ffBlendSrf, globalStitch

Attributes (31)

bias, cvIthIndex, cvJthIndex, cvPosition, cvpositionX, cvpositionY, cvpositionZ, fixBoundary, inputCurve, inputMatchCurve, inputReferenceCOS, inputSurface, normal, normalX, normalY, normalZ, outputSurface, parameterU, parameterV, position, positionX, positionY, positionZ, positionalContinuity, shouldBeLast, stepCount, tangentialContinuity, togglePointNormals, togglePointPosition, toggleTolerance, tolerance

Long name (short name)TypeDefaultFlags
inputSurface (is) nurbsSurfaceNULLoutputinputconnectable
The input surface
inputCurve (ic) nurbsCurveNULLarrayoutputinputconnectable
The input boundary curve. Not recommended to be used.
inputMatchCurve (imc) nurbsCurveNULLarrayoutputinputconnectable
The space curve to matched.
inputReferenceCOS (ir) nurbsCurveNULLarrayoutputinputconnectable
The reference curve on surface around which the surface is modified.
positionalContinuity (pc) booltruearrayoutputinputconnectablestorablekeyable
Toggle on(off) G0 continuous at edge corresponding to multi index.
tangentialContinuity (tc) boolfalsearrayoutputinputconnectablestorablekeyable
Toggle on(off) G1 continuity across edge corresponding to multi index.
toggleTolerance (tt) boolfalsearrayoutputinputconnectablestorable
Toggle on(off) so as to use Tolerance or specified steps for discretization.
tolerance (tol) distance (double)0.1cmarrayoutputinputconnectablestorable
Tolerance to use while discretizing the edge
stepCount (sc) integer20arrayoutputinputconnectablestorablekeyable
Step count for the number of discretizations.
parameterU (u) double-10000arrayoutputinputconnectablestorable
The U parameter value on surface for a point constraint.
parameterV (v) double-10000arrayoutputinputconnectablestorable
The V parameter value on surface for a point constraint
position (p) double30.0, 0.0, 0.0arrayoutputinputconnectable
Desired 3D position at the corresponding (u,v) multi index.
positionX (px) distance (double)0.0cmoutputconnectable
Desired position in X at the corresponding (u,v) multi index.
positionY (py) distance (double)0.0cmoutputconnectable
Desired position in Y at the corresponding (u,v) multi index.
positionZ (pz) distance (double)0.0cmoutputconnectable
Desired position in Z at the corresponding (u,v) multi index.
normal (n) double30.0, 0.0, 0.0arrayoutputinputconnectable
Desired normal at the corresponding (u,v) index on the surface
normalX (nx) distance (double)0.0cmoutputconnectable
Desired normal in X at the corresponding (u,v) index on the surface
normalY (ny) distance (double)0.0cmoutputconnectable
Desired normal in Y at the corresponding (u,v) index on the surface
normalZ (nz) distance (double)0.0cmoutputconnectable
Desired normal in Z at the corresponding (u,v) index on the surface
togglePointNormals (tpn) boolfalseoutputinputconnectablestorable
Toggle on(off) normal point constraints on the surface.
togglePointPosition (tpp) booltrueoutputinputconnectablestorable
Toggle on(off) position point constraints on the surface.
cvIthIndex (ci) integer-1arrayoutputinputconnectablestorable
The ith boundary cv index on the input surface
cvJthIndex (cj) integer-1arrayoutputinputconnectablestorable
The jth boundary cv index on the input surface
cvPosition (cv) double30.0, 0.0, 0.0arrayoutputinputconnectable
Desired CV position at the cv (i,j) index. Overrides that computed during stitch.
cvpositionX (cvx) distance (double)-1cmoutputconnectable
Desired CV position in X at the cv (i,j) index. Overrides that computed during stitch.
cvpositionY (cvy) distance (double)-1cmoutputconnectable
Desired CV position in Y at the cv (i,j) index. Overrides that computed during stitch.
cvpositionZ (cvz) distance (double)-1cmoutputconnectable
Desired CV position in Z at the cv (i,j) index. Overrides that computed during stitch.
bias (b) double1.0outputinputconnectablestorablekeyable
Blend Cvs in between input surface and result from stitch. A value of 0.0 returns the input surface
fixBoundary (fb) boolfalseoutputinputconnectablestorablekeyable
Fix Boundary Cvs while Solving for any G1 constraints.
shouldBeLast (sbl) booltrueoutputconnectable
Deformers will let it be last
outputSurface (os) nurbsSurfaceNULLoutputconnectable
Output surface