build123d — parametric CAD modeling in Python

★ 3K

build123d is an open-source Python library for parametric BREP CAD modeling, where parts are defined entirely in code using the Open Cascade geometric kernel. Reach for it when a dimension needs to be computed by formula rather than dragged by hand; when you need a family of similar parts generated by changing one variable; when you want to track model changes in version control and review diffs; or when geometry generation and parameter calculation should live in the same script. It handles 1D, 2D, and 3D shapes — edges, faces, solids — with operator-driven modeling (`+=`, `-=`, planes as positioning operators) and exports to FreeCAD, SolidWorks, and other formats. Installed via pip, supports Python 3.10–3.14, licensed under Apache 2.0. Output is geometrically precise and suitable for 3D printing, CNC machining, and laser cutting. Compared to CadQuery — its direct predecessor — build123d offers a more Pythonic API: minimal internal state, natural language constructs instead of method chains. Suited for developers comfortable writing code; there is no interactive graphical editor, so non-programmers will find it inaccessible.