Go to: Synopsis. Flags. Return value. Related. Python examples.
wrinkle(
wrinkleValue clusterName [objects]
, [axis=[double, double, double]], [branchCount=int], [center=[double, double, double]], [crease=string], [dropoffDistance=double], [envelope=boolean], [geometry=string], [randomness=float], [remove=boolean], [style=radial|tangential], [thickness=float], [uvSpace=[double, double, double, double, double]], [wrinkleCount=int], [wrinkleIntensity=float])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
wrinkle is undoable, queryable, and editable.
The wrinkle command is used to create a network of wrinkles on a surface.
It automatically creates a network of wrinkle curves that control a wire
deformer. The wrinkle curves are attached to a cluster deformer.
axis, branchCount, center, crease, dropoffDistance, envelope, geometry, randomness, remove, style, thickness, uvSpace, wrinkleCount, wrinkleIntensity
Long name (short name) |
[argument types] |
Properties |
style(st)
|
radial|tangential
|
|
|
Specifies the wrinkle style.
|
|
center(ct)
|
[double, double, double]
|
|
|
Specifies the center of the wrinkle.
|
|
axis(ax)
|
[double, double, double]
|
|
|
Specifies the plane of the wrinkle.
|
|
dropoffDistance(dds)
|
double
|
|
|
Specifies the dropoff distance around the center.
|
|
wrinkleCount(wc)
|
int
|
|
|
Specifies the number of wrinkle lines to be generated.
Default is 3.
|
|
branchCount(brc)
|
int
|
|
|
Specifies the number of branches per wrinkle. Default is 2.
END_COMMENEND_FLAG
FLAG branchDepth bd int
CREATE NO_QUERY NO_EDIT NO_MULTI
COMMENT
Specifies the depth of the branching. Default is 0.
|
|
wrinkleIntensity(wi)
|
float
|
|
|
Increasing the intensity makes it more wrinkly. Default is 0.5.
|
|
envelope(en)
|
boolean
|
|
|
The envelope globally attenuates the amount of deformation. Default is 1.0.
|
|
randomness(rnd)
|
float
|
|
|
Amount of randomness. Default is 0.2.
|
|
thickness(th)
|
float
|
|
|
Wrinkle thickness. Default is 1.0.
|
|
uvSpace(uv)
|
[double, double, double, double, double]
|
|
|
1/2 length, 1/2 breadth, rotation angle, center u, v
definition of a patch in uv space where the wrinkle is
to be constructed.
|
|
crease(cr)
|
string
|

|
|
Specifies an existing curve to serve as the wrinkle.
|
|
geometry(g)
|
string
|
|
|
This flag does nothing. This flag will be removed post Maya2.0.
|
|
remove(rm)
|
boolean
|
|
|
This flag does nothing. This flag will be removed post Maya2.0.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
string
cluster, deformer, flexor, lattice, percent, sculpt, wire
import maya.cmds as cmds
# Apply radial wrinkles to a sphere:
mySph = cmds.sphere()
cmds.wrinkle( mySph, st='radial', wc=3, brc=2, bd=0, th=1, rnd=0.2, wi=0.5, uv=(2.0, 4.0, 0.0, 2.0, 4.0) )
# Apply a 5-line tangential wrinkle to a plane:
myPlane = cmds.nurbsPlane( w=50, u=20, v=20 )
cmds.wrinkle( myPlane, st='lines', wc=5, th=1.0, rnd=0.2, wi=0.5, uv=(1.0, 1.0, 0.0, 0.5, 0.5) )