How to use randomize function in script

MakeHuman python API, python plugins, etc

Moderator: joepal

How to use randomize function in script

Postby TUCO » Mon Apr 08, 2019 2:05 pm

I am generating large number of face models which should be as random as possible. How does one use randomize functionality from Modelling/Random tab in script in Utillities/Scripting?
TUCO
 
Posts: 1
Joined: Mon Apr 08, 2019 2:01 pm

Re: How to use randomize function in script

Postby joepal » Fri Apr 12, 2019 4:15 pm

Short answer is that you don't. The randomize tab isn't a library, it's an interface component.

You could take a look at the mass produce plugin and modify it to suit your needs: https://www.youtube.com/watch?v=jRHnJX-TdT4
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3506
Joined: Wed Jun 04, 2008 11:20 am


Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest