pyboxbuilder.box.features.cap_finger_cutouts

pyboxbuilder.box.features.cap_finger_cutouts(spec: BoxSpec) → Bosl2Solid[source]

Return the four corner cutouts that let a cap lid be pushed off (FR-002i).

Two wall scoops meeting at each corner — the same corner_catch() a slipover sleeve uses, and the original toolkit’s CornerCatch before that — so the cut arrives with the roll and the fillets already right.

Corners rather than side-centres: a finger pushing up in a corner recess loads the skirt along both adjoining faces at once, so the lid lifts square instead of cocking, and the bearing stays in the middle of each wall where there is material behind it.

Parameters:
spec: BoxSpec

As cap_finger_metrics().

Returns:

The solid to subtract from the body.

Raises:

ValueError – Via cap_finger_metrics(), when the box is too short.