Page 1 of 1

load bvh via api

PostPosted: Thu Dec 08, 2022 4:48 pm
by ortho12
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.

Re: load bvh via api

PostPosted: Thu Dec 08, 2022 5:47 pm
by joepal
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.