pyboxbuilder.compartments.finger_sweep.FaceTreatment

class pyboxbuilder.compartments.finger_sweep.FaceTreatment(fillet: float | None = None, round_outer: bool = True, round_inner: bool = True, inner_overshoot: float = 0.0, breach_floor: bool = False, floor_clearance: float | None = None, top_limit: float | None = None)[source]

Bases: object

What happens where a cut meets the wall it passes through (FR-073).

Kept apart from CutProfile because it answers a different question: the profile is the shape of the opening, this is what its edges do. They were one flat parameter list, and the two most expensive bugs in this file lived exactly on the seam — a face rounded on the wrong side, and a rim profile on one end only leaving a ridge inside the cut.

breach_floor : bool = False

Let the cut run below the well floor unclipped.

fillet : float | None = None

The roundover radius where the cut emerges. None uses half the wall, the largest a wall can carry (FR-059).

floor_clearance : float | None = None

How far below the well floor the cut may reach; None derives it.

inner_overshoot : float = 0.0

How far past the inner face to run the sweep, so a rim’s transition finishes in the void instead of leaving a ridge inside the wall.

round_inner : bool = True

Round the compartment-side face. Off for a cut something rests against, where a fillet is a gap rather than a comfort.

round_outer : bool = True

Round the box’s outside face — the one a hand meets.

top_limit : float | None = None

Height above which the cut is trimmed — the guard for material that must not be cut into.