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
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Specify the source deformed shape
|
|
-destinationShape(-ds)
|
string
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Specify the destination deformed shape
|
|
-sourceDeformer(-sd)
|
string
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Specify the deformer whose weights should be mirrored. When queried, returns the deformers used by the source shapes.
|
|
-destinationDeformer(-dd)
|
string
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Specify the deformer used by the destination shape
|
|
-noMirror(-nm)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
When the no mirror flag is used, the weights are copied instead of mirrored.
|
|
-mirrorInverse(-mi)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Values are mirrored from the positive side to the negative. If this flag is used then the direction is inverted.
|
|
-smooth(-sm)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
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
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
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
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
The surfaceAssociation flag controls how the weights are transferred between the
surfaces: "closestPoint", "rayCast", or "closestComponent". The default is closestComponent.
|
|
-uvSpace(-uv)
|
string string
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
The uvSpace flag indicates that the weight transfer should occur in UV space, based on the
source and destination UV sets specified.
|
|