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.10.tar.gz (116.0 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.10-py3-none-any.whl (222.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.10.tar.gz
Algorithm Hash digest
SHA256 c3b18f7f0d860e53144de2f0d1f6afd47bc1dd7845c3d014e50c98f704755907
MD5 edf39a8f2192931613e70f87e73e1aee
BLAKE2b-256 00b1b12fb2a8f4159986556c7a56b950c07b8f4e523a2757beaf17a396a9a41d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7896cb8786053d0fb92b90a0c5bfafde86836db3db66760e6c1abcba713f1f3c
MD5 9b2ee602393185702bf8a3649a028719
BLAKE2b-256 03acaa51b8284b80ace2fd8ead19ea5ff5e8a7c833a688bc3c28fd09000cd94b

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