mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 21:56:24 +00:00
Object › Plug-ins › Cutting Tools › Stencil Bridges… (`addon.cutting.bridges`) cuts strips of a set width out of the selected art so that a stencil cut from it holds together: every island (the inside of an O, A or 8, a hole in a shape) stays joined to the sheet, directly or through another island. Bridges take the shortest crossings that fit first, then spread around each island up to the count asked for, at least two widths apart. They run vertically, horizontally or along the shortest crossing among 12 directions 15° apart. - The art is measured by the area its outlines enclose, whatever their paint, with hidden objects left out; type by its glyph outlines, without converting the type. The result is one compound path with the strips cut out, painted as the topmost selected shape with outlines, in the place of the topmost selected object with outlines. Selected objects with no outlines in the art stay where they are. - Keep Original (on by default) moves the selected objects that make up the art to a new hidden layer, Stencil Original; off replaces them. - Art with no islands, or none a bridge of the width fits, is left as it is with a message and no undo step. Islands the cut result still encloses are counted in `unbridged`, with a message. Otherwise the run is one undo step. - Curves are followed within a twentieth of the width (0.002 to 0.25 pt). Art that reaches more than 10000000 pt from the origin or has more than 200000 anchors is refused before it is combined. Art is also refused when its combined area has more than 4000 outlines, when its outlines need more than 200000 straight segments, or when placing the outlines or joining every island takes more work than a fixed budget allows; when the budget runs out while extra bridges are added, the bridges found so far are kept. Tests in vectorcraft-pathops, vectorcraft-engine and vectorcraft-ui-egui, command_sweep cases, catalog rows in all 27 languages, docs/mcp.md, the evidence list in docs/target-app-parity.md and the ROADMAP progress log.