shapes2d¶
BOSL2 2-D primitives: circle, square, rect, trapezoid, star, ring, pie slice, squircle, keyhole, and more — anchored Path2D shapes that feed directly into extrusions.
circle(radius=15).linear_extrude(height=2)interactive · drag to orbit
rendered & measured
watertightEvery shape returns a Path2D that chains into 2-D operations: ``.offset()``, ``.round_corners()``, ``.polygon()``, ``.linear_extrude()``. Anchors and rounding work consistently.
variants · click to load
116triangles
1,403.4mm³ volume
30×30×2bbox mm
>>> circle(radius=15).linear_extrude(height=2)
149 tests