pyboxbuilder.box.features.lead_chamfer_size

pyboxbuilder.box.features.lead_chamfer_size(spec: BoxSpec) → float[source]

Return the slight chamfer that lets a lid start into its grooves (FR-002d).

A quarter of the lid’s thickness. It was half, which on a 2mm lid takes the leading end down to a 1mm knife edge — enough of a taper to read as a wedge, which is the shape a sliding lid should not have anywhere. A quarter still keeps the lip off the groove floor while the leading face stays recognisably a face.

Parameters:
spec: BoxSpec

Reads lid_thickness; an explicit lead_chamfer wins.

Returns:

The chamfer depth in mm.