skinning.tools.initialize_weights.commands module¶
-
skinning.tools.initialize_weights.commands.
initialize_weights
(*args, **kwargs)¶ The set initial weights function will set the skin weights on a mesh and the isolate only the provided components of any. Each vertex will only have one influence, the best influence is determined by generating lines for each of the joints and determining the line closest to the vertex. The vertex points can be altered as well using smoothing operations to details or overlapping and the project can be used to project the point along its normal to get it closer to the preferred joints.
Parameters: - geometry (str) –
- joints (list) –
- components (list/None) –
- iterations (int) – Number of smoothing iterations
- projection (float/int) – Value between 0-1
- blend (bool) –
- blend_method (str) –
Raises: - ValueError – When geometry is not a mesh.
- ValueError – When blend method is not supported