Install Foundation

Foundation is a pure-Python package. It needs Python 3.10 or newer.

With pip

pip install cadbuildr-foundation

With uv

uv add cadbuildr-foundation

Check that it works

python -c "import cadbuildr.foundation as f; print('foundation ok')"

Seeing your parts

show(part) sends a part to a viewer. You have three options:

  • Prototype app: open your project folder and run the file. Install the app.
  • Playground: paste the code into playground.cadbuildr.com, with nothing to install.
  • Local viewer bridge: pip install cadbuildr-broker, run cadbuildr-broker, then python your_part.py.

Next