Skip to main content

Foundation library for CADbuildr - Core types for parametric CAD

Project description

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/render with format=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 with framing and return the JSON body.
  • build_screenshot_framing(...) — build the framing dict (view, optional zoom, camera_position, target, up; plane is accepted as a legacy alias for view).

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cadbuildr_foundation-0.2.7.tar.gz (100.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cadbuildr_foundation-0.2.7-py3-none-any.whl (210.4 kB view details)

Uploaded Python 3

File details

Details for the file cadbuildr_foundation-0.2.7.tar.gz.

File metadata

  • Download URL: cadbuildr_foundation-0.2.7.tar.gz
  • Upload date:
  • Size: 100.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for cadbuildr_foundation-0.2.7.tar.gz
Algorithm Hash digest
SHA256 8f2819d9e953df28c3b57fbb5584258c3980ff15dd0b786d4d738e95e349ac3a
MD5 5488456fd4a5d5560dda63efad3d7675
BLAKE2b-256 3262be5af576c1a6ac806d6840e1317945385ebf79993d48094592388742a7e4

See more details on using hashes here.

File details

Details for the file cadbuildr_foundation-0.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e9425f115e10048053ac3a2d839aec8ec6cc01908bc72392d41aa4848bcd0bb6
MD5 52802c850bda2a5fbc29067905b67c9b
BLAKE2b-256 366bb127f0e9264e250912235faa83e456a2959b3b6fbe2030ae8c802c6afb45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page