Per-storey floor levels along the cut axis, ASCENDING, length ≥ 1 (caller should fall back to full-extent bands when fewer than 2 storeys exist).
Cut position along the axis (render-frame).
Model minimum along the axis (render-frame).
Model maximum along the axis (render-frame).
OptionalminDepth: number
Lower clamp for each band depth (default 1 mm).
Compute the construction-projection band depths for the storey containing the cut, given the per-storey floor levels (ascending) and the model's axis extent — all along the cut axis, in the same render-frame metric space as
position.The current storey
kis the highest storey whose floor is at or below the cut. Its vertical slab is[floor_k, ceil_k):axisMin) so site / foundation / terrain below the ground floor still projects (solid);axisMax) so the roof / eaves above the top storey still projects (dashed);The returned depths feed
ProjectionBandDepthsunchanged:belowbecomes the VISIBLE/solid band (toward the floor) andabovethe OVERHEAD/dashed band. Every depth is floored atminDepthso a cut sitting exactly on a storey boundary never yields a zero-width band that culls everything on the plane.