by ThomasL » Sun Oct 23, 2011 1:05 pm
Hi joepal,
Not sure what happened. You need to remove the old vertex group and assign new ones. This is tedious to do manually, so I created buttons for that. There might also be problems with the output directory. By default the directory was something on my machine, which does not necessarily exist elsewhere. It has been changed to the user's home directory, which should exist with writing permission everywhere. The script now applies transformations, removes parent and silences modifiers itself, so you should not need to do that by hand anymore.
Here is the minimal new workflow:
1. Import human + diversuit with mhx.
2. Edit diversuit
3. Remove and auto create vertex groups for human.
4. Remove and auto create vertex groups for clothing.
5. Set output directory.
6. With human and clothing selected (in any order), press Make clothes.
7. Select clothing and Export Obj file.
There are of course additional steps if you want to project UVs or are not happy with the default three groups.
Hi brkurt,
I think there must be a misunderstanding. All meshes are parented to the rig when imported. You need to unparent them to remove the influence of any parent transformation. Analogously, the script is confused if there are any object level transformation, which is why they must be applied first. E.g., a mesh imported from an obj file with Z up has a 90 degree object rotation, which from the scripts viewpoint means that the mesh lies on its back, even if it does not look so in the viewport. Anyway, since object transformations are now applied automatically this should no longer be a problem.