pyboxbuilder.compartments.finger_outline.scoop_outline¶
-
pyboxbuilder.compartments.finger_outline.scoop_outline(radius: float, height: float, top_rounding: float, bottom_rounding: float, top_rise: float | None =
None) list[tuple[float, float]][source]¶ Return the edge scoop’s closed outline, as one ring of points.
Returned as a point ring rather than as 2-D geometry because the ring is what an offset sweep needs: it follows the outline around, so the fillet it lays on each face traces the scoop’s own curve. A shape built by unioning two mirrored halves loses that — it is the same region, but the boundary has to be recovered from it, and anything that recovers it convexly (a hull, say) bridges straight across the notch.
- Parameters:¶
- radius: float¶
Half-width of the straight throat.
- height: float¶
Floor to rim.
- top_rounding: float¶
How far the top roll flares outward, already capped.
- bottom_rounding: float¶
r2, already capped to fit.
- top_rise: float | None =
None¶ How far the top roll reaches down.
Nonemakes it equal to the flare, i.e. a circular quarter-roll.
- Returns:¶
[(x, y), ...]closed counter-clockwise, floor aty=0.