PoseBoneConstraints(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.PoseBoneConstraints(bpy_struct)¶ Collection of pose bone constraints
-
active¶ Active PoseChannel constraint
Type: Constraint
-
new(type)¶ Add a constraint to this object
Parameters: type (enum in ['CAMERA_SOLVER', 'FOLLOW_TRACK', 'OBJECT_SOLVER', 'COPY_LOCATION', 'COPY_ROTATION', 'COPY_SCALE', 'COPY_TRANSFORMS', 'LIMIT_DISTANCE', 'LIMIT_LOCATION', 'LIMIT_ROTATION', 'LIMIT_SCALE', 'MAINTAIN_VOLUME', 'TRANSFORM', 'TRANSFORM_CACHE', 'CLAMP_TO', 'DAMPED_TRACK', 'IK', 'LOCKED_TRACK', 'SPLINE_IK', 'STRETCH_TO', 'TRACK_TO', 'ACTION', 'CHILD_OF', 'FLOOR', 'FOLLOW_PATH', 'PIVOT', 'RIGID_BODY_JOINT', 'SHRINKWRAP']) – Constraint type to add
CAMERA_SOLVERCamera Solver.FOLLOW_TRACKFollow Track.OBJECT_SOLVERObject Solver.COPY_LOCATIONCopy Location, Copy the location of a target (with an optional offset), so that they move together.COPY_ROTATIONCopy Rotation, Copy the rotation of a target (with an optional offset), so that they rotate together.COPY_SCALECopy Scale, Copy the scale factors of a target (with an optional offset), so that they are scaled by the same amount.COPY_TRANSFORMSCopy Transforms, Copy all the transformations of a target, so that they move together.LIMIT_DISTANCELimit Distance, Restrict movements to within a certain distance of a target (at the time of constraint evaluation only).LIMIT_LOCATIONLimit Location, Restrict movement along each axis within given ranges.LIMIT_ROTATIONLimit Rotation, Restrict rotation along each axis within given ranges.LIMIT_SCALELimit Scale, Restrict scaling along each axis with given ranges.MAINTAIN_VOLUMEMaintain Volume, Compensate for scaling one axis by applying suitable scaling to the other two axes.TRANSFORMTransformation, Use one transform property from target to control another (or same) property on owner.TRANSFORM_CACHETransform Cache, Look up the transformation matrix from an external file.CLAMP_TOClamp To, Restrict movements to lie along a curve by remapping location along curve’s longest axis.DAMPED_TRACKDamped Track, Point towards a target by performing the smallest rotation necessary.IKInverse Kinematics, Control a chain of bones by specifying the endpoint target (Bones only).LOCKED_TRACKLocked Track, Rotate around the specified (‘locked’) axis to point towards a target.SPLINE_IKSpline IK, Align chain of bones along a curve (Bones only).STRETCH_TOStretch To, Stretch along Y-Axis to point towards a target.TRACK_TOTrack To, Legacy tracking constraint prone to twisting artifacts.ACTIONAction, Use transform property of target to look up pose for owner from an Action.CHILD_OFChild Of, Make target the ‘detachable’ parent of owner.FLOORFloor, Use position (and optionally rotation) of target to define a ‘wall’ or ‘floor’ that the owner can not cross.FOLLOW_PATHFollow Path, Use to animate an object/bone following a path.PIVOTPivot, Change pivot point for transforms (buggy).RIGID_BODY_JOINTRigid Body Joint, Use to define a Rigid Body Constraint (for Game Engine use only).SHRINKWRAPShrinkwrap, Restrict movements to surface of target mesh.
Returns: New constraint Return type: Constraint
-
remove(constraint)¶ Remove a constraint from this object
Parameters: constraint ( Constraint, (never None)) – Removed constraint
-
classmethod
bl_rna_get_subclass(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Structsubclass
-
classmethod
bl_rna_get_subclass_py(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions
References