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.12.tar.gz (160.6 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.12-py3-none-any.whl (231.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.12.tar.gz
Algorithm Hash digest
SHA256 bdad8b1d602433b48fabe7276bf78a34de49635fa5b5bab6d1633499cc90b066
MD5 bc599240ce7613fcf87c9affe98fbf9e
BLAKE2b-256 fb2a2a06dacc83e02841262e802a916f2c036512d94c0dfec9683604edf43785

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 a0a40d80361b2e9a9616481c0f38bb951d646f65f8194e7904c17e2f51adc72d
MD5 541802e009193946851bdd84478c50d9
BLAKE2b-256 f875fb22a1f7d07387af32da18713a642eb23f4bba903111e6023a2c7a005efd

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