Setting skeleton from script

MakeHuman python API, python plugins, etc

Moderator: joepal

Setting skeleton from script

Postby ShatteredEssence » Tue Jun 13, 2017 10:04 am

skeleton = human.setSkeleton()

Cant seem to get the name of default mh skeleton. geting it and printing returnes Skeleton MakeHuman default skeleton wich is not exactly what I can use in set.
any help?
thx

And another smal lquestion

my_bone_name = 'neck01'
my_bone = skeleton.getBone(my_bone_name)
my_bone.rotate(45, 0, False)

How do i reset rotation before augmenting it again?
ShatteredEssence
 
Posts: 13
Joined: Mon Jun 12, 2017 12:14 pm

Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest