Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.57
Category: Object
Python: 3.2
Script name: add_joint_object.py
Author(s): Terry Stafford
Status: Closed
Features:
The script does a 'sphere fit' on the selected vertices.
Using a 'sphere fit', an Empty is created at the center of the sphere with size of sphere radius.
If the mesh object has animation data the joint object is animated using the vertices of the transformed mesh.
If the mesh object data has animated shapekeys the object is animated using the vertices of the shapekeys.
This script adds a joint object to a Blender scene.
Joint objects are used in Blender for the automated building of armatures.
The add_joint_object.py script is part of a workflow to build armatures.
The other script in the workflow is the build_armature_from_joints.py script.
After all joint objects are created from the mesh object,
the build_armature_from_joints.py script builds an armature from the joint object names and location(s).
Setup:
Uncompress this file to any location.
Start Blender.
From User Preferences-->Add-Ons-->Install Add-On
Pick add_joint_object.py from previous location.
Select Object filter to see add-ons in the Object category.
Check the box by Object:Add Joint Object.
Check for Add-->Mesh-->Joint_Object from menu.
Manual:
Pick any mesh object. Select desired vertices.
Choose Add-->Mesh-->Joint_Object from menu.
Enter name for joint object in popup dialog and press OK.
See enclosed add_joint_object.pdf for more details.