pymel.core.context.wrinkleContext

wrinkleContext(*args, **kwargs)

This command creates a context that creates wrinkles.

Flags:
Long name (short name) Argument Types Properties
branchCount (brc) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the number of branches spawned from a crease for radial wrinkles. Default is 2.
branchDepth (bd) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the depth of branching for radial wrinkles. Defaults to 0.
exists (ex) bool ../../../_images/create.gif
 
Returns true or false depending upon whether the specified object exists. Other flags are ignored.
history (ch) bool ../../../_images/create.gif
 
If this is a tool command, turn the construction history on for the tool in question.
image1 (i1) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
   
image2 (i2) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
   
image3 (i3) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Contexts support up to three icons that represent the tool associated with the context.
name (n) unicode ../../../_images/create.gif
 
If this is a tool command, name the tool appropriately.
randomness (rnd) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the deviation of the wirnkle creases from straight lines and other elements of the wrinkle structure. Defaults to 0.2.
style (st) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the wrinkle characteristic shape.”lines”|”radial”|”custom. Default is “radial”.
thickness (th) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

Set the thickness of wirnkle creases by setting the dropoff distance on the underlying wires.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

wrinkleCount (wc) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the number of wrinkle creases. Default is 3.
wrinkleIntensity (wi) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Set the depth intensity of the wrinkle furrows. Defaults to 0.5.

Derived from mel command maya.cmds.wrinkleContext

Example:

import pymel.core as pm

import maya.cmds as cmds

pm.wrinkleContext( 'wrinkleCtx' )

Previous topic

pymel.core.context.wireContext

Next topic

pymel.core.datatypes

Core

Core Modules

Other Modules

This Page