pyboxbuilder.compartments.carve.build_inserts

pyboxbuilder.compartments.carve.build_inserts(placements: collections.abc.Sequence[CompartmentPlacement], interior: Interior) → list[tuple[Bosl2Solid, Color]][source]

Build every coloured positive insert across the placed compartments.

These are the added counterpart of build_contents(): a coloured element is a thin icon pressed into the bottom of its well, not a cutout, so it is returned as a separate solid (in the box frame) with its colour rather than subtracted from the body.