The builders keep the first candidate angle whose Boolean is valid; which one that is
depends on last-bit floating point of the helix sweep, so it differs between platforms.
The angle and the topology counts it implies are dropped from the comparison.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Areas, volumes and bounding boxes of the parity tests come out of OpenCASCADE's numerical integration and
optimisation, which differ between OCCT builds at the 1e-5 level. GEOMETRY_REL (ref.py) is the default of every
comparison helper; counts, names, ids and strings are still compared exactly. Replaces the per-name exception for
the modeled-thread areas.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
OpenCASCADE's integration over the B-spline thread faces differs between builds at the 1e-5 level (the static OCCT of
the Linux wheels against the reference's); the geometry is the same.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
First runs of the release workflow on GitHub found portability errors that the local toolchains accept:
- Apple clang 15 (Xcode 15.4) cannot capture a structured binding in a lambda (role_tags.cpp);
- windows.h defines near and far as empty macros: parameters and locals named near/far/small are renamed
(probes.cpp, sketch/diagnostics.cpp and the C++ tests).
Checked the whole C++ tree with clang 15 + libc++ 15: no other failure.
Workflow: a platforms input for dry runs, Ninja with -k 0 on Windows (all compiler errors in one run), the static
OCCT cache is saved even when the wheel build fails, setup-uv without a cache where nothing is cached.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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>