Package bpy :: Module types :: Class PoseBone
[hide private]
[frames] | no frames]

Class PoseBone

The Pose Bone Object

Channel defining pose data for a bone in a Pose.

References

Instance Variables [hide private]
Bone (readonly) bone
Bone associated with this PoseBone.
BoneGroup bone_group
Bone Group this pose channel belongs to
int in [-32768, 32767] bone_group_index
Bone Group this pose channel belongs to (0=no group).
float array of 16 items (readonly) in [-inf, inf] channel_matrix
4x4 matrix, before constraints.
PoseBone (readonly) child
Child of this pose bone.
PoseBoneConstraints Collection of Constraint (readonly) constraints
Constraints that act on this PoseChannel.
Object custom_shape
Object that defines custom draw type for this bone.
boolean (readonly) has_ik
Is part of an IK chain.
float array of 3 items (readonly) in [-inf, inf] head
Location of head of the channel's bone.
boolean ik_dof_x
Allow movement around the X axis.
boolean ik_dof_y
Allow movement around the Y axis.
boolean ik_dof_z
Allow movement around the Z axis.
boolean ik_limit_x
Limit movement around the X axis.
boolean ik_limit_y
Limit movement around the Y axis.
boolean ik_limit_z
Limit movement around the Z axis.
boolean ik_lin_control
Apply channel size as IK constraint if stretching is enabled
float in [0, 1] ik_lin_weight
Weight of scale constraint for IK.
float in [0, 180] ik_max_x
Maximum angles for IK Limit
float in [0, 180] ik_max_y
Maximum angles for IK Limit
float in [0, 180] ik_max_z
Maximum angles for IK Limit
float in [-180, 0] ik_min_x
Minimum angles for IK Limit
float in [-180, 0] ik_min_y
Minimum angles for IK Limit
float in [-180, 0] ik_min_z
Minimum angles for IK Limit
boolean ik_rot_control
Apply channel rotation as IK constraint
float in [0, 1] ik_rot_weight
Weight of rotation constraint for IK.
float in [0, 0.99] ik_stiffness_x
IK stiffness around the X axis.
float in [0, 0.99] ik_stiffness_y
IK stiffness around the Y axis.
float in [0, 0.99] ik_stiffness_z
IK stiffness around the Z axis.
float in [0, 1] ik_stretch
Allow scaling of the bone for IK.
float array of 3 items in [-inf, inf] location
Location
boolean array of 3 items lock_location
Lock editing of location in the interface.
boolean array of 3 items lock_rotation
Lock editing of rotation in the interface.
boolean lock_rotation_w
Lock editing of 'angle' component of four-component rotations in the interface.
boolean lock_rotations_4d
Lock editing of four component rotations by components (instead of as Eulers).
boolean array of 3 items lock_scale
Lock editing of scale in the interface.
float array of 16 items (readonly) in [-inf, inf] matrix
Final 4x4 matrix for this channel.
string name
Name (maximum length of 32)
PoseBone (readonly) parent
Parent of this pose bone.
int (readonly) in [-inf, inf] path_end_frame
End frame of range of frames to use for Bone Path calculations.
int (readonly) in [-inf, inf] path_start_frame
Starting frame of range of frames to use for Bone Path calculations.
float array of 4 items in [-inf, inf] rotation_axis_angle
Angle of Rotation for Axis-Angle rotation representation.
float array of 3 items in [-inf, inf] rotation_euler
Rotation in Eulers.
enum rotation_mode
Rotation Mode in...
float array of 4 items in [-inf, inf] rotation_quaternion
Rotation in Quaternions.
float array of 3 items in [-inf, inf] scale
Scale
boolean selected
Selected
float array of 3 items (readonly) in [-inf, inf] tail
Location of tail of the channel's bone.
Instance Variable Details [hide private]

rotation_mode

Rotation Mode in...
  • QUATERNION
  • XYZ
  • XZY
  • YXZ
  • YZX
  • ZXY
  • ZYX
  • AXIS_ANGLE
Type:
enum