Foundation
Foundation (cadbuildr-foundation on PyPI) is the Python library every CADbuildr model is
written in. A part is a Python class: sketches on planes, operations like extrusions and
lathes, and assemblies made from parts. Because the model is code, it can be parametric,
versioned in git, reused as a library, and written or edited by an AI agent.
Every CADbuildr product (the app, the plugins, the MCP server, the Playground) runs Foundation code, so learning it pays off everywhere.
Where to go
| I want to… | Go to |
|---|---|
| Install it | Install |
| Learn from scratch | Your first part → first sketch → first assembly |
| Do a specific thing | How-to guides |
| Look up an API | Cheatsheet, Primitives, Operations, Sheet metal |
| See complete projects | Examples |
Libraries built on Foundation
Reusable parts and helpers published as separate packages, for example
cadbuildr-stdlib (fasteners and common
components). Source for the public libraries and example projects is on
github.com/cadbuildr.