reusing makehuman functionalities

MakeHuman python API, python plugins, etc

Moderator: joepal

reusing makehuman functionalities

Postby hossam_zaky » Sun Apr 24, 2011 1:45 pm

hi ..
i'm new in python and makehuman but i'm wondering if there is a library i can import into my own program (python for example) to use the makehuman functionalities like building and resizing parts of a model.
thnx :)
hossam_zaky
 
Posts: 3
Joined: Fri Apr 22, 2011 5:40 pm

Re: reusing makehuman functionalities

Postby mflerackers » Sun Apr 24, 2011 2:06 pm

Remember that all code/data of makehuman is licensed according to the GPL 3 or later, so your program should also be GPL 3 or later if you which to distribute it.
It is possible to import pieces of makehuman in another python program, but it is not without some work, as it is not meant to be used this way, everything is quite integrated.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: reusing makehuman functionalities

Postby hossam_zaky » Sun Apr 24, 2011 2:26 pm

well it's just a college project and i'm not intending to distribute it ... it is not a commercial product
and about importing pieces of makehuman if it is doable can you please give me some guidelines about how can i do so, thanks for the reply
hossam_zaky
 
Posts: 3
Joined: Fri Apr 22, 2011 5:40 pm

Re: reusing makehuman functionalities

Postby mflerackers » Sun Apr 24, 2011 2:35 pm

You will need to implement all the methods in the mh module (main.c) which exports a C python module which takes care of the rendering structures and methods. The other way, extending makehuman with functionality is easier as for that we have plugins, but importing makehuman requires quite some effort.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: reusing makehuman functionalities

Postby hossam_zaky » Tue Apr 26, 2011 10:29 pm

is there specific .py files i can see that enables me to understand the algorithm used in resizing and controlling the human model ? ...
thnx alot ....
hossam_zaky
 
Posts: 3
Joined: Fri Apr 22, 2011 5:40 pm

Re: reusing makehuman functionalities

Postby mflerackers » Wed Apr 27, 2011 12:05 am

Look in algo3d and human.py.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto


Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest