raygeo.ops.axis
Axis bitflag for multi-axis machines.
Represents a single axis or combination of axes (X, Y, Z, A, B, C, U). Axis values can be combined using bitwise operators (|, &, ^, ~) to represent multiple axes at once, useful when specifying which axes participate in a coordinated move or transformation.
Axis
Represents a single axis or a combination of axes (X, Y, Z, A, B, C, U).
Axis values can be combined using bitwise operators (|, &, ^, ~)
to represent multiple axes at once.
label
label: str
The uppercase label of the axis (e.g. "X", "Y", "Z").
value
value: int
The raw bit value of the axis.
assert_single_axis()
assert_single_axis() -> None
Assert that this Axis represents exactly one axis (not a combination).
Raises: ValueError — If the axis mask contains multiple or zero bits set.
| Parameter | Type | Description |
|---|---|---|
| Returns | None |