pyboxbuilder.compartments.carve.interior_column

pyboxbuilder.compartments.carve.interior_column(interior: Interior) → Bosl2Solid[source]

Return a tall prism over the interior footprint, used to clip compartments.

Clipping is in X/Y only: a cutout must never break through a side wall, but it does have to run out through the top of the box, which is where pieces go in. This is the same guard the original toolkit applies by hand when a hexagon overhangs the interior — a hex laid out flat-to-flat is wider than its nominal width across the points, so it can poke through a wall.