Blender Git Commit Log

Git Commits -> Revision 484ac5e

Revision 484ac5e by Campbell Barton (master)
June 22, 2008, 22:46 (GMT)
[#14405] New python Script - Bake Constraints
AGAIN PLEAST USE TABS, lost quite some time with mixed tab/space adjustments alone.
Other then that, patch is very useful ;)

---Text from patch submission ---
Using a slightly revised BPy_Armature, this script takes any non-armature object type and creates an Action that keys
the object location (by default, for every frame). If it is an Armature, it goes into each bone and keys the locrot
of the bone. You can now edit the armature, but the motions still rotate the bones. This enables the next step, re-targeting,
which changes bone lengths to fit a mesh. High-level, we are working toward:

1. import mocap (bvh or c3d)
2. bake to make an action library (using this script)
3. re-target and use the actions to drive/deform any character mesh (theeth)



Commit Details:

Full Hash: 484ac5ea1a7c632a5bf1347f48ef34437d0e9700
SVN Revision: 15321
Parent Commit: 9035253
Lines Changed: +845, -30

1 Added Path:

/release/scripts/animation_bake_constraints.py (+800, -0) (View)

1 Modified Path:

/release/scripts/bpymodules/BPyArmature.py (+45, -30) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021