copyDeformerWeights is undoable, queryable, and editable.
Command to copy or mirror the deformer weights accross one of the
three major axes. The command can be used to mirror weights either
from one surface to another or within the same surface.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-sourceShape(-ss) |
string |
   |
|
Specify the source deformed shape |
|
-destinationShape(-ds) |
string |
   |
|
Specify the destination deformed shape |
|
-sourceDeformer(-sd) |
string |
   |
|
Specify the deformer whose weights should be mirrored. When
queried, returns the deformers used by the source shapes. |
|
-destinationDeformer(-dd) |
string |
   |
|
Specify the deformer used by the destination shape |
|
-noMirror(-nm) |
|
   |
|
When the no mirror flag is used, the weights are copied instead
of mirrored. |
|
-mirrorInverse(-mi) |
|
   |
|
Values are mirrored from the positive side to the negative. If
this flag is used then the direction is inverted. |
|
-smooth(-sm) |
|
   |
|
When the smooth flag is used, the weights are smoothly
interpolated between the closest vertices, instead of assigned from
the single closest. |
|
-mirrorMode(-mm) |
string |
   |
|
The mirrorMode flag defines the plane of mirroring (XY, YZ, or
XZ) when the mirror flag is used. The default plane is XY. |
|
-surfaceAssociation(-sa) |
string |
   |
|
The surfaceAssociation flag controls how the weights are
transferred between the surfaces: "closestPoint", "rayCast", or
"closestComponent". The default is closestComponent. |
|
-uvSpace(-uv) |
string string |
   |
|
The uvSpace flag indicates that the weight transfer should
occur in UV space, based on the source and destination UV sets
specified. |
|