Page 1 of 3

MakeHuman 1.0 alpha6 source code

PostPosted: Tue Apr 19, 2011 5:41 pm
by prof1990
how can i get MakeHuman 1.0 alpha6 source code ?
when i searched at sourcefoge i could found alpa 2 and the nighty version only what about alpa 6 ?
and when i get the source code in which IDE can i build and run i had try on eclipse but i don't know what can i do to run correctly please helllllllp

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Tue Apr 19, 2011 6:00 pm
by joepal
http://code.google.com/p/makehuman/source/checkout

MH migrated to google code some way back.

However, since MH is written in python you don't need to download the source code separately. You already have it if you've installed MH. Simply open the .py files with any text editor.

I doubt any IDE was used for the python parts.

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Tue Apr 19, 2011 8:18 pm
by prof1990
thank you for reply but i am a developer and i want to reuse the code in my project how can i do that ?
when i clicked http://code.google.com/p/makehuman/source/checkout i cannot find the place that i can download the source can u help me ?

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Wed Apr 20, 2011 1:02 am
by mflerackers
There is no zip file to download with the source, you need to use svn as stated on the checkout page.

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Wed Apr 20, 2011 9:00 am
by joepal

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Wed Apr 20, 2011 2:04 pm
by prof1990
i got the source code in my machine and i started to import it in eclipse but the modules cannot see each other
" import mh
ImportError: No module named mh"

and

Traceback (most recent call last):
File "C:\Users\Eman\workspace\MHnew\main.py", line 78, in <module>
import gui3d, events3d, font3d
File "./core\gui3d.py", line 29, in <module>
import files3d
File "./core\files3d.py", line 56, in <module>
import module3d
File "./core\module3d.py", line 46, in <module>
import mh
ImportError: No module named mh

appeared to me

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Wed Apr 20, 2011 2:09 pm
by mflerackers
The entry point is main.py, it knows where to find the rest of the modules, so you need to set it as main script.

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Wed Apr 20, 2011 2:24 pm
by prof1990
yes this error appeared to me when i run the main.py but i cannot set it as main script i am a beginner in python and eclipse

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Wed Apr 20, 2011 2:27 pm
by mflerackers
If you run the makehuman exe, the mh module gets exported by the application, otherwise you have to make sure mh.pyd is built and in the same folder as main.py.

Re: MakeHuman 1.0 alpha6 source code

PostPosted: Wed Apr 20, 2011 2:36 pm
by prof1990
where can i find mh.pyd?