KMJ DUPLICATE COPYWEIGHT
In MAYA, if you edit the mesh after skinning by adding edges or merging vertices, you will get a history.
And when you try to adjust the weights as they are, I'm like, "Non-linear? Can I eat it? It won't work because the vertex order will change.
This is a script to organize the history while keeping the skin weight in such a case.
FEATURES
● Delete history while retaining weight
● Duplicate while keeping the weight
● Delete non-deformer histories while keeping the weight
● Copy weight to an unbound mesh
● And freeze translate, rotation, scale, and pivot
PRECAUTIONS
● Multiple meshes selection is supported, but hierarchical selection is not done.
● Meshes without skinCluster will be ignored (you can use "Copy to Non-Weight Meshes" to copy the weights separately)
● The "Delete Non-Deformer and Keep Weight" is broken when undoing it.
● Vertexes with different weight values cannot be successfully copy-weighted if they overlap.
UPDATE
2023/10/10 Reverted due to a bug
Changed copy method for duplicate and history delete copy weights.Weight copying of vertices at the same position has been improved.
2022/08/10
- Fixed to work with Maya2022 (Python3).
2022/07/08
- Fixed a bug that sometimes prevented attributes from being unlocked.
2020/05/27
- Fixed that the freeze setting did not work.
- Fixed skin clusters disappearing when applying a deformer such as Lattice to multiple meshes.
MAYA Versions
MAYA2020-2023
You can use this script for both commercial and non-commercial work.
AUTHOR
Author: kmj
Web:https://seesaawiki.jp/realtime3dcg/