LimitRotationConstraint(Constraint)#

base classes — bpy_struct, Constraint

class bpy.types.LimitRotationConstraint(Constraint)#

Limit the rotation of the constrained object

euler_order#

Explicitly specify the euler rotation order

  • AUTO Default – Euler using the default rotation order.

  • XYZ XYZ Euler – Euler using the XYZ rotation order.

  • XZY XZY Euler – Euler using the XZY rotation order.

  • YXZ YXZ Euler – Euler using the YXZ rotation order.

  • YZX YZX Euler – Euler using the YZX rotation order.

  • ZXY ZXY Euler – Euler using the ZXY rotation order.

  • ZYX ZYX Euler – Euler using the ZYX rotation order.

Type:

enum in [‘AUTO’, ‘XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’, ‘ZXY’, ‘ZYX’], default ‘AUTO’

max_x#

Upper X angle bound

Type:

float in [-1000, 1000], default 0.0

max_y#

Upper Y angle bound

Type:

float in [-1000, 1000], default 0.0

max_z#

Upper Z angle bound

Type:

float in [-1000, 1000], default 0.0

min_x#

Lower X angle bound

Type:

float in [-1000, 1000], default 0.0

min_y#

Lower Y angle bound

Type:

float in [-1000, 1000], default 0.0

min_z#

Lower Z angle bound

Type:

float in [-1000, 1000], default 0.0

use_legacy_behavior#

Use the old semi-broken behavior that doesn’t understand that rotations loop around

Type:

boolean, default False

use_limit_x#

Use the minimum X value

Type:

boolean, default False

use_limit_y#

Use the minimum Y value

Type:

boolean, default False

use_limit_z#

Use the minimum Z value

Type:

boolean, default False

use_transform_limit#

Transform tools are affected by this constraint as well

Type:

boolean, default False

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (str) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#