pyboxbuilder.box.interior.Interior

class pyboxbuilder.box.interior.Interior(width: float, length: float, height: float, origin_x: float = 0.0, origin_y: float = 0.0, origin_z: float = 0.0, wall_thickness: float | None = None)[source]

Bases: object

The usable volume inside a box.

contains_compartment(comp_w: float, comp_l: float) → bool[source]

Check whether a compartment footprint fits in the interior.

property max_x : float

The interior’s far X edge.

property max_y : float

The interior’s far Y edge.

property max_z : float

The interior’s top Z edge.