load bvh via api

If you have problems understanding something or getting started, ask here

Moderator: joepal

load bvh via api

Postby ortho12 » Thu Dec 08, 2022 4:48 pm

I created a pose in blender and saved the bvh file of it.

I would now like to apply it to my MH model but via script, not via GUI. How can I script that? I can't the find the code on github.
ortho12
 
Posts: 3
Joined: Fri Nov 11, 2022 3:47 pm

Re: load bvh via api

Postby joepal » Thu Dec 08, 2022 5:47 pm

There is no easily available scripting option for this. But all parts of the makehuman system are available runtime. You could read the plugin which loads a pose, https://github.com/makehumancommunity/m ... es_pose.py, and figure out the relevant calls to make. Then you could add a new method somewhere under https://github.com/makehumancommunity/m ... ver_socket so that it can be called from the outside via a server socket.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4353
Joined: Wed Jun 04, 2008 11:20 am


Return to Newbies

Who is online

Users browsing this forum: Google [Bot] and 1 guest