pyboxbuilder.box.shell.finger_cut_conflicts

pyboxbuilder.box.shell.finger_cut_conflicts(spec: BoxSpec) → list[str][source]

Finger cuts that overlap something, described one per line (FR-006c).

Two cuts that overlap do not make two grips: they make one opening of a shape nobody asked for, and the geometry gives no sign of which two cuts made it — the merged solid looks deliberate. So the overlap is reported rather than left for a render to reveal.

What is checked, and what is not: two holes on one wall are checked against each other, and a hole is checked against the magnet pocket that wall would carry. A lid track needs no check — every exterior hole is bounded by the interior top (FR-064) and the track lives above it, so the two cannot reach each other.

Parameters:
spec: BoxSpec

Reads finger_holes, width, length, height, wall_thickness, magnet_type and magnet_size.

Returns:

One message per conflict, naming both features and where they are. Empty when the cuts are clear of each other.