Go to: Related nodes. Attributes.

The 'globalStitch' node modifies the positions of the outer rows and columns of control vertices on a set of NURBS surface to achieve a required position or smoothness continuity condition.

The attribute 'inputSurface' specifies a list of NURBS surfaces to be modified.The attribute 'sc' requires corners of matching edges to be stitched. This operation will be performed before any of the other stitching options. The option matchKnots forces the ends of matching curve segments to be positioned exactly at knot values the alternative is to use the closest point will be used instead.The attribute 'se' controls whether edges are stitched with positional continuity. The closest point option causes the edges to be stitched by matching a point on one edge to the closest point on the other edge. The alternative is for points separated by equal parameter intervals on each edge will be stitched together.The attribute 'ssw' controls higher orders of stitching. Options are off, tangent (C1 continuity at common surface edges) and normal (surface normals on each edge are aligned, but the isoparms are not necessarily perpendicular.)The attribute 'spe' specifies that partial surface edges are to be stitched. This means joins whose start or end points are not at surface corners on either edge.The attribute 'maxSeparation' specifies the maximum separaion between two surfaces that will still be stitched.The attribute 'sampling' specifies how densely the edge is sampled. A sampling of 1 means that each span on each surface is sampled at least 'degree' times. Higher values are a multiple of this sampling rate. A value of 1 is guaranteed always to be enough to ensure a solution, but the value can be increased to get a better fit in some cases.The attribute 'modificationResistance' specifies how closely the CVs should match their original positions. A high value constrains the CV to be harder to move from its original position.The attribute 'lock' can be used to ensure specific surfaces do not change at all during the fitting process.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
globalStitch abstractBaseCreate kGlobalStitch kBase
kNamedObject
kDependencyNode
kCreate
kGlobalStitch

Related nodes

ffBlendSrf, stitchSrf

Attributes (15)

connectedEdges, inputSurface, lockSurface, maxSeparation, modificationResistance, outputSurface, sampling, shouldBeLast, stitchCorners, stitchEdges, stitchPartialEdges, stitchSmoothness, topology, unconnectedEdges, updateSampling

Long name (short name) Type Default Flags
inputSurface (is) nurbsSurface NULL arrayoutputinputconnectable
The input surfaces
stitchCorners (sc) enum 1 outputinputconnectablestorablekeyable
Stitch corners of surfaces 0 - off 1 - closest point 2 - closest knot
stitchEdges (se) enum 1 outputinputconnectablestorablekeyable
Stitch edges of surfaces 0 - off 1 - closest point 2 - matching params
stitchSmoothness (ss) enum 0 outputinputconnectablestorablekeyable
Set type of smoothness of edge join 0 - off 1 - tangent 2 - normal
stitchPartialEdges (spe) bool false outputinputconnectablestorablekeyable
Toggle on(off) partial edge stitching
maxSeparation (ms) distance (double) 0.1cm outputinputconnectablestorablekeyable
Maximum separation that will still be stitched
sampling (sam) integer 1 outputinputconnectablestorablekeyable
Sampling when stitching edges
modificationResistance (mr) double 1e-1 outputinputconnectablestorablekeyable
Modification resistance weight for surface CVs
lockSurface (lk) bool false arrayoutputinputconnectablestorable
Keep the NURBS surface at the specified multi index unchanged by the fitting.
shouldBeLast (sbl) bool true outputconnectable
Deformers will let it be last
outputSurface (os) nurbsSurface NULL arrayoutputconnectable
Output surfaces
connectedEdges (ce) nurbsCurve NULL arrayoutputconnectable
Output connected edges
unconnectedEdges (ue) nurbsCurve NULL arrayoutputconnectable
Output unconnected edges
topology (top) globalStitchTopology NULL outputinputstorable
Internal attribute to cache the topology
updateSampling (us) bool false outputinput
Forces sampling to update