Current version (September 24, 2006):
http://www.kuroyumes-developmentzone.com/~Cage/PoseLib16d.zip
This is my first script. It is a pose-handling tool which works with Blender poses in Blender Library format. Hopefully I’ve managed to make this compatible with a wide range of armatures. I’ve tested this on four or five myself, but they were all automatically generated by the cr2 bone import script or a bvh import script. Please let me know if this works for anyone else.
This script handles three types of poses.
-Straight Blender Library poses (bone.quats saved directly)
-PoseMatrix poses (which should be able to save IK - I haven’t tested this, but it is based on der_ton’s working code for md5)
-Poses which I call “no roll” because they are compatible with armatures regardless of bone roll settings. These are based on Cambo’s recent BVH script success and are the pose format exported by PoserPython in my companion script.
Default poses are compatible with Blender Library, but I don’t create thumbnails or data files for BL, so BL won’t read them. This script can read Blender Library poses, however.
“IK” poseMatrix and “no roll” poses can be used together.
The script also:
-Mirrors poses (symmetry)
-Flips poses right or left
-Screens one side of a pose, right or left
-Loads poses partially, using a slider value, from 1% to 200% intensity
-Can load a pose additive to the existing armature pose
Most of these functions can work in “real time”, without loading a pose. The exception is the partial pose, which doesn’t seem to want to cooperate…
The symmetry functions use a user-definable system in which you can enter your own specific symmetry notation and specify either prefixes or suffixes (as well as use an alternate set of prefixes if you edit the script).
The script can save partial poses for face and hand groups, but the groups are currently hard-coded. This can be expanded if people will tell me what part names they like to use for fingers or face parts. Currently this can be altered by editing the script.
Oh. And there’s a “zero pose” function, which zeroes all bone settings, restoring the default rest state pose.
The script has been prepared with 2.41, but I have no reason to expect it not to be 2.42 compatible…
To do:
-Animation import and export via batch loading and saving of poses.
-Some bone roll tools which I plan to add from another script which I’ve discontinued.
-Whatever anyone cares to suggest (within my as-yet-meager skill range).
I hope this can be useful for someone. Please let me know if there are any problems, questions, or comments.
http://www.kuroyumes-developmentzone.com/~Cage/PoseLib6b_noweight.py