jujube wrote:Looking at the code, it seems to be a blender add-on, located in "View3d > properties".
edit: Started testing "weighting" - it is in fact a blender addon. It's not very impressive when only a rig is selected, but when an object is selected, a LOT of stuff appears in the tab.
Testing the export vertex groups function: The default save location caused an error, I had to change it. It looks like it has the data MH needs*, it's just formatted wrong, so currently when I replace default_weights, makehuman doesn't load.
*Or, that's what I thought at first, but actually the original file is much larger.
Success!
You need to export a character with topology of None and the Default skeleton, and then import it into Blender.
Do what you want to the weight painting.
In the toolbar set the filename and tick the As Weight File box, then click the Export vertex groups button
The resulting file has the vertex weights but with some formatting differences. First there are no newlines, it is all just one big line. I added a newline after each vertex,weight pair.
It doesn't have the header information at the top so I replaced the leading [[ with the header information, which uses { instead of [ which I don't know if it matters. I changed the final set of ]s to match with the end of the defaults file.
Each vertex group in the generated file is surrounded by a [ ] pair but they aren't in the default file so I removed those.
The result is a new default weights file that MakeHuman will read during startup - on all previous attempts MakeHuman wouldn't start up.
I noticed that there were some subtle differences here and there, the generated file sometimes had 6 decimal points while the defaults file always had 4, and there were some vertices with near-zero weights that didn't appear in the generated file.
I tested that changes to the weight painting do get reflected in the generated file, but I haven't tested the round trip of exporting a character after changing the default weights to make sure the changes take.
The original file is much larger because it has a ton of indentation white space in it.
I've attached the generated file after I made the outlined changes. Oops, no I haven't the forum won't allow .mhw or .txt file extensions
I think we are now in a position to produce an improved weight painting and install it locally.