mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 09:39:52 +00:00
A weeding line at v0 + k*step can round just past the edge of an outline segment that lies on it: across 0.1 to 0.5 the one line sits at 0.30000000000000004, and (0.30000000000000004 - 0.1) / 0.2 is 1.0000000000000002. The candidate range for that segment then came out empty, so the line was not stopped there and ran over the art's edge. The candidate range is now widened by a small tolerance before rounding; `near` still leaves out lines the segment does not meet. docs/mcp.md and the params text of `addon.cutting.weed` now state the `spacing` range (more than 0, at most 100000 pt), the 1000-line limit each way, and that a request giving both `count` and `spacing` is refused.