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.11.tar.gz (158.8 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.11-py3-none-any.whl (222.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.11.tar.gz
Algorithm Hash digest
SHA256 b6328d4a9530fa9ebb467317454d133b5788d09dc8e889c4bae937a01a2c8cbe
MD5 50f9cd9aa314ce033e16ee6465a536c1
BLAKE2b-256 65323c7d17b78e63b9a5c5dd6f9ae7ab1d180f490926529e239b29f12d1d72b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 3acd702e852fcd0cf6a9d02da7ee32633366316267bc0b6b5baabebec59a1782
MD5 e5227311dc50114be7b882237807b7db
BLAKE2b-256 cac406eeaa267ed55b49bc083d5a8f77e5fbdb7926f4c84378b3c292b406c04e

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