Page MenuHome

Pose an armature from mesh with shapekeys.
Closed, ArchivedPublicPATCH

Description

Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.49
Category: Rigging
Python: 2.6
Script name: pose_armature_from_shapekeys.py
Author(s): Terry Stafford
Status: Closed

Features,
This set of scripts builds and poses an armature from a shapekey mesh.

Requirements: Blender 2.49b
Python 2.6
SciPy

Setup,
Put scripts in user scripts directory, load and run from text window in blender

The work flow is,

1. pick a frame
2. create joints from selected vertices of shapekey mesh by running armature_joint.py
3. run build_armature_from_joints.py with frame set to frame picked from step 1
4. create a mesh from shapekey mesh with frame set to frame picked from step 1
(duplicate and delete all keyframes except frame picked from step 1, or write a script that uses getFromObject)
5. parent mesh to armature created in step 3, pick create vertex groups from envelopes;
select quaternion armature option (volume preserving)
6. with mesh and armature still selected run pose_armature_from_shapekeys.py

Possible other uses, base for motion capture?

TODO create modeller friendly rest pose by aligning bone chain to a certain vector allowing for high res models

The included pdfs cover building armature but they are based from 2.57 scripts, although concepts are the same.

The videos show the process. If you look at the outliner in the video you will see joint names for a human form.

The results video shows small errors between the original shapekey mesh and the armature modified mesh.

Any comments, corrections welcome.

Event Timeline

Hi,
Just a Reminder for people to Join the Mail List.
If you have not already, please visit this page:
http://lists.blender.org/mailman/listinfo/bf-extensions-cvs
& join the list.

Hi,
Due to changes to the api including the merging of bmesh, several addons are outdated.
Please, if you are the author of an addon check your script with blender revision 44256 or newer.
That is builds made After blender 2.62 official release.
I would ask that updates be made to your addon before the Blender 2.63 release.
6-8 weeks away.
This allows time for the api to become more exposed & bmesh to stablize furthur.
If you need help, drop into irc freenode #blenderpython or #blendercoders & feel welcome to ask questions.
At the time of 2.63 release, scripts that are not repaired or in active developement will have their tracker page marked "Closed"
this will not affect your links to the tracker, similar to closing scripts in 2.49b, the page will be still availible & can be re-opened.

Thanks for your understanding & patience during these Exciting Times.
Brendon.

hi,
I'm closing this page for now. as part of 2.63 cleanup.
As this addon is for 2.49 it needs to be closed, you are very welcome to create a wiki page here:http://wiki.blender.org/index.php/Extensions:2.4/Py/Scripts
you can still use the page for bugtracking, only it's status is closed.
Thanks for your addon & interest in Blender.
Brendon.

Brendon Murphy (meta-androcto) changed the task status from Unknown Status to Unknown Status.Apr 16 2012, 1:48 PM