pyboxbuilder.rounding.edge_slivers¶
-
pyboxbuilder.rounding.edge_slivers(size: collections.abc.Sequence[float], rounding: float, edges: collections.abc.Sequence[Anchor], at: collections.abc.Sequence[float] =
(0.0, 0.0, 0.0)) Bosl2Solid[source]¶ Return the material a rounding removes: the square block minus the rounded one.
- Parameters:¶
- size: collections.abc.Sequence[float]¶
The block’s
(width, length, height).- rounding: float¶
Edge radius in mm; must be positive.
- edges: collections.abc.Sequence[Anchor]¶
pybosl2
edges=selector naming which edges to round.- at: collections.abc.Sequence[float] =
(0.0, 0.0, 0.0)¶ Where the block’s minimum corner sits.
- Returns:¶
A solid occupying only the corner slivers, ready to subtract.
- Raises:¶
ValueError – If
roundingis not positive, or is at least half the smallest dimension — a fillet that large has no flat face left to blend into and folds the solid through itself.