Files
NiJingzhe 8971279494 feat: the geometry engine is C++ on OpenCASCADE, one package, prebuilt wheels
The modeling API (shapes, operators, sketches, products, queries, the reactive graph) is implemented in
C++20 on OpenCASCADE (src/cpp) and ships inside the wheel as simplecadapi._cpp.  The Python layers that stay
Python (runtime, build, artifacts, editor, inspect, exporter, translators, scene) run on it unchanged; the
previous Python test suite passes on the new engine.

Layout: src/cpp and src/simplecadapi side by side, one distribution built by scikit-build-core.
simplecadapi.core, .operators.*, .ql, .std.* and the other legacy modules are real forwarding modules; the
Python adapter layer is simplecadapi/_glue.  OCP is no longer a dependency and nothing imports it.

Release: .github/workflows/release.yml builds wheels for Linux x86_64 and aarch64, macOS arm64 and Windows
x86_64 (Python 3.10-3.13) against one static OCCT, runs the test suite on the Linux wheels and publishes to
GitHub and PyPI; ci.yml caches the static OCCT for the test jobs.

Errors: every message the library writes is English; the tag-validation and semantic-query errors render in
full with possible causes and fixes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 02:55:35 +08:00

101 lines
2.0 KiB
Plaintext

# Python-generated files
__pycache__/
*.py[oc]
/build/
dist/
wheels/
*.egg-info
# Virtual environments
.venv
.env
output/
# Sandbox artifacts
sandbox/
design-doc/
# Generated skills archives
skills/*.tar.gz
# Compiled per-harness skill outputs (built by tools/skillbuild.py)
skills/simplecadapi-*/
.DS_Store
# CAD/export artifacts
*.step
*.stl
examples.py
# Browser viewer dependencies and build output
viewer/node_modules/
viewer/dist/
viewer/pnpm-lock.yaml
design-docs/
**/.vite/
# SimpleCAD content-addressed cache
.simplecad/
# ZCode session state and local MCP config
.zcode/
# Benchmark case collection (packaged offline for distribution)
examples/u_link_motor_mount/cases/
examples/histcad/
# Research tool scan outputs (generated by tools/research scripts)
tools/research/out/
tools/research/histjson/out/
tools/research/whucad/out/
tools/research/cadqueryftc/out/
tools/research/build123dftc/out/
.venv-cq/
# Source screen recordings stay local; compressed MP4/GIF derivatives are tracked
img/capability/*.mov
img/capability/逆向工具mvp.mp4
# marimo notebook state and cell cache (rebuilt on the next run)
__marimo__/
# Per-example generated artifacts (each example exports to its own out/)
examples/*/out/
examples/bowl_connector/re_work/
examples/bowl_connector/__pycache__/
examples/bowl_connector/.re_server.lock
session-audit-*.md
# Editor web UI (built into the package: `cd editor-web && npm run build`)
editor-web/node_modules/
editor-web/dist/
src/simplecadapi/editor/webui/
# The editor's per-workspace state (kernel log, snapshot, viewport image)
.sca-editor/
# Written by `sca edit` into a workspace to put marimo in lazy mode
.marimo.toml
# Local tooling and private work, never part of the repo
sandbox-envs/
.omp/
.claude/
.agents/
.sharednet/
design-docs/
# local, not part of the SDK
examples/workspace/
phase2-contract-review.md
# the C++ extension built in place (see src/cpp/bindings/python/CMakeLists.txt)
src/simplecadapi/_cpp/*.so
src/simplecadapi/_cpp/*.pyd
src/simplecadapi/_cpp/*.dylib