Calling MH as a library called from other programs

MakeHuman python API, python plugins, etc

Moderator: joepal

Re: Calling MH as a library called from other programs

Postby LinuxDanP » Fri Jan 15, 2010 2:15 am

Howdy! I'm quite new here, although I've been playing with MH for a few months.

I'm interested in using MH to allow end users to make their own game characters, without using MH as a separate program.

So let me get this straight, because I'm not quite understanding this.

1: By "Python engine" I assume that means that the calling application has to have a built-in Python interpreter, right? Which means that the OS's Python interpreter (if it has one) is completely ignored, since MH is compiled as a Python module, which is being executed by the calling application.

2: Will this work with the latest Alphas? I'm using Alpha 4 right now.

3: Also, assuming that this method works for the latest Alphas, is there any way to just display the MH gui in a window, and thus not have to make calls to it from the application for every edit feature? What I'm trying to ask is, can I just load MH, give it a window, and have it go do its thing with the user, without me having to re-code the gui and make calls to all the right functions from the calling application?

4: Is there a good cross-platform way to do this?

Thanks
LinuxDanP
 
Posts: 13
Joined: Thu Jan 14, 2010 3:11 am

Previous

Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest