1 Commits

Author SHA1 Message Date
superGeometry 52d03e4dde Engine hardening: a mutation sweep of real projects, and the fixes it found
- A step with a size typed far too big (an axis a billion mm away) ran the
  engine out of memory showing it, and every step after failed with engine
  words. Now refused at once: nothing may reach past 10 km from the origin,
  or be scaled away to a speck; a huge shape's mesh is no finer than
  1/50 000 of its size.
- A step whose saved values are broken (a direction that is an empty list,
  a number missing from a point) could hang a rebuild for minutes. Refused
  as damaged, at once; code-level errors read as words, not "x is not
  iterable".
- The engine breaking down (out of memory, a fault inside OpenCascade): a
  fresh one is loaded and the rebuild done again; a step that breaks a fresh
  engine too is refused from then on, the rest of the project still built.
  Past 1200 MB the engine is replaced before the next rebuild.
- Freeform Face: on outlines with inward corners (L, T, U) one point pulled
  out by the corner folded the face over: points of the cage's surface past
  the face's edge are left out, and a fill that fails is tried through
  fewer points. A triangular face takes a cage.
- Tests: mutate (real projects replayed with one value of one step changed
  to 0, negative, tiny, huge, nothing, a missing reference: refused in
  words or left sound, never a crash or minutes), leak (the engine's memory
  cost of a rebuild, step by step), harden, and the L / T / U / triangle
  faces.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 00:17:32 +02:00