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

Highest X value to allow

Type:

float in [-1000, 1000], default 0.0

max_y

Highest Y value to allow

Type:

float in [-1000, 1000], default 0.0

max_z

Highest Z value to allow

Type:

float in [-1000, 1000], default 0.0

min_x

Lowest X value to allow

Type:

float in [-1000, 1000], default 0.0

min_y

Lowest Y value to allow

Type:

float in [-1000, 1000], default 0.0

min_z

Lowest Z value to allow

Type:

float in [-1000, 1000], default 0.0

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 (string) – 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 (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions