Module Pose :: Class PoseBone
[frames | no frames]

Class PoseBone


The PoseBone object

This object gives access to PoseBone-specific data in Blender.
Method Summary
None insertKey(parentObject, frameNumber, type)
Insert a pose key for this PoseBone at a frame.

Instance Variable Summary
BPy_ConstraintSeq constraints: a sequence of constraints for the object
Object or None displayObject: The object to display in place of the bone.
Vector object head: The final head location for this PoseBone.
A 3-item sequence limitmax: The x,y,z maximum limits on rotation when part of an IK
A 3-item sequence limitmin: The x,y,z minimum limits on rotation when part of an IK
Vector object loc: The change in location for this PoseBone.
Matrix object localMatrix: The matrix combination of rot/size/loc.
String name: The name of this PoseBone.
posebone or None parent: The parent of this posebone (not settable)
Matrix object poseMatrix: The total transformation of this PoseBone including constraints.
Quaternion object quat: The change in rotation for this PoseBone.
Boolean sel: The selection state of this bone
Vector object size: The change in size for this PoseBone (no change is 1,1,1)
Vector object tail: The final tail location for this PoseBone.

Method Details

insertKey(parentObject, frameNumber, type)

Insert a pose key for this PoseBone at a frame.
Parameters:
parentObject - The object the pose came from.
           (type=Object object)
frameNumber - The frame number to insert the pose key on.
           (type=integer)
type - Can be any combination of 3 Module constants:
  • Pose.LOC
  • Pose.ROT (This adds keyframes to the quat ipo, since quaternions are used for pose bone rotation)
  • Pose.SIZE

           (type=Constant object)
Returns:
None

Instance Variable Details

constraints

a sequence of constraints for the object
Type:
BPy_ConstraintSeq

displayObject

The object to display in place of the bone. (custom bones)
Type:
Object or None

head

The final head location for this PoseBone. (not settable)
Type:
Vector object

limitmax

The x,y,z maximum limits on rotation when part of an IK
Type:
A 3-item sequence

limitmin

The x,y,z minimum limits on rotation when part of an IK
Type:
A 3-item sequence

loc

The change in location for this PoseBone.
Type:
Vector object

localMatrix

The matrix combination of rot/size/loc.
Type:
Matrix object

name

The name of this PoseBone.
Type:
String

parent

The parent of this posebone (not settable)
Type:
posebone or None

poseMatrix

The total transformation of this PoseBone including constraints.

(not settable).

This matrix is in armature space, for the current worldspace location of this pose bone, multiply it with its objects worldspace matrix

eg. pose_bone.poseMatrix * object.matrixWorld
Type:
Matrix object

quat

The change in rotation for this PoseBone.
Type:
Quaternion object

sel

The selection state of this bone
Type:
Boolean

size

The change in size for this PoseBone (no change is 1,1,1)
Type:
Vector object

tail

The final tail location for this PoseBone. (not settable)
Type:
Vector object

Generated by Epydoc 2.1 on Sun Feb 11 13:30:19 2007 http://epydoc.sf.net