pyboxbuilder.box.features.build_stacking_feet

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

Return 4 corner locator feet (FR-101).

Parameters:
width: float

Box width in mm.

length: float

Box length in mm.

foot_size: float

Width/length of each foot pad in mm.

foot_height: float

Height of each foot in mm.

foot_inset: float

Inset from box edges in mm.

base_z: float = 0.0

Z coordinate of the mounting face.

chamfer: float = 0.6

Edge chamfer size in mm when shape is StackableShape.FLAT.

shape: StackableShape | None = None

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

clearance: float = 0.15

Lateral fit clearance in mm for pyramid/cone sizing.

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

Number of pyramids per side when shape is PYRAMIDS.

point_up: bool = False

When True, feet protrude upward (+Z) from base_z; when False, feet protrude downward (-Z) from base_z.

Returns:

Union of the 4 corner feet.

Return type:

Bosl2Solid