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.14
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.14.tar.gz | 134.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cadbuildr_foundation-0.2.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 387.1 kB
Release files / cadbuildr_foundation-0.2.14.tar.gz
| Download URL | cadbuildr_foundation-0.2.14.tar.gz |
|---|---|
| Size | 134.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bde04e836c07d3d363ed4db8243c5635abd812e6c9142100aaba5a826ab424ed
|
|
BLAKE2b-256 checksum How to use checksums |
1676db663141365f0e4e06dc7a724b05f0a3eb3d7ebdec5df610b23044239ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / cadbuildr_foundation-0.2.14-py3-none-any.whl
| Download URL | cadbuildr_foundation-0.2.14-py3-none-any.whl |
|---|---|
| Size | 253.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d78815ebddb8334bdc596de6cae305fad7a6c8df5a4bb6ac846d81cabfe366f
|
|
BLAKE2b-256 checksum How to use checksums |
a70ba1dc9614b8bb736f5ae9f14b55c57f9f35b343eded33349f051225d44e17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|