pyboxbuilder.rounding.round_edges¶
-
pyboxbuilder.rounding.round_edges(solid: Bosl2Solid, 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]¶ Round
solid’s edges over the envelopesizeatat.- Parameters:¶
- solid: Bosl2Solid¶
The solid to round.
- size: collections.abc.Sequence[float]¶
The envelope the rounding is measured against — normally the box’s declared
(width, length, height).- rounding: float¶
Edge radius in mm. Zero or negative leaves
solidalone.- 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 envelope’s minimum corner sits.
- Returns:¶
The solid with those edges rounded. Material outside the envelope — a hinge barrel, say — is untouched.