I have a suggestion regarding the cloth simulation that you will implement.
Since I believe your addon will add a bone for each vertex of the original cloth mesh, maybe there could be a couple settings to control how many bones the addon will generate because clothes are not the same as debris, in the sense that on a cloth every vertex is connected, while debris (explosions, breakage) every piece are separate objects, therefore every broken piece must have necessarily an individual bone for it, while clothes could have a bone not only on every vertex, but also only on every second or third vertex, and still work. It would only appear to be of less resolution the more space (vertices) there is between bones.
So these are the options that I think would be interesting:
-a dropdown menu where you can select the “resolution” of the copied baked mesh, where you determine the spacing (in vertex count) between bones.
–0 = a bone every vertex
–1 = a bone every other vertex
–2 = a bone every third vertex etc.
– maybe up to 5, so each bone every 6th vertex.
If the option above is greater than zero, this means that on the boundaries of the cloth some vertex are gonna be lacking bones, and maybe the user wants the boundaries to have a vertex every bone to guarantee more fidelity on the edge movement. So it would be good to have a:
-option to place bones on every vertex of the outer edge (extreme boundaries) of the cloth,
-option to place bones on every vertex of open spaces boundaries in the middle of the cloth.
(If you press F on edit mode with a mesh with holes in it selected, blender will try to fill in the holes with faces, maybe this code can be used to detect boundaries of holes in the mesh, and place bones on the vertices there).
-option to place bones on every vertex of a specified vertex group, so the user can have more control over which areas of the cloth will have it’s baked movement more detailed. (This could also be used to place bones on every vertex of the edges, but would require the user to create a vertex group containing the edges, so it’s more convenient to have the option separated.)