CADbuildr Foundation
Summary
Schema-driven Python types for CAD modeling, generated from the GraphQL foundation schema.
Tags
cad, python, foundation, schema
Status
green
Guidelines
- Keep generated code deterministic and reproducible across machines.
- Avoid manual edits in generated modules; change the schema instead.
- Keep public APIs stable and document migrations when needed.
Dependencies
Upstream
- (none)
Downstream
- (none)
Notes
See /schemas/foundation/ for schema definition.
Kernel API Contract
- Canonical render endpoint:
POST /v1/kernels/:kernel/renderwithformat=json|stl|step. - Foundation direct compile endpoint env:
CAD_COMPILE_API_BASE_URL.
Local viewer and screenshots (broker)
For interactive show(...) plus Hub viewer screenshots, use the local broker and the broker–viewer setup docs in the monorepo (docs / threepointo resources, or the broker package README in this repository).
Python helpers (from the installed Foundation package):
request_viewer_screenshot(...)— POST to the broker withframingand return the JSON body.build_screenshot_framing(...)— build theframingdict (view, optionalzoom,camera_position,target,up;planeis accepted as a legacy alias forview).
CLI (get-screenshot / get_screenshot_main): --view (iso, current, orthographic presets), --plane (alias), --zoom, and optional --camera X Y Z, --target X Y Z, --up X Y Z with --broker-url and -o output path.
See the broker package README for the raw POST /screenshot/request JSON contract.
Release files for cadbuildr-foundation 0.2.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cadbuildr_foundation-0.2.13.tar.gz | 175.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cadbuildr_foundation-0.2.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 426.6 kB
Release files / cadbuildr_foundation-0.2.13.tar.gz
| Download URL | cadbuildr_foundation-0.2.13.tar.gz |
|---|---|
| Size | 175.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ba185323fe307483b9279ce73591864ccc7650e01b2e47606c96b445e0b11ef
|
|
BLAKE2b-256 checksum How to use checksums |
1ea447f55b0459fb4a4b7adfb37796542a50f73473095dc02def53c31cd51742
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / cadbuildr_foundation-0.2.13-py3-none-any.whl
| Download URL | cadbuildr_foundation-0.2.13-py3-none-any.whl |
|---|---|
| Size | 251.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b1273fa148dd83503c13c82041d491aee19a36bfde03b2ce651e7f348ecbade
|
|
BLAKE2b-256 checksum How to use checksums |
79b9f7384b3eb4a36cc95f7c24c52957a9915115e3e57ba82272057cd0742c40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|