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 ../../../_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:falseAdvanced flags
maxSeparation (ms) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Maximum separation that will still be stitchedDefault:0.1
modificationResistance (mr) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Modification resistance weight for surface CVsDefault: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 appear in Create mode of commandFlag 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 edgesDefault:1
stitchCorners (sc) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Stitch corners of surfaces 0 - off 1 - closest point 2 - closest knotDefault:1
stitchEdges (se) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Stitch edges of surfaces 0 - off 1 - closest point 2 - matching paramsDefault:1
stitchPartialEdges (spe) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Toggle on(off) partial edge stitchingDefault: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 - normalDefault: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.getMetadata

Next topic

pymel.core.modeling.grid

Core

Core Modules

Other Modules

This Page