Go to: Synopsis. Return value. Related. Flags. Python examples.

Synopsis

wrinkle( objects , [axis=[linear, linear, linear]], [branchCount=uint], [branchDepth=uint], [center=[linear, linear, linear]], [crease=string], [dropoffDistance=linear], [envelope=linear], [randomness=linear], [style=string], [thickness=linear], [uvSpace=[linear, linear, linear, linear, linear]], [wrinkleCount=uint], [wrinkleIntensity=linear])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

wrinkle is undoable, NOT queryable, and NOT 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.

Return value

string

Related

cluster, deformer, flexor, lattice, percent, sculpt, wire

Flags

axis, branchCount, branchDepth, center, crease, dropoffDistance, envelope, randomness, style, thickness, uvSpace, wrinkleCount, wrinkleIntensity
Long name (short name) Argument types Properties
style(st) string create
Specifies the wrinkle style. Valid values are "radial" or "tangential"
center(ct) [linear, linear, linear] create
Specifies the center of the wrinkle.
axis(ax) [linear, linear, linear] create
Specifies the plane of the wrinkle.
dropoffDistance(dds) linear create
Specifies the dropoff distance around the center.
wrinkleCount(wc) uint create
Specifies the number of wrinkle lines to be generated. Default is 3.
branchCount(brc) uint create
Specifies the number of branches per wrinkle. Default is 2.
branchDepth(bd) uint create
Specifies the depth of the branching. Default is 0.
wrinkleIntensity(wi) linear create
Increasing the intensity makes it more wrinkly. Default is 0.5.
envelope(en) linear create
The envelope globally attenuates the amount of deformation. Default is 1.0.
randomness(rnd) linear create
Amount of randomness. Default is 0.2.
thickness(th) linear create
Wrinkle thickness. Default is 1.0.
uvSpace(uv) [linear, linear, linear, linear, linear] create
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 createmultiuse
Specifies an existing curve to serve as the wrinkle.

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.

Python examples

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) )