6 Commits

Author SHA1 Message Date
superGeometry d2c31b1669 Every long dash (—) in the project replaced with a plain hyphen (-): the app's texts, Help, README, comments, styles and tests (433 in 91 files)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:01:30 +02:00
superGeometry 411cfea6eb Stress everything: whole-project fuzz (every feature kind, saves and loads, earlier steps deleted and changed, exports), store and file-reader fuzz, a perf test. Fixes: a drag that came back to where it began left the project at its last in-between frame; undo snapshots kept a full copy of imported models each (100 edits with a 6 MB import: 770 MB → 100 MB, edits 11 ms → 0.1 ms); rebuild cache keys grew with the square of the project (now chained hashes: +73 MB → +1 MB, change rebuild 24 → 9 ms); DXF reading let NaN and zero-length curves into sketches; OBJ with broken face indices crashed with a raw error. Break-it generators shared in tests/fuzzkit.ts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:31:52 +02:00
superGeometry fcc12e2f70 Repair tool in the kernel: staged, shape-preserving fixes (tolerances and edge curves rebuilt, faces fixed, gaps sewn at growing tolerances, missing flat faces filled, hair-thin faces removed and their slot closed, split faces merged, skins made solid, inside-out turned round), each kept only if it helps without changing volume or size; edits that would be refused for gaps, bad faces or slivers are repaired automatically first (noted in History); Tools → Repair Body adds a Repair step (turns loose faces / imported meshes into a solid); health checks moved to kernel/health.ts; tests with shapes broken on purpose
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:02:47 +02:00
superGeometry 45cd9c2c05 Sketch constraints hardening: drags always end with every constraint exactly met (and go as far as they can), typed values are refused instead of bending the sketch, nothing shrinks to a dot, big changes no longer fold corners or turn arcs inside out, fillets keep their radius; solver works on arcs as centre/radius/angles, solves separate shapes apart, and is much faster; a randomized break-it test for constraints
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:46:28 +02:00
superGeometry 629134cf6a Edits work on real deep copies (replicad's clone() shared the shape), so a failed or refused edit can never change an earlier step's result; break-it test also checks that, with a quick default size
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 11:27:30 +02:00
superGeometry c041214f5b Geometry engine hardening: every solid edit is checked (one valid closed solid, no hair-thin faces, no crumbs, not split by edits that shouldn't split, no inside-out lumps) or refused with a message; hollow shells become solids with a void; booleans never modify their inputs (earlier steps could change after a failed edit); friendly fillet/chamfer errors; a randomized break-it test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 11:19:41 +02:00