Page 1 of 1

Weight estimation plugin now available for 1.1

PostPosted: Sun Oct 15, 2017 7:17 pm
by jujube
I think back in 2015, I found a thread where someone posted code for a weight estimation plugin; I got it to work again and posted a reply, but no one noticed.

Well just now I decided to fix and finish it. It automatically finds surface area + weight + BMI of the character. Originally, since the existing surface area calculation didn't work, I used a workaround by having a textbox to manually enter surface area (obtained via blender, with its 3d print tools addon). I opened it up again today and found that the problem was that it didn't recognize the function from mesh_operations.py. I didn't/don't know how to import it, so I just copied all the functions from mesh_operations.py into my file. (If anyone knows how to fix that, feel free to do so. )

Tested in makehuman 1.1.0.

edit: also, it gives the wrong results if you check "hide faces under clothes".

Re: Weight estimation plugin now available for 1.1

PostPosted: Sat Oct 28, 2017 2:26 am
by jujube
Edited the topic title to make it clear that this is working code people can use, not something I need help with.

Re: Weight estimation plugin now available for 1.1

PostPosted: Thu Dec 21, 2017 12:50 pm
by grinsegold
Sounds great, but what's it good for? Do you have a screenshot? I can't just test it because ... it's complicated.

Re: Weight estimation plugin now available for 1.1

PostPosted: Thu Dec 21, 2017 4:27 pm
by MargaretToigo
It's kinda cool. I'm not sure of its practical use, but it did force me to remember metric to imperial conversions. In America, we still only use the metric system in medicine and engineering. We were supposed to convert everything to it way back in the 1970s -- I remember learning about it in elementary school at the time -- but most of the older folks were just too attached to the old way, so it never caught on.

I played with it a bit using default, heavyset and thin females.
Here are some screen shots of the results...

Screen Shot 2017-12-21 at 11.09.15 AM.png


Screen Shot 2017-12-21 at 11.08.31 AM.png


Screen Shot 2017-12-21 at 11.07.59 AM.png

Re: Weight estimation plugin now available for 1.1

PostPosted: Mon Apr 15, 2019 4:07 pm
by flockyfloc
Hello

how to integrate this attachment to the software?

Thank you.

Have a good day.

Florian

Re: Weight estimation plugin now available for 1.1

PostPosted: Tue Apr 16, 2019 7:34 am
by RobBaer
Haven't tried it, but basically you should copy the plugin to the plugins folder and restart MH.

Re: Weight estimation plugin now available for 1.1

PostPosted: Tue Apr 16, 2019 10:04 am
by Aranuvir
Weight estimation is now integrated in the alpha and can be activated under settings. The hide face problem was fixed, too.