pyboxbuilder.box.shell.base_rounding

pyboxbuilder.box.shell.base_rounding(spec: BoxSpec) → float[source]

Return the edge radius for this box body’s base.

The base is rounded by wall_thickness (smaller than the previous 3mm chamfer) so the box rocks smoothly for extraction without a sharp or chamfered base.

Parameters:
spec: BoxSpec

Reads base_rounding, rounding, tilt_to_lift, and wall_thickness.

Returns:

The radius in mm. 0 disables rounding entirely.