pyboxbuilder.box.shell.no_lid_finger_holes

pyboxbuilder.box.shell.no_lid_finger_holes(spec: BoxSpec) → tuple[FingerHoleBuilder, ...][source]

Return the finger holes a no-lid box cuts into its longer walls (FR-047).

An open tray is lifted by the rim, so the original (no_lid.scad) puts a finger dip into each wall of the longer dimension. The sizing is a formula on the spec, not a constant:

  • throat radius = min(20, min(length, width) / 4, height - floor_thickness + 1) — a fingertip, capped at 20mm and at a quarter of the smaller outer footprint dimension;

  • reach = the radius, never past half the box’s height, and stopping 5mm above the tray’s floor;

  • mouth flare = 3mm.

The reach’s last term is a structural rule, not arithmetic: the strip of wall under the cut is what the tray is lifted by, so the cut stops 5mm short of the floor. Written inline as height - ft - 5 it reads like a fudge and the older form has twice been “corrected” back to height - 2 + 1, which runs the cut into the floor of a shallow tray. A tray with no room for the strip and a usable cut gets no holes (FR-047a) rather than a token dip taken out of the strip.

A wall too short for the hole’s mouth is skipped: a finger hole wider than the wall it is cut through breaks into the adjoining walls, so the tray goes out with no hole rather than a broken one. The mouth must leave a quarter of the wall uncut, not merely fit inside it — a cut running wall to wall is a slot, and what is left at each end is too little to grip (FR-047a). That is what keeps a path box with a short side sound.

Parameters:
spec: BoxSpec

Needs width, length, height; reads wall_thickness and floor_thickness.

Returns:

A tuple of FingerHoleBuilder instances — one per longer wall — or an empty tuple when the holes would not fit.