Put python scripts in MakeHuman for Mac

MakeHuman python API, python plugins, etc

Moderator: joepal

Put python scripts in MakeHuman for Mac

Postby FilippoQ » Mon Nov 10, 2014 9:41 am

Hi everyone!

I'm trying to apply a plugin that estimates volume, surface and weight of the avatars (with no real success). :lol:

Now I have to work on a Mac too. How can I write the scripts and apply them?

Mac doesn't have a MH folder with plugin folder like Windows, but Mac version of MH has a lot of tabs under "Utilities".
So how I proceed? :?
FilippoQ
 
Posts: 13
Joined: Fri Nov 07, 2014 5:44 pm

Re: Put python scripts in MakeHuman for Mac

Postby joepal » Mon Nov 10, 2014 4:18 pm

This might be a somewhat uninformed answer since I never used MH on a mac, but:

If you are doing development, you will most likely benefit from downloading MH from source instead of downloading as a binary package. What you will need to do is install the dependencies (python, pyopengl, pyqt, numpy) and then download the MH source from https://bitbucket.org/MakeHuman/makehuman

With this approach you will have everything you need in one folder in your user home drive and can simply put your new plugin inside the "plugins" directory. And/or read and edit the MH source code or the other plugins.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4469
Joined: Wed Jun 04, 2008 11:20 am

Re: Put python scripts in MakeHuman for Mac

Postby duststorm » Mon Nov 10, 2014 4:54 pm

If you are doing development, does not matter if it's adding a plugin or modifying the application core, don't download builds, but start from the source code.
There is a page about this in the documentation, detailing the libraries you need to install.

However, on OSX this is a little trickier. The build script, and instructions how we build MH for OSX can be found here: https://bitbucket.org/MakeHuman/makehuman-osx-builder
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: Put python scripts in MakeHuman for Mac

Postby FilippoQ » Mon Nov 10, 2014 9:57 pm

It's tricky indeed! XD

Thank you very much guys. I'll concentrate on the script first, then i'll try to enter it.
FilippoQ
 
Posts: 13
Joined: Fri Nov 07, 2014 5:44 pm


Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest