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 Set the number of branches spawned from a crease for radial wrinkles. Default is 2. branchDepth / bd int Set the depth of branching for radial wrinkles. Defaults to 0. exists / ex bool Returns true or false depending upon whether the specified object exists. Other flags are ignored. history / ch bool If this is a tool command, turn the construction history on for the tool in question. image1 / i1 unicode First of three possible icons representing the tool associated with the context. image2 / i2 unicode Second of three possible icons representing the tool associated with the context. image3 / i3 unicode Third of three possible icons representing the tool associated with the context. name / n unicode If this is a tool command, name the tool appropriately. randomness / rnd float Set the deviation of the wrinkle creases from straight lines and other elements of the wrinkle structure. Defaults to 0.2. style / st unicode Set the wrinkle characteristic shape.lines|radial|custom. Default is radial. thickness / th float Set the thickness of wrinkle creases by setting the dropoff distance on the underlying wires. wrinkleCount / wc int Set the number of wrinkle creases. Default is 3. wrinkleIntensity / wi float Set the depth intensity of the wrinkle furrows. Defaults to 0.5. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.wrinkleContext
Example:
import pymel.core as pm pm.wrinkleContext( 'wrinkleCtx' )