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.9.tar.gz (155.3 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.9-py3-none-any.whl (220.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cadbuildr_foundation-0.2.9.tar.gz
Algorithm Hash digest
SHA256 3181bab9c99170b3b8fd1a3b042bbc67825c4f435959fca9a91376723db493a8
MD5 7e9205aba3d89e573bb8c2b1e1f9c67c
BLAKE2b-256 30038335eceb0de063fbc49d9481c559b4e87adca36c8d45836f2c5c248c54f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f5f9d2a62e67a37afa90f6e79246f4c92f61e194a0f965ed5b0cdff35131c547
MD5 017b2da24f6553eb149caa254cf7fa22
BLAKE2b-256 2a6e18598814c1a03381fb4b576e1ab08b8d75f6df0efd589764917ffaf6f8e8

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