pymel.core.modeling.globalStitch

static modeling.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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only.
constructionHistory (ch) bool  
   
lockSurface (lk) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Keep the NURBS surface at the specified multi index unchanged by the fitting. Default:false Advanced flags
maxSeparation (ms) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Maximum separation that will still be stitched Default:0.1
modificationResistance (mr) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Modification resistance weight for surface CVs Default:1e-1
name (n) unicode  
   
nodeState (nds) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Sampling when stitching edges Default:1
stitchCorners (sc) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Stitch corners of surfaces 0 - off 1 - closest point 2 - closest knot Default:1
stitchEdges (se) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Stitch edges of surfaces 0 - off 1 - closest point 2 - matching params Default:1
stitchPartialEdges (spe) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Toggle on(off) partial edge stitching Default:false
stitchSmoothness (ss) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set type of smoothness of edge join 0 - off 1 - tangent 2 - normal Default:0

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 )

Previous topic

pymel.core.modeling.freeFormFillet

Next topic

pymel.core.modeling.grid

Core

Core Modules

Other Modules

This Page