mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 20:01:07 +01:00
Object › Plug-ins › Path Precision Tools › Add Inscribed Circle (`addon.pathtools.inscribedCircle`) draws the largest live circle inside each selected closed path or compound path, centered on its pole of inaccessibility. Part of #6966. - The outline is resolved under its fill rule into outer contours and holes, so overlapping subpaths count as the area they fill and holes bound the circle down to 1e-6 pt wide, the path operations' resolution. Square cells are searched best first, and the radius is measured from the center to the curves: within 0.02 pt of the largest, or a thousandth of the narrower side for a shape less than 10 pt across. - The circle is drawn up to 0.03% smaller, by as much as its four curves reach past a true circle, so it stays inside where it touches. - Open paths, other objects, shapes that fill no area, and outlines past 262,144 flattened pieces or the search's work limit are errors that leave the document unchanged. The first cells are sized to the work limit. - The circles get the current paint, go on top of the current layer or the isolated group, and are one undo step. - Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md, ROADMAP.