The Save Weights window
includes options for saving and loading Muscle weights. The following
settings and options are found in the Save Weights window:
- Node
-
Specifies the node to
load or save weights for.
Save settings
- Filename
-
Specifies the file to
be used when saving weights. This is a simple ASCII text file for
easy custom manipulation outside of Maya.
- Weights
-
Lets you select the type
of weight to save.
- Save Weights
-
Saves weights for all
points of the deformed Muscle object specified in the Node field.
Load settings
- Filename
-
Specifies the file to
be used when loading weights. Click the button
to browse and select a file containing saved weights.
- Weights
-
Sets the type of weight
to load. You can save from one type and load onto another if the weight
types are compatible.
- Normalize
-
Turns on/off automatically,
but you can override the value to determine whether loaded weights are
normalized to 1.0 for each point. This setting has no effect on
simple per-point weights.
- Load By
-
Specifies if loading
occurs by point order/index or by point position. Point position
loads are slower but allow for mirroring of weights, as well as
reloading onto topology that may have changed.
- Point Position Match Tolerance
-
A value of 0 or higher
sets the distance at which point position loading must match the
distance from the original surface. A value of -1 means disable/ignore
tolerance.
TipRight-click the Tolerance field
to select a preset Tolerance value.
- Prune weights to
-
When checked, weights
that are loaded are pruned to the specified number of decimal places.
The default is 3, so a weight of 0.12345 becomes 0.123.
TipRight-click the Prune
decimal places field to select a preset number of decimal
places.
- Mirror Pos.
-
This is used during point
position loading to mirror the loaded points. This is typically
used in conjunction with the Search/Replace fields.
- Search/Replace
-
Used with the Mirror
Position option. After a matching point is found, this
does a Search/Replace on each original influence so that loaded
weights can be applied onto a mirrored side. For example, if a Search/Replace is
set to _L and _R and a point is found to be weighted to a muscle
named MuscleBicep_L, when the weight is loaded it is instead applied
to MuscleBicep_R.
- Select Influences from File
-
When a weight file is
saved, it also contains information on what original bones/muscles/capsules
were used. Clicking this button re-selects the original influences
based on the data in the file. This option works in conjunction with Search/Replace,
so it can be used not only for reselecting all influences, but for
selecting mirrored influences.
- Load Weights
-
Loads the weights from
the file onto the mesh that is deformed from the specified Muscle deformer
node. This works for selected points. If no points are selected,
all points on the object are automatically selected and loaded.
When loading weights for mirroring it is important to only select
the points on the side of the object you want to load so that the
original side remains intact.