Commit Graph
164 Commits
Author SHA1 Message Date
Brennen HerbruckandClaude Opus 5.5 b5853aec6c Wave 58/509: kernel-cases: sweeps lofts from #271-#3412 (zig-zag pairing, ring sections, flush joins and cuts)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 739524a17 Brennen Herbruck: kernel-cases: sweeps lofts from #271-#3412 (zig-zag pairing, ring sections, flush joins and cuts)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:20:15 -04:00
Brennen HerbruckandClaude Opus 5.5 3c66261621 Wave 57/509: kernel-cases: threads cases from modelled-thread reports (2 of 2), skipped sources
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- ead88e582 Brennen Herbruck: kernel-cases: threads cases from modelled-thread reports (2 of 2), skipped sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:17:39 -04:00
Brennen HerbruckandClaude Opus 5.5 5f8a58956f Wave 56/509: kernel-cases: threads cases from modelled-thread reports (1 of 2)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 04135da96 Brennen Herbruck: kernel-cases: threads cases from modelled-thread reports (1 of 2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:17:39 -04:00
Brennen HerbruckandClaude Opus 5.5 98c7b65864 Wave 54/509: kernel-cases: fillets skipped sources (287)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 5a6a91ebb Brennen Herbruck: kernel-cases: fillets skipped sources (287)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:11:03 -04:00
Brennen HerbruckandClaude Opus 5.5 5675da8ee9 Wave 53/509: kernel-cases: fillets correct the union volume quoted in 1262
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 3dc7f90e6 Brennen Herbruck: kernel-cases: fillets correct the union volume quoted in 1262

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:11:03 -04:00
Brennen HerbruckandClaude Opus 5.5 b77d6f2df9 Wave 52/509: kernel-cases: fillets pattern and G2 cases from #193, #219, #862, #1488, #2341, #2708, #2811
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- d235bd7a0 Brennen Herbruck: kernel-cases: fillets pattern and G2 cases from #193, #219, #862, #1488, #2341, #2708, #2811

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:08:48 -04:00
Brennen HerbruckandClaude Opus 5.5 24e1e79cde Wave 51/509: kernel-cases: fillets outline and corner cases from #237, #334, #485, #556, #851, #1207, #1213, #1262, #1557, #1667, #2498
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- cc3f8b178 Brennen Herbruck: kernel-cases: fillets outline and corner cases from #237, #334, #485, #556, #851, #1207, #1213, #1262, #1557, #1667, #2498

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:08:47 -04:00
Brennen HerbruckandClaude Opus 5.5 eaf1fcf436 Wave 50/509: kernel-cases: fillets refusal, fit and straight-edge cases from #190, #199, #324, #896, #1668, #2752, #2852, #3369, #3435, #4141, #4143
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 18af04b91 Brennen Herbruck: kernel-cases: fillets refusal, fit and straight-edge cases from #190, #199, #324, #896, #1668, #2752, #2852, #3369, #3435, #4141, #4143

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:08:47 -04:00
Brennen HerbruckandClaude Opus 5.5 5cdff8906e Wave 49/509: kernel-cases: fillets chamfer cases from #814, #1080, #1390, #1986, #2672, #2719, #2797, #2907, #3655, #3779, #3868, #4055, #4101
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- aefca3452 Brennen Herbruck: kernel-cases: fillets chamfer cases from #814, #1080, #1390, #1986, #2672, #2719, #2797, #2907, #3655, #3779, #3868, #4055, #4101

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:08:47 -04:00
bherbruckandClaude Opus 5.5 dd6ab191aa Wave 48/509: kernel-cases: booleans from #3404-#4124 (28 cases, 76 skipped)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 6a9b8fd74 bherbruck: kernel-cases: booleans from #3404-#4124 (28 cases, 76 skipped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:57:04 -04:00
Brennen HerbruckandClaude Opus 5.5 bf818a3fc0 Wave 47/509: kernel-cases: sheet-metal skipped sources (87)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 0ae42f411 Brennen Herbruck: kernel-cases: sheet-metal skipped sources (87)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:54:30 -04:00
Brennen HerbruckandClaude Opus 5.5 69ac6ffabd Wave 46/509: kernel-cases: sheet-metal tray and unfold cases from #349, #405, #436, #514, #723, #1797, #3417
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 676670ba8 Brennen Herbruck: kernel-cases: sheet-metal tray and unfold cases from #349, #405, #436, #514, #723, #1797, #3417

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:54:30 -04:00
Brennen HerbruckandClaude Opus 5.5 7710849823 Wave 45/509: kernel-cases: sheet-metal convert and unfolded tray cases from #479, #488, #723, #725, #839, #1092, #1285, #1481
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 474f60853 Brennen Herbruck: kernel-cases: sheet-metal convert and unfolded tray cases from #479, #488, #723, #725, #839, #1092, #1285, #1481

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:54:30 -04:00
Brennen HerbruckandClaude Opus 5.5 90820291dc Wave 44/509: kernel-cases: sheet-metal flange and cut-out cases from #416, #529, #570, #601, #634, #659, #702, #978
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 943a7d66b Brennen Herbruck: kernel-cases: sheet-metal flange and cut-out cases from #416, #529, #570, #601, #634, #659, #702, #978

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:54:30 -04:00
Brennen HerbruckandClaude Opus 5.5 e1e7b4fceb Wave 43/509: kernel-cases: sheet-metal cut-out, flange and refusal cases from #296, #1095, #1280, #1295, #1311, #1979, #3078, #3234, #3324, #3353
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- b13155cbb Brennen Herbruck: kernel-cases: sheet-metal cut-out, flange and refusal cases from #296, #1095, #1280, #1295, #1311, #1979, #3078, #3234, #3324, #3353

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:54:30 -04:00
Brennen HerbruckandClaude Opus 5.5 0b25fe582c Wave 42/509: kernel-cases: sheet-metal convert and hole cases from #774, #1040, #1092, #3316, #541, #542, #560, #955
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- a11a736ce Brennen Herbruck: kernel-cases: sheet-metal convert and hole cases from #774, #1040, #1092, #3316, #541, #542, #560, #955

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:49:22 -04:00
Brennen HerbruckandClaude Opus 5.5 06bdfc1c13 Wave 41/509: kernel-cases: sheet-metal fold cases from #262, #264, #638, #639, #685
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 3c465e680 Brennen Herbruck: kernel-cases: sheet-metal fold cases from #262, #264, #638, #639, #685

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:49:22 -04:00
bherbruckandClaude Opus 5.5 9f47145da7 Wave 40/509: kernel-cases: booleans from #2896-#3383 (11 cases) and the skipped list
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 611567c63 bherbruck: kernel-cases: booleans from #2896-#3383 (11 cases) and the skipped list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:50:11 -04:00
bherbruckandClaude Opus 5.5 73056666a6 Wave 39/509: kernel-cases: booleans from #2564-#2896 (11 cases)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 6cf966bd5 bherbruck: kernel-cases: booleans from #2564-#2896 (11 cases)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:50:11 -04:00
bherbruckandClaude Opus 5.5 6d72c526bf Wave 38/509: kernel-cases: booleans from #13-#2534, first half (30 cases, 73 skipped)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 48db4fa2c bherbruck: kernel-cases: booleans from #13-#2534, first half (30 cases, 73 skipped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:49:10 -04:00
Brennen HerbruckandClaude Opus 5.5 059d9654c1 Wave 37/509: kernel-cases: tessellation skipped sources (253)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 035aa6512 Brennen Herbruck: kernel-cases: tessellation skipped sources (253)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:48:32 -04:00
Brennen HerbruckandClaude Opus 5.5 d747b2f970 Wave 36/509: kernel-cases: tessellation cases from #311-#2712 (14 cases)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 8ff1b2a65 Brennen Herbruck: kernel-cases: tessellation cases from #311-#2712 (14 cases)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:48:32 -04:00
bherbruckandClaude Opus 5.5 8b023a06be Wave 35/509: kernel-cases: crashes and hangs from the #140-#4149 reports (9 cases, 45 skipped)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 02712a003 bherbruck: kernel-cases: crashes and hangs from the #140-#4149 reports (9 cases, 45 skipped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:47:59 -04:00
bherbruckandClaude Opus 5.5 906cb69d6f Wave 34/509: kernel-cases: import from #1721-#4006 (19 cases, 59 skipped)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 0eae22a5e bherbruck: kernel-cases: import from #1721-#4006 (19 cases, 59 skipped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:43:31 -04:00
bherbruckandClaude Opus 5.5 82983c2e63 Wave 33/509: kernel-cases: shell and offset from #12-#4144 (21 cases, 59 skipped)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 771a48e4f bherbruck: kernel-cases: shell and offset from #12-#4144 (21 cases, 59 skipped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:42:46 -04:00
bherbruckandClaude Opus 5.5 9e3d118f54 Wave 32/509: kernel-cases: the no-keyword kernel items, #25-#4148 (4 cases, 98 skipped)
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- c3a0b0951 bherbruck: kernel-cases: the no-keyword kernel items, #25-#4148 (4 cases, 98 skipped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:40:18 -04:00
Brennen HerbruckandClaude Opus 5.5 03e3bee095 Wave 31/509: kernel: boolean runner grades the seeds against a reference volume (and 1 more)
2 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- a7c0109ea Brennen Herbruck: kernel: boolean runner grades the seeds against a reference volume
- 7bb74d1c6 bherbruck: kernel-cases: an smlib feature for the CLI, and no grading of a kernel the build isn't running

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:31:54 -04:00
bherbruckandClaude Opus 5.5 9f1b47d689 Wave 30/509: kernel-cases: a regression rig that grades each kernel against the case's own answer
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 732fd2ace bherbruck: kernel-cases: a regression rig that grades each kernel against the case's own answer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:23:10 -04:00
jyvikoandClaude Opus 5.5 4b72c3e257 Wave 7/509: naming: the corpus rebuilds with the same names and references
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- a55196e7a jyviko: naming: the corpus rebuilds with the same names and references

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-20 23:06:27 -04:00
Dahak BuildsandDahak Builds 8630a3f0e5 External STEP corpus: nightly import checks (#1397) (#6407)
* claim: #1397

* External STEP corpus: nightly import checks on real-world files (#1397)

tests/external-corpus.toml pins 20 real-world NIST PMI STEP files (AP203
geometry-only and AP242 editions from several vendor exporters, public
domain) by archive and per-file SHA-256 with the licence recorded.

cargo xtask external-corpus downloads each source once into the gitignored
corpus/external/, verifies every hash, imports each file headless
(file.insert_step + inspect.measure) and checks body count, total volume
(0.1 %) and area (0.5 %) within tolerances and time and memory budgets.
A file whose upstream hash changed is reported as 'source changed', never
as our failure. --bless "why" re-records expectations in the manifest with
a dated reason. The External corpus workflow runs it nightly.

assets: skip corpus/ when scanning for attribution (downloaded case data
is never committed).

---------

Co-authored-by: Dahak Builds <dahakbuilds@users.noreply.github.com>
2026-10-26 12:26:36 +00:00
wckdboyandClaude Opus 5.5 743accca7a Triangulation: split a crossing boundary segment ourselves, never in spade's assert (#4031) (#5409)
* claim: #4031

* Triangulation: split a crossing boundary segment ourselves, never in spade's assert (#4031)

A trimmed face's boundary segment that crosses a constraint already in the
triangulation went to spade's add_constraint_and_split, which asserts
(cdt.rs:978, `!previous_region.is_empty() || from == final_vertex`) when a
split lands so near another vertex or constraint that the piece up to it is
blocked. The kernel guard caught it, but the whole operation failed and a
crash report was written; a STEP body imported empty or not at all (#4598,
also #4293, #4478, #5068, #5229).

PolyBoundary::add_constraints now adds every segment that can be added, then
splits each blocked one itself: a vertex at each crossing, inserted from the
crossed edge's own vertex, and the pieces between added where they can be. A
segment with crowded or very many crossings, or a face with more than four
blocked segments (a rim that runs back and forth across itself), leaves them
out, as truck did before #1653, so the face meshes slightly off instead of
not at all. Pinched faces (#1648) still split where they cross.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 02:55:24 +00:00
Benny1496 efd0e70f7d fix(oracle): use curvature-weighted centroid moments for case 33 (#5442)
* fix(oracle): use curvature-weighted centroid moments for case 33

* style(oracle): preserve reference JSON numeric formatting

* docs(oracle): remove transient case 33 validation note
2026-10-25 02:30:39 +00:00
592f6a6fee ci: fix local scheduling and Windows test baselines (#4941)
* ci: repair local nextest scheduling and Windows fixtures

* test: refresh MSVC robustness references and isolate GNU policy

Integrate the Windows reference records from #3361 and the target-environment
selection and recording policy from #4159. Keep shared records and comparison
tolerances intact, and retain seed 36 as an existing failure tracked by #3583.

Co-authored-by: Ray <raykholo@users.noreply.github.com>
Co-authored-by: chris <christopher.nourse@gmail.com>

* test: make CI subprocess and revolve fixtures deterministic

---------

Co-authored-by: Ray <raykholo@users.noreply.github.com>
Co-authored-by: chris <christopher.nourse@gmail.com>
2026-10-24 11:33:10 +00:00
bherbruckandClaude Opus 5.5 688124937d Chamfer: a cutter that would reach into a nearby wall is not used (#4539)
* Chamfer: a cutter that would reach into a nearby wall is not used

A straight chamfer's cutter reaches several times the chamfer's size out
from its edge, and further on a larger part. On a pin standing in a socket,
that far side lands inside the socket's walls, and the cut took bites out
of them. A cutter whose far side is inside the part is now refused, as one
whose ends are, and the chamfer is built locally instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Robustness goldens: seed 9 re-recorded for the chamfer cutter check

A chamfer in seed 9 was refused because its result changed more of the
part than a chamfer can. With its cutter refused, it now builds locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 20:05:35 -04:00
NOWN-DEVandClaude Opus 5.5 63cb48a4ee Measure: a body whose meshes leave a gap keeps its volume wherever it is (#2069)
* Measure: a body whose meshes leave a gap keeps its volume wherever it is

A part ring cut by solid.combine (two prisms through its ends, a notch
through its chamfer) measured 992.03 mm3 at the origin, 999.17 moved
100 mm and 1063.48 moved 1000 mm; it encloses 993.92. The reference
mesher leaves a crack where the notch meets the chamfer's cone: the
volume beside it is left out, and the divergence-theorem sums, taken
about the world origin, close the crack by a cone to the origin, so the
error grows with the body's distance from it.

A closed surface's area vectors sum to zero. When the picked meshes'
sum could move the volume by more than 1e-5 within the body's size, and
the display plan (which shares every edge's nodes between its faces) is
closed, the body is measured on the plan, about its box centre. Every
other body measures exactly as before.

Tests: the cut ring at the origin and moved by up to 10000 mm, against a
grid quadrature of the cut; a revolved ring of cones and cylinders moved
100/1000/10000 mm along each axis (1e-6); a cylinder and a frustum far
from the origin against hand values. Robustness seed 64 moves by 1.4e-6
and is recorded.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Measure: a gap the display plan can't close is measured about the box's centre

When the meshes leave a gap and the display plan isn't closed either, the
sums used to fall back to the origin-based volume, which drifts with the
body's distance from the origin (7 % at 1000 mm for the part ring). The
per-face sums are now taken about the fine mesh's box centre, which closes
the gap by a cone to a point inside the body; over a closed mesh nothing
changes. The gap decision moves into gap_closed, and a unit test with a
cube left open by hand covers closed vs open meshes, the closed plan, and
the fallback with an open plan or none.

Seeds 14, 20, 40, 55 and 61 end with such a body and are recorded with
ROBUSTNESS_GOLDENS_BLESS (volumes move by -0.51 %, +0.16 %, +1.9e-4,
+9.0e-5 and -1.5e-5; steps, outcomes and counts unchanged).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Record robustness seed 86 after measuring bodies whose meshes leave a gap

Seed 86 was added on main by #2387 after this branch's goldens were recorded. Its last
body leaves a gap in its meshes, so the measure change here moves its volume by -0.27 %
and its area by +0.13 %; steps, outcome and counts are unchanged. Seed 86 passes
unchanged on main 57d21013. Every other seed matches on the merged branch.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* measure: take the display plan only where it agrees with the sums to within what the gap could move

A closed display plan meshed less finely than the sums differs from them by its own chord error,
which can be larger than anything the gap explains: an imported part with small blends measured
0.03 % low on its plan. The plan is now taken only where the two differ by at most what the
gap's area could move the volume within the body's size; otherwise the sums about the box's
centre stand.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* measure: sum a mesh left open about its box's centre only, without the display plan

The closed display plan meshes some faces of an imported B-spline part
more coarsely than the sums do, so a body and its boolean pieces no
longer add up: clearance's union cross-check then refused a 17.3 mm3
overlap between two such parts (the pieces implied 20.5). Summing about
the box's centre alone keeps the gap closed by a cone to a point inside
the body and stays consistent with the pieces. Seeds 64 and 86 are
re-recorded with the reason.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* measure: placement tests in the area's test files

The ring and frustum tests join measure.rs's tests, and the cut ring
joins measure_centre_tests.rs (AGENTS.md: a regression test goes into
the existing test file for its area). The goldens note for seeds 14, 20,
40, 55 and 61 describes the centre-only sums.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* measure: keep the origin for a body left open on purpose

A surface, or a cup whose lid is still a separate sheet, has no volume of
its own. Measured about its box's centre, two such bodies stopped
comparing once the centre moved (a crowned lid rises), which broke the
patch crown test. Only a mesh with a small crack is measured about the
centre now.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Aac7mP9rthK3WsPpPRvCsF

* Robustness goldens: keep main's notes, one note for this change's seeds

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Aac7mP9rthK3WsPpPRvCsF

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 00:57:03 +00:00
bherbruckandClaude Opus 5.5 438abbcf82 STEP conformance sweep: the cones to a point read right now (#258) (#3901)
cone_point and cone_point_vertex join the sweep now that #3871 reads a cone
bounded only by its base circle up to its point.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 00:03:46 +00:00
bherbruckandClaude Opus 5.5 fc3dedfd5c STEP import: regression sweep over the step-conformance parts of known shape (#3880)
* STEP import: regression sweep over the step-conformance parts of known shape

Fifteen generated parts from step-conformance (CC0): plain, NURBS, seamed,
placed, inch and far-away cylinders, domes, a grooved shaft, a plate with 100
holes, a 3.6 m disc, a 0.5 mm pin, a B-spline half-torus and a washer. Each
reads back with its exact volume, its box and its face count. The half-torus
on a TOROIDAL_SURFACE and the cones to a point are left out until they read
right.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* STEP conformance sweep: the pin's volume as FRAC_PI_8 (clippy)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 23:07:47 +00:00
Nathan Dane 57aad71bbe Window frame with page list and the confirm dialog on the UI kit 2026-10-20 21:01:25 +02:00
Nathan Dane 1122cd44b8 UI library, tokens, fonts and icons (step 5 of #2016, after #2287) 2026-10-20 21:00:56 +02:00
932d8d6b4f Tessellation: trimmed faces of display meshes stay on their surfaces (#1653)
* Tessellation: trimmed faces of display meshes stay on their surfaces

Display meshes triangulate a trimmed face in parameters scaled by the
surface's speed along each, so a strip stretched along one parameter is
not fanned across, and every boundary segment stays a constraint: one that
crosses another is split where they meet. Boolean meshes keep truck's way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LGeCa5jWWdroMWvXxN3LLM

* Tessellation: one boundary rule for every mesh; drop the #1648 retry

A boundary segment that crosses one already added is split where they
meet in Boolean meshes too, which keeps a pinched face (#1648) whole
without the snap-and-retry. Faces whose segments all go in mesh as
before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LGeCa5jWWdroMWvXxN3LLM

* Robustness goldens: seeds 1, 23, 55, 64 and 86 re-recorded on current main for #1653

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QWhMwdqJYQKQq8RCLSL1LT

* Thread preview test: wait for the stale fit error to clear before the next preview

After switching back from M6x1.3 to M8x1.3, wait_feature_preview stopped at the M6 error still on
screen when the new preview started a few frames later (seen on Linux CI with #1653's meshing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QWhMwdqJYQKQq8RCLSL1LT

* Robustness goldens: the slow seeds 14, 20 and 40 re-recorded for #1653 from the merge queue

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QWhMwdqJYQKQq8RCLSL1LT

---------

Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 16:49:45 +00:00
Artem Sushchev ae2ab87b99 Cut: a body with a sealed void no longer comes out empty (#3175)
truck placed a face that no intersection divides (every face of a shell
that meets nothing of the other) by counting the faces a ray crosses,
taking each face's surface as stored. A revolved body's reversed faces
counted the wrong way, and an inward shell (a void, a cut's inverted
tool) was read as a solid: a cut beside a sealed void came out empty,
refused or, with a tool whose bounding box covers the target, taken with
the body gone. Intersections of such bodies came out empty as well.

In an AND the crossings now count as each face is oriented, and an
inward shell holds what lies outside it. An OR keeps truck's count.

The corrected cut let a folded offset through: an arc edge next to a
face it meets tangentially had its ends moved past its middle, and the
arc went the long way round (robustness seed 73's shell). The offset
refuses an arc whose middle crossed its chord, as it does a straight
edge that turned round.

Goldens: seeds 0, 45 and 77 had a cut refused as empty that now takes
what it should; their volumes are checked by hand in the PR.
2026-10-20 10:30:13 +00:00
Mateusz SychandMateuszSychXpl 8a562f2719 Mesh faces whose boundary touches itself within tolerance (#1648) (#1850)
A face pinched to a point, where its boundary touches itself or another of its loops within
TOLERANCE (a sphere touching a box's edge leaves one on the box), had a constraint refused by the
CDT, and the fallback cut across the face: it came out with no triangles or without those at the
pinch. When a constraint is refused, the vendored truck-meshalgo now puts every boundary point
within TOLERANCE of a segment into it (at most 8192) and triangulates the face again. Faces whose
segments all go in mesh as before.

The regression tests live in crates/kernel/src/thin_face_tests.rs, and the #1648 property test in
boolean_props.rs is no longer ignored. Robustness seeds 20 and 55 are recorded with their Linux
values.

Co-authored-by: MateuszSychXpl <151755914+MateuszSychXpl@users.noreply.github.com>
2026-10-20 08:28:21 +00:00
Artem Sushchev 80719744cf Union: when the slab past pushed-apart coplanar faces can't be cut off, trim it by editing faces (#2801) 2026-10-20 02:11:23 +00:00
Colin Faulkingham b622a46624 Fix large modeled threads and thin crest reconstruction (#2209)
* Fix large modeled threads and thin crest reconstruction

Helix stations follow the pitch (radial chord error under 1% of it, 48 to
720 stations), and the faceted rebuild retries at the BSP's precision when
the usual weld tolerance collapses a thin crest facet.

Rebased onto main as one commit (the branch's own commits touched UI files
that later moved to #2263 and #2264). Adapted to main's UnitVec3 thread
axis: `*k` in thread_groove and `*cylinder.axis` in the new flange test.

* Fix icon review revisions for same-timestamp edits
2026-10-20 00:06:44 +00:00
rlartot 31b41978fc Construction geometry on model vertices follows them when a parameter moves them (#568) (#2409)
Thanks @rlartot.
2026-10-19 16:11:38 -04:00
45d0b6053b Icon tools: hashes and palette revisions ignore CRLF checkouts, text I/O is UTF-8 (#1930) (#1931)
On Windows, Git's default core.autocrlf checks the icon masters and the
palette out with CRLF, and `cargo xtask icons` failed four ways:
- the accepted-icon hashes (lint_icons.py and the review page's
  review_state.master_hash) were taken over the files' bytes, so every
  accepted icon read as changed; both now use master_hash, which hashes
  the text with CRLF read as LF;
- icon_palette.revision hashed the bytes while save_colours hashed the
  text it read, so every palette save was refused as stale; revision now
  reads the text too;
- the tools and their tests read and wrote text in the locale's encoding
  (cp1252 can't write U+2194); they now say utf-8;
- the icon inventory listed UI files with backslashes; it writes /.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: bherbruck <brennen.herbruck@gmail.com>
2026-10-19 16:04:49 -04:00
Victor Santos Oliveiraandbherbruck 6f93e7a851 fix(examples): cut both mounting holes in the bracket (#1515)
Co-authored-by: bherbruck <brennen.herbruck@gmail.com>
2026-10-19 16:04:23 -04:00
phanoob 6b1fc16d47 Sketch projection: a solid's edges come in as their exact curves (#1508)
Thanks @phanoob.
2026-10-18 21:23:11 -04:00
bherbruck 3a1e1eed39 Merge pull request #2267 from tangency-labs/ci/slow-runner-timeouts
Tests: more time for the web offline launches and the icon review server
2026-10-18 21:16:09 -04:00
fkirill 9ee2de9a0f Fix drilled hole cuts through tapered walls (#2387) (#2401)
Rebase the complete PR change onto current main, preserving changes previously stored in merge commits.
2026-10-18 21:16:06 -04:00