pycodecad
Code-CAD with build123d: write a Python script, see the part, export it for 3D printing.
A desktop window shows the files of a part, its code and parameters next to the 3D view, and runs
the script only when you press Run. The same script runs from the command line, so an AI assistant
can check its own work with check and render.
from build123d import Box, Cylinder
from pycodecad import show
plate = Box(40, 30, 8) - Cylinder(5, 8)
show(plate, name="plate", color="#F4B02A")
The full documentation is at https://offerrall.github.io/pycodecad/.
Documentation
- Overview: what pycodecad gives you, its requirements and credits.
- Getting started: a first part, run, save, export.
- The window: layout, Run and Save, folders, read-only mode, the 3D view, shortcuts.
- Parameters:
expose(), its controls and--set. - Scripts:
show,clear,frame(animations),import_mesh, paths, errors. - Command line:
examples,check,render,export,context, exit codes. - Working with an AI assistant: the AI context and how an assistant checks its work.
- Files pycodecad writes: everything pycodecad writes, and where.
- Embedding pycodecad in your app: the window's parts in your own app (experimental).
- Design: the principles and what follows from them.
- Limitations: platforms, graphics and Python requirements, what is not supported.
Maintaining
- Development: tests, type checks and releases.
- Benchmarks: measuring a Run and the window's drawing, with reference numbers.
Metadata
Release files for pycodecad 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycodecad-1.2.2.tar.gz | 523.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycodecad-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / pycodecad-1.2.2.tar.gz
| Download URL | pycodecad-1.2.2.tar.gz |
|---|---|
| Size | 523.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
418045df0facdcdff607198effb1bcd3f642e74c58e983756bb34fcaa2cb7974
|
|
BLAKE2b-256 checksum How to use checksums |
73d83f798f3850166391f447133601be1adbfb2c3f6afd9d7824bfa129c155d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / pycodecad-1.2.2-py3-none-any.whl
| Download URL | pycodecad-1.2.2-py3-none-any.whl |
|---|---|
| Size | 505.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6fe4609d672fdcfa358871fb79ed6a2550979f38965b0407f88fe3973263cf6
|
|
BLAKE2b-256 checksum How to use checksums |
eddfe7c2b7639c23735019211768280cc6e645664bcd560d16dc35a21d7363d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency log