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

Synopsis

jointCluster [-aboveBound float] [-aboveCluster] [-aboveDropoffType string] [-aboveValue float] [-belowBound float] [-belowCluster] [-belowDropoffType string] [-belowValue float] [-deformerTools] [-joint string] [-name string] string

jointCluster is undoable, queryable, and editable.

The joint cluster command adds high-level controls to manage the cluster percentage values on a bound skin around a joint. JointClusters are one way to create smooth bending behaviour on skin when joints rotate.

.                a <---- aboveBound
.    ____________a_________
.                a         \
.     Joint1     a       Joint2
.   _____________a_______    \
.                a       \    \     b  <--- belowBound
.                a        \    \  b
.                          \    b
.                           \ b  \
.                           b\    \
.                         b   \ Joint3

CVs/vertices between Joint1 and aaaaa (aboveBound) receive only translation/rotation/scale from Joint1. CVs vertices between aaaa and bbbb transition between translation/rotatation/scale from Joint1 and Joint2. CV2 beyand bbbbb (below bound) receive only translation/ rotation scale from Joint3.

Return value

string Name of the new jointCluster node

In query mode, return type is based on queried flag.

Related

connectJoint, ikHandle, ikHandleDisplayScale, ikSolver, ikSystem, ikSystemInfo, insertJoint, joint, jointDisplayScale, jointLattice, mirrorJoint, removeJoint, removeJoint

Flags

aboveBound, aboveCluster, aboveDropoffType, aboveValue, belowBound, belowCluster, belowDropoffType, belowValue, deformerTools, joint, name
Long name (short name) Argument types Properties
-aboveBound(-ab) float createqueryedit
Specifies the where the drop-off begins in the direction of the bone above the joint. A value of 100 indicates the entire length of the bone. The default value is 10.
-belowBound(-bb) float createqueryedit
Specifies where the drop-off ends in the direction of the bone below the joint. A value of 100 indicates the entire length of the bone. The default value is 10.
-aboveValue(-av) float createqueryedit
Specifies the drop-off percentage of the joint cluster in the direction of the bone above the cluster. A value of 100 indicates the entire length of the bone. The default value is 50.
-belowValue(-bv) float createqueryedit
Specifies the drop-off percentage of the joint cluster in the direction of the joint below the cluster. A value of 100 indicates the entire length of the bone. The default value is 50.
-joint(-j) string create
Specifies the joint that the cluster should act about.
-aboveDropoffType(-adt) string createqueryedit
Specifies the type of percentage drop-off in the direction of the bone above this joint. Valid values are "linear", "exponential", "sine" and "none". Default is linear.
-belowDropoffType(-bdt) string createqueryedit
Specifies the type of type of percentage drop-off in the direction of the bone below this joint. Valid values are "linear", "exponential", "sine" and "none". Default is linear.
-aboveCluster(-ac) query
Returns the name of the cluster associated with the bone above this joint.
-belowCluster(-bc) query
Returns the name of the cluster associated with this joint.
-deformerTools(-dt) query
Used to query for the helper nodes associated with the jointCluster.
-name(-n) string create
This flag is obsolete.

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.

MEL examples

// To add a joint cluster to a rigidly bound skin.
// Note the skin should be at bind pose when the cluster is added.
//
jointCluster -ab 20 -bb 20 -j joint2;