mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 18:25:34 +01:00
Since craft-libs#721 the sweep places output curves on their inputs near a flat end. Where a ring's hole and a disk share a circle, it now puts the two copies of the circle less than the flattening tolerance apart where they leave a vertex. leaving_angle flattened each edge, after its ends were moved onto the vertex, so the two copies could swap places around the vertex and a face was lost: at unit size the ring's face reported the disk as its source, and livePaint.make gave 2 faces instead of 3. leaving_angle now measures each edge as the sweep placed it, before its ends were moved, and finds the point at distance r on the curve itself by bisection.