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 name Parents MFn type Compatible function sets
stitchSrf abstractBaseCreate kStitchSrf kBase
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) Type Default Flags
inputSurface (is) nurbsSurface NULL outputinputconnectable
The input surface
inputCurve (ic) nurbsCurve NULL arrayoutputinputconnectable
The input boundary curve. Not recommended to be used.
inputMatchCurve (imc) nurbsCurve NULL arrayoutputinputconnectable
The space curve to matched.
inputReferenceCOS (ir) nurbsCurve NULL arrayoutputinputconnectable
The reference curve on surface around which the surface is modified.
positionalContinuity (pc) bool true arrayoutputinputconnectablestorablekeyable
Toggle on(off) G0 continuous at edge corresponding to multi index.
tangentialContinuity (tc) bool false arrayoutputinputconnectablestorablekeyable
Toggle on(off) G1 continuity across edge corresponding to multi index.
toggleTolerance (tt) bool false arrayoutputinputconnectablestorable
Toggle on(off) so as to use Tolerance or specified steps for discretization.
tolerance (tol) distance (double) 0.1cm arrayoutputinputconnectablestorable
Tolerance to use while discretizing the edge
stepCount (sc) integer 20 arrayoutputinputconnectablestorablekeyable
Step count for the number of discretizations.
parameterU (u) double -10000 arrayoutputinputconnectablestorable
The U parameter value on surface for a point constraint.
parameterV (v) double -10000 arrayoutputinputconnectablestorable
The V parameter value on surface for a point constraint
position (p) double3 0.0, 0.0, 0.0 arrayoutputinputconnectable
Desired 3D position at the corresponding (u,v) multi index.
positionX (px) distance (double) 0.0cm outputconnectable
Desired position in X at the corresponding (u,v) multi index.
positionY (py) distance (double) 0.0cm outputconnectable
Desired position in Y at the corresponding (u,v) multi index.
positionZ (pz) distance (double) 0.0cm outputconnectable
Desired position in Z at the corresponding (u,v) multi index.
normal (n) double3 0.0, 0.0, 0.0 arrayoutputinputconnectable
Desired normal at the corresponding (u,v) index on the surface
normalX (nx) distance (double) 0.0cm outputconnectable
Desired normal in X at the corresponding (u,v) index on the surface
normalY (ny) distance (double) 0.0cm outputconnectable
Desired normal in Y at the corresponding (u,v) index on the surface
normalZ (nz) distance (double) 0.0cm outputconnectable
Desired normal in Z at the corresponding (u,v) index on the surface
togglePointNormals (tpn) bool false outputinputconnectablestorable
Toggle on(off) normal point constraints on the surface.
togglePointPosition (tpp) bool true outputinputconnectablestorable
Toggle on(off) position point constraints on the surface.
cvIthIndex (ci) integer -1 arrayoutputinputconnectablestorable
The ith boundary cv index on the input surface
cvJthIndex (cj) integer -1 arrayoutputinputconnectablestorable
The jth boundary cv index on the input surface
cvPosition (cv) double3 0.0, 0.0, 0.0 arrayoutputinputconnectable
Desired CV position at the cv (i,j) index. Overrides that computed during stitch.
cvpositionX (cvx) distance (double) -1cm outputconnectable
Desired CV position in X at the cv (i,j) index. Overrides that computed during stitch.
cvpositionY (cvy) distance (double) -1cm outputconnectable
Desired CV position in Y at the cv (i,j) index. Overrides that computed during stitch.
cvpositionZ (cvz) distance (double) -1cm outputconnectable
Desired CV position in Z at the cv (i,j) index. Overrides that computed during stitch.
bias (b) double 1.0 outputinputconnectablestorablekeyable
Blend Cvs in between input surface and result from stitch. A value of 0.0 returns the input surface
fixBoundary (fb) bool false outputinputconnectablestorablekeyable
Fix Boundary Cvs while Solving for any G1 constraints.
shouldBeLast (sbl) bool true outputconnectable
Deformers will let it be last
outputSurface (os) nurbsSurface NULL outputconnectable
Output surface