Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
skeletonEmbed [-mergedMesh] [-segmentationMethod uint] [-segmentationResolution uint]
skeletonEmbed is undoable, queryable, and NOT editable.
This command is used to embed a skeleton inside meshes.None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-mergedMesh(-mm)
|
|
|||
|
||||
-segmentationMethod(-sm)
|
uint
|
|||
|
||||
-segmentationResolution(-sr)
|
uint
|
|||
|
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. |
// First select the shape, not the transform. select -r characterShape ; // Embed skeleton using default parameter. skeletonEmbed ; // Result: { [...] (A JSON dictionary with the description of the embedding. } // For debugging: get the merged mesh that will be used skeletonEmbed -q -mergedMesh ; // Result: { [...] (A JSON dictionary with the description of the merged mesh. } // Embed skeleton using polygon soup and 512 resolution. skeletonEmbed -segmentationMethod 3 -segmentationResolution 512 ; // Result: { [...] (A JSON dictionary with the description of the embedding. }