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.8.tar.gz (100.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.8-py3-none-any.whl (210.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cadbuildr_foundation-0.2.8.tar.gz
Algorithm Hash digest
SHA256 82a43fb69a49a972522bee13cc317c50ef994b022a6c462c90164b4cd99cad5c
MD5 d9926341ea0129829511142c7fe136d7
BLAKE2b-256 abcfbe4a5b45488f9c71887a4953211ba0d26eb0bd8bef9e4c977f2ddb5d081b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cadbuildr_foundation-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 03689f9696e25d305593d9f8bc08a98860788be7de4d3afa9f83f78fb0b40389
MD5 318bcac44856fad8d35104e0edabd735
BLAKE2b-256 5035602c816cbe2eb3f9eb294e45b5095a604409c188fdd7e7df0da1afe673ed

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