Page 1 of 1

Is it possible makehuman python code configure with c++ ?

PostPosted: Wed Jul 05, 2017 7:32 am
by snehasahu
as the whole makehuman source code is in python . i want to interface whole makehuman python source code in c++ so that
i can pass measurements from c++ to python and get the model ready as per measurements passed .
please help me to find out a way out
thanks in advance :)

Re: Is it possible makehuman python code configure with c++

PostPosted: Wed Jul 05, 2017 7:59 am
by joepal
Actually, makehuman was written in c++ with an embedded python interpreter way back when. You could take a look at these old versions to get an idea: http://files.jwp.se/archive/

But it will probably be a better idea to extend the socket solution found in MHAPI and communicate with MH via JSON. See https://github.com/makehumancommunity/c ... ins-socket (which depends on https://github.com/makehumancommunity/c ... gins-mhapi)

You will need to add more socket calls to the socket server to get it to do what you need, but at least it's a start.