pymel.core.modeling.polyContourProjection

polyContourProjection(*args, **kwargs)

Performs a contour stretch UV projection onto an object.

Flags:

Long Name / Short Name Argument Types Properties
caching / cch bool ../../../_images/create.gif ../../../_images/edit.gif
  Toggle caching for all attributes so that no recomputation is needed.
constructionHistory / ch bool ../../../_images/create.gif ../../../_images/query.gif
  Turn the construction history on or off (where applicable). If construction history is on then the corresponding node will be inserted into the history chain for the mesh. If construction history is off then the operation will be performed directly on the object. Note:If the object already has construction history then this flag is ignored and the node will always be inserted into the history chain.
createNewMap / cm bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  This flag when set true will create a new map with the name passed in, if the map does not already exist.
flipRails / fr bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  If true, flip which curves are the rails of the birail surface.
frozen / fzn bool  
   
insertBeforeDeformers / ibd bool ../../../_images/create.gif
  This flag specifies if the projection node should be inserted before or after deformer nodes already applied to the shape. Inserting the projection after the deformer leads to texture swimming during animation and is most often undesirable. C: Default is on.
method / m int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets which projection method to use. Valid values are 0: Walk Contours 1: NURBS Projection
name / n unicode ../../../_images/create.gif
  Give a name to the resulting node.
nodeState / nds int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Defines how to evaluate the node. 0: Normal1: PassThrough2: Blocking3: Internally disabled. Will return to Normal state when enabled4: Internally disabled. Will return to PassThrough state when enabled5: Internally disabled. Will return to Blocking state when enabledFlag can have multiple arguments, passed either as a tuple or a list.
offset0 / o0 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the offset on edge 0 of the NURBS surface.
offset1 / o1 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the offset on edge 1 of the NURBS surface.
offset2 / o2 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the offset on edge 2 of the NURBS surface.
offset3 / o3 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the offset on edge 3 of the NURBS surface.
reduceShear / rs float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the ‘reduce shear’ parameter of the projection.
smoothness0 / s0 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the smoothness of edge 0 of the NURBS surface.
smoothness1 / s1 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the smoothness of edge 1 of the NURBS surface.
smoothness2 / s2 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the smoothness of edge 2 of the NURBS surface.
smoothness3 / s3 float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Sets the smoothness of edge 3 of the NURBS surface.
userDefinedCorners / udc bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  If true, the four vertices specified by user will be taken as corners to do the projection.
uvSetName / uvs unicode  
   
worldSpace / ws bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  This flag specifies which reference to use. If on : all geometrical values are taken in world reference. If off : all geometrical values are taken in object reference. C: Default is off. Q: When queried, this flag returns an int. Common flags

Derived from mel command maya.cmds.polyContourProjection