pyboxbuilder.compartments.carve.compartment_floor_z

pyboxbuilder.compartments.carve.compartment_floor_z(placement: CompartmentPlacement, interior: Interior) → float[source]

Z of a compartment’s floor.

Wells are cut from the top down: the floor sits depth below the interior ceiling, so shallow compartments sit high in the box and their pieces stay within reach, matching the original toolkit’s $inner_height - depth idiom.