pyboxbuilder.box.features.build_horizontal_dovetail

pyboxbuilder.box.features.build_horizontal_dovetail(depth: float = 3.0, width_tip: float = 8.5, width_base: float = 6.0, height: float = 14.0, clearance: float = 0.0, is_female: bool = False) → Bosl2Solid[source]

Build a true flared trapezoidal vertical dovetail joint key or socket (FR-102).

The key extends in +X from x=0 to x=depth. At x=0, width is width_base; at x=depth, width is width_tip (where width_tip > width_base). The trapezoidal flare physically locks against horizontal pull-apart in both X and Y.

Parameters:
depth: float = 3.0

Penetration depth of the dovetail in mm.

width_tip: float = 8.5

Width at the wide outer tip in mm.

width_base: float = 6.0

Width at the narrow base neck in mm.

height: float = 14.0

Vertical height of the joint in mm.

clearance: float = 0.0

Fit offset in mm (applied to female socket).

is_female: bool = False

True to create oversized female socket cutter.

Returns:

Dovetail solid ready to translate and union/subtract.

Return type:

Bosl2Solid