feat(syntax): axiom 4 — project a point onto a line #16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/axiom4"
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?
Adds axiom 4 —
map .p onto --l1 perp --l2— the fold that projects point.ponto line--l1with a crease perpendicular to--l2.Classic Justin operation ④, which is Wikipedia/Huzita-Hatori O7 — not Wikipedia O4 (that numbering is the already-shipped axiom 3, perpendicular-through-a-point). Beloch tracks classic Justin numbering throughout; the spec and journal spell the clash out so it isn't re-conflated.
Geom.project_crease— pure construction: line through.pparallel to--l2, meet--l1atQ, perpendicular-bisect.p–Q. Stays in ℚ, no square roots — unlike axiom 5.towardselector. Errors when--l1 ∥ --l2; when.palready lies on--l1, the crease is the perpendicular to--l2through.p.examples/project.bel(project a corner onto the diagonal, crease ⊥ an edge).Worked example —
examples/project.bel: fold corner.conto a slanted line--l1(slope ½), with the crease forced perpendicular to a second slanted line--l2(slope 2). Neither line is a diagonal.Crease pattern — the
axiom 4 · projectcrease (orange) sits perpendicular to--l2:Folded —
.clands on--l1; the V-tip of the flap is the projected corner: