Skip to main content

BoxMeasurement

Other

Box measurement result containing dimensions, volume, perimeter, and centroid.

Import

import ScriptingApi as api

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

Properties

width

Width of the box, in millimeters (mm).

Type: float


height

Height of the box, in millimeters (mm).

Type: float


depth

Depth of the box, in millimeters (mm).

Type: float


volume

Volume of the box, in cubic millimeters (mm^3).

Type: float


perimeter

Perimeter of the box, in millimeters (mm).

Type: float


centroid

Centroid position [x, y, z].

Type: list


See Also