pymel.core.modeling.subdMapSewMove

subdMapSewMove(*args, **kwargs)

This command can be used to Move and Sew together separate UV pieces along geometric edges. UV pieces that correspond to the same geometric edge, are merged together by moving the smaller piece to the larger one.The argument is a UV selection list.

Flags:
Long name (short name) Argument Types Properties
caching (cch) bool  
   
constructionHistory (ch) bool ../../../_images/create.gif ../../../_images/query.gif
 

Turn the construction history on or off (where applicable).Q: When queried, this flag returns an int.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

limitPieceSize (lps) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
When on, this flag tells that the face number limit described above should be used.
name (n) unicode ../../../_images/create.gif
 
Name the resulting object.
nodeState (nds) int  
   
numberFaces (nf) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

Maximum number of faces in a UV piece. When trying to combine two UV pieces into a single one, the merge operation is rejected if the smaller piece has more faces than the number specified by this flag.This flag is only used when limitPieceSizeis set to on.Common flags

worldSpace (ws) bool  
   

Derived from mel command maya.cmds.subdMapSewMove

Example:

import pymel.core as pm

# Create a subd sphere with default UVs.
import maya.mel as mel
mel.eval( "createSubdSphere" )

# Automatic projections with 6 planes.
pm.subdAutoProjection( 'subdivSphere1.smf[*][*]' )
# Result: [u'subdAutoProj1'] #

# Select the seams
pm.select( 'subdivSphere1.sme[0:1][67108864]', 'subdivSphere1.sme[256][67108867]', 'subdivSphere1.sme[513][67108864]' )

# merge them, with the appropriate move.
pm.subdMapSewMove()
# Result: [nt.SubdMapSewMove(u'subdMapSewMove1')] #

Previous topic

pymel.core.modeling.subdMapCut

Next topic

pymel.core.modeling.subdMatchTopology

Core

Core Modules

Other Modules

This Page