Skip to main content

CubePrimitive

Other

Properties for cube primitives. A cube is a box with equal dimensions on all sides.

Import

import ScriptingApi as api

# Access the class
# CubePrimitive is available via api.CubePrimitive

Properties

center

Center position [x, y, z].

Type: list


size

Edge length of the cube.

Type: float


angle

Rotation angle in degrees.

Type: float


axis

Rotation axis [x, y, z].

Type: list


See Also