pyboxbuilder.box.features.build_stacking_indents

pyboxbuilder.box.features.build_stacking_indents(width: float, length: float, foot_size: float, indent_depth: float, foot_inset: float, clearance: float = 0.15, top_z: float = 0.0, shape: StackableShape | None = None, pyramid_count: int | tuple[int, ...] | None = None, point_up: bool = False) → Bosl2Solid[source]

Return 4 corner indent cutter solids to be subtracted from floor or lid/rim (FR-101).

Parameters:
width: float

Box width in mm.

length: float

Box length in mm.

foot_size: float

Foot pad width in mm.

indent_depth: float

Depth of each indent socket in mm.

foot_inset: float

Inset from box edges in mm.

clearance: float = 0.15

Fit clearance offset per side in mm.

top_z: float = 0.0

Z coordinate of the reference surface.

shape: StackableShape | None = None

Geometry profile (FLAT, PYRAMID, PYRAMIDS, CONE). Defaults to StackableShape.FLAT when called directly.

pyramid_count: int | tuple[int, ...] | None = None

Number of pyramids per side when shape is PYRAMIDS.

point_up: bool = False

When True, indents cut upward (+Z) from surface_z = top_z - indent_depth (or 0.0 when top_z == indent_depth); when False, indents cut downward from top_z.

Returns:

Union of the 4 corner indent cutters.

Return type:

Bosl2Solid