Go to:
Return value. Related commands. Flags. Examples.
Synopsis
flexor [flags] [objects]
This command creates a flexor. A flexor a deformer plus a set of
driving attributes. For example, a flexor might be a sculpt object
that is driven by a joint's x rotation and a cube's y position.
Return value
array of [string]'s (the names of the new flexor nodes)
Related commands
cluster, lattice, sculpt, deformer, wire, wrinkle, percentFlags
atBones, atJoints, deformerCommand, list, noScale, toSkeleton, type
Long name (short name) | [argument types] | Properties |
---|
-type
(-typ)
| type |  |
|
Specifies which type of flexor. (To see list of valid types,
use the "flexor -q -l" command.)
|
|
-deformerCommand
(-dc)
| command string |  |
|
String representing underlying deformer command string.
|
|
-atJoints
(-aj)
|
|  |
|
Add a flexor at joints. Flexor will be added at each of the
selected joints, or at all joints in the selected skeleton if
the -ts flag is specified.
|
|
-atBones
(-ab)
|
|  |
|
Add a flexor at bones. Flexor will be added at each of the
selected bones, or at all bones in the selected skeleton if
the -ts flag is also specified.
|
|
-toSkeleton
(-ts)
|
|  |
|
Specifies that flexors will be added to the entire skeleton
rather than just to the selected joints/bones.
This flag is used in conjunction with the -ab and -aj flags.
|
|
-list
(-l)
|
|  |
|
List all possible types of flexors. Query mode only.
|
|
-noScale
(-ns)
|
|  |
|
Do not auto-scale the flexor to the size of the nearby geometry.
|
|
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 be used more than once in a command
|
Examples
// Create a sculpt object with a max displacement of 4.0 at
// all selected joints:
flexor -typ sculpt -dc "sculpt -md 4.0";
// Create a lattice flexor at all joints on the skeleton:
flexor -type jointLattice -aj -ts;
// Create a lattice flexor of dimensions 4 6 4 at all joints on the skeleton:
flexor -type jointLattice -dc "lattice -dv 4 6 4" -aj -ts;