I am pretty new to MakeHuman and also new to this community, so I am sorry if this issue has been asked already many times and I didn't find it.
So... I want to generate various .obj-files in MakeHuman with different age, gender, weight, poses and clothes. So e. g. I want a script that generates a female and a male character, generates models with 3 different poses and clothes each and then exports the .obj-files.
Age, gender and weight is already working well, but I don't know how to set existing poses or clothes.
- Code: Select all
MHScript.updateModelingParameter("macrodetails/Gender", float(gender_i) / float(gender_iterations))
if gender_i / gender_iterations < 0.5:
# apply female clothing
pass
else:
# apply male clothing
pass
filename = MHScript.incrementingFilename('model')
MHScript.saveObj( filename,'makehumanmodels/script-generated')
So is it even possible to make something like
- Code: Select all
MHScript.clothes.add('local_file')