pyboxbuilder.box.shell.interior_block

pyboxbuilder.box.shell.interior_block(spec: BoxSpec) → Bosl2Solid[source]

Return the solid that build_shell removes — the box’s full interior volume.

The void’s bottom edges are rounded, which is what leaves a fillet inside the box: a void slightly smaller where it meets the floor means the wall rises from the floor on a curve rather than a right angle, so nothing snags and nothing has to be dug out of a square internal corner (FR-043).

The void’s vertical corners deliberately stay square. Rounding them too is tempting — it is one more edges= entry — but the resulting fillets run the full height of the box, including the band where a sliding lid seats, and they add material exactly where the plate needs to pass: measured, it put 0.59mm³ of body into the lid on all three sliding types, which is a lid that jams. The top likewise stays square: it is the opening.

Parameters:
spec: BoxSpec

Needs width, length, height; reads wall_thickness, floor_thickness and rounding.

Returns:

The interior volume, positioned in the box frame.