Blender Git Commit Log

Git Commits -> Revision 086cb9d

Revision 086cb9d by Campbell Barton (master)
April 5, 2006, 18:54 (GMT)
Added BPyMesh for mesh python mesh functions.
at the moment it only has meshWeight2Dict and dict2MeshWeight
These allow you to deal with vertex weights as a list of dicts which makes scrips short and easy to understand.
(kh_python, perhaps dict access to the python verts could replace this )

Used the above util functions to update mesh_cleanup.
Copied from the source

'Material Clean', 'Remove unused materials.'
'VGroups'
'Group Clean', 'Remove vertex groups that have no verts using them.'
'Weight Clean', 'Remove zero weighted verts from groups (limit is zero threshold).'
'Weight Normalize', 'Make the sum total of vertex weights accross vgroups 1.0 for each vertex.'

Normalizing lets you see how much % of the vertex a bone owns just by looking at 1 of the bone weights.

Would be nice to have this functionality in Blender but theres not much room for new buttons in teh vgroup and material area :/

Commit Details:

Full Hash: 086cb9d7934c492f2e08b0546ab8e3367fc10235
SVN Revision: 7211
Parent Commit: de44e6c
Lines Changed: +304, -54

1 Added Path:

/release/scripts/bpymodules/BPyMesh.py (+146, -0) (View)

1 Modified Path:

/release/scripts/mesh_cleanup.py (+158, -54) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021