pymel.core.modeling.globalStitch¶
- globalStitch(*args, **kwargs)¶
This command computes a globalStitch of NURBS surfaces. There should be at least one NURBS surface. The NURBS surface(s) should be untrimmed.
Flags:
Long Name / Short Name Argument Types Properties caching / cch bool Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only. constructionHistory / ch bool frozen / fzn bool lockSurface / lk bool Keep the NURBS surface at the specified multi index unchanged by the fitting. Default:false maxSeparation / ms float Maximum separation that will still be stitched. Default:0.1 modificationResistance / mr float Modification resistance weight for surface CVs. Default:1e-1 name / n unicode nodeState / nds int Modifies the node state. See the node documentation for more information. Note:For advanced users only. Flag can have multiple arguments, passed either as a tuple or a list. object / o bool replaceOriginal / rpo bool sampling / sam int Sampling when stitching edges. Default:1 stitchCorners / sc int Stitch corners of surfaces. 0 - off 1 - closest point 2 - closest knot Default:1 stitchEdges / se int Stitch edges of surfaces. 0 - off 1 - closest point 2 - matching params Default:1 stitchPartialEdges / spe bool Toggle on (off) partial edge stitching. Default:false stitchSmoothness / ss int Set type of smoothness of edge join. 0 - off 1 - tangent 2 - normal Default:0 Advanced flags Derived from mel command maya.cmds.globalStitch
Example:
import pymel.core as pm # GlobalStitch across three surfaces surface1, surface2, surface3. pm.globalStitch( 'surface1', 'surface2', 'surface3', ch=True )