Skip to main content

CuboidPrimitive

Other

Properties for cuboid primitives. A cuboid is a box with different dimensions along each axis.

Import

import ScriptingApi as api

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

Properties

center

Center position [x, y, z].

Type: list


width

Width (X dimension).

Type: float


height

Height (Y dimension).

Type: float


depth

Depth (Z dimension).

Type: float


angle

Rotation angle in degrees.

Type: float


axis

Rotation axis [x, y, z].

Type: list


See Also