MakeHuman 1.0 alpha6 source code

MakeHuman python API, python plugins, etc

Moderator: joepal

MakeHuman 1.0 alpha6 source code

Postby prof1990 » Tue Apr 19, 2011 5:41 pm

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
prof1990
 
Posts: 12
Joined: Sun Apr 03, 2011 2:04 pm

Re: MakeHuman 1.0 alpha6 source code

Postby joepal » Tue Apr 19, 2011 6:00 pm

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.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: MakeHuman 1.0 alpha6 source code

Postby prof1990 » Tue Apr 19, 2011 8:18 pm

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 ?
prof1990
 
Posts: 12
Joined: Sun Apr 03, 2011 2:04 pm

Re: MakeHuman 1.0 alpha6 source code

Postby mflerackers » Wed Apr 20, 2011 1:02 am

There is no zip file to download with the source, you need to use svn as stated on the checkout page.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: MakeHuman 1.0 alpha6 source code

Postby joepal » Wed Apr 20, 2011 9:00 am

Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: MakeHuman 1.0 alpha6 source code

Postby prof1990 » Wed Apr 20, 2011 2:04 pm

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
prof1990
 
Posts: 12
Joined: Sun Apr 03, 2011 2:04 pm

Re: MakeHuman 1.0 alpha6 source code

Postby mflerackers » Wed Apr 20, 2011 2:09 pm

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.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: MakeHuman 1.0 alpha6 source code

Postby prof1990 » Wed Apr 20, 2011 2:24 pm

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
prof1990
 
Posts: 12
Joined: Sun Apr 03, 2011 2:04 pm

Re: MakeHuman 1.0 alpha6 source code

Postby mflerackers » Wed Apr 20, 2011 2:27 pm

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.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: MakeHuman 1.0 alpha6 source code

Postby prof1990 » Wed Apr 20, 2011 2:36 pm

where can i find mh.pyd?
prof1990
 
Posts: 12
Joined: Sun Apr 03, 2011 2:04 pm

Next

Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest