feat(fold): taco-taco and taco-tortilla validity checks #62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/taco-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For #47.
Implements the two crease non-crossing guards deferred from #28 (design §8), now that per-edge
left/rightadjacency (#26/#40) andneighbors/crease_piece_on_face(#43) are available.a|bwhose crease line crosses the interior of a third facecmust not havecstacked betweenaandb.{a,b}/{c,d}must not interleave in the stack (exactly one ofc,dbetweena,bis a crossing).Both bottom out in the exact
Geom/Numsign layer (segment/interior clip, collinear-overlap test) and are gated on genuinely folded, overlapping tacos — so boundary-coincident creases route to taco-taco, not taco-tortilla. Errors name the offending faces/creases. Grounded in [hullzakharevich2023, §2.1].Guards only: no current
.belcan reach them — the surface language emits only simple folds, which are always flat-foldable — so the tests construct the violating states directly. A tripping.belneeds the pocket-tuck op, tracked separately.