mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 21:44:57 +00:00
An inset ring limited a corner's miter by moving the corner four times the bevel width along its bisector. At a corner sharper than about 29° that the bevel opens (a convex corner with the bevel outside, a notch with it inside), the bevel still ran out to a spike up to four times the width and no longer lined up with the art. With the bevel outside, the wall behind it spiked the same way. Such a corner is now given twice in the outline before the solid is built, and each copy moves along its own edge's normal, so the bevel (and, with the bevel outside, the wall) cuts the corner square, as a bevel join cuts a stroke. Corners within the limit keep their miters, and corners where the inset edges meet keep the four-times limit. A cap's outline skips the straight segment of no length between the two copies where they do not move apart. Docs: docs/three-d.md, docs/target-app-parity.md.