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

Class Constraint


The Constraint Object

Constraint modifying the transformation of objects and bones.

References

Instance Variables [hide private]
boolean active
Constraint is the one being edited
boolean (readonly) disabled
Constraint has invalid settings and will not be evaluated.
boolean expanded
Constraint's panel is expanded in UI.
float in [0, 1] influence
Amount of influence constraint will have on the final solution.
float (readonly) in [-inf, inf] lin_error
Amount of residual error in Blender space unit for constraints that work on position.
string name
Name (maximum length of 30)
enum owner_space
Space that owner is evaluated in.
boolean proxy_local
Constraint was added in this proxy instance (i.e.
float (readonly) in [-inf, inf] rot_error
Amount of residual error in radiant for constraints that work on orientation.
enum target_space
Space that target is evaluated in.
enum (readonly) type
Type in...
Instance Variable Details [hide private]

owner_space

Space that owner is evaluated in. in...
  • WORLD
  • POSE
  • LOCAL_WITH_PARENT
  • LOCAL
Type:
enum

proxy_local

Constraint was added in this proxy instance (i.e. did not belong to source Armature).
Type:
boolean

target_space

Space that target is evaluated in. in...
  • WORLD
  • POSE
  • LOCAL_WITH_PARENT
  • LOCAL
Type:
enum

type

Type in...
  • COPY_LOCATION
  • COPY_ROTATION
  • COPY_SCALE
  • LIMIT_DISTANCE
  • LIMIT_LOCATION
  • LIMIT_ROTATION
  • LIMIT_SCALE
  • TRANSFORM
  • CLAMP_TO
  • DAMPED_TRACK
  • IK
  • LOCKED_TRACK
  • SPLINE_IK
  • STRETCH_TO
  • TRACK_TO
  • ACTION
  • CHILD_OF
  • FLOOR
  • FOLLOW_PATH
  • RIGID_BODY_JOINT
  • SCRIPT
  • SHRINKWRAP
Type:
enum (readonly)