mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
View > Show Curvature Comb (view.curvatureComb) draws the curvature comb of the selected paths, and of each path in a selected compound path, while edges show. Each segment gets 16 evenly spaced teeth along the normal, on the outer side of the bend, each as long as the curvature at that point, and a line joins the tips in the path's layer color. A bend with a radius of 100 screen points gives 20-point teeth at any zoom. - vectorcraft-geom: curvature_comb samples the signed curvature of a subpath. Straight segments give teeth of no length, points with no direction give none, and the line through the tips breaks at those points and at cusps between teeth. - The comb draws at most 20,000 teeth, shared among the selected paths by their number of segments, so a large selection gets fewer teeth everywhere instead of losing whole stretches. - The toggle is a view setting: it is not saved in the document, makes no undo step and rejects parameters. Docs: docs/mcp.md, ROADMAP progress log. Fixes #10659