Skip to content

fontlabapp.fontui.outline_routes.simplify_selected_nodes

simplify_selected_nodes

Remove alternate selected nodes from straight contours.

What: Keep the first selected node, remove the second, and repeat in contour order. Open endpoints stay. Closed polygons keep at least three nodes. How: Preview the removals on each master. Delete by descending stored index. Curves are kept; use FontLab Contour > Simplify for curve reduction. Shared or transformed outlines are also kept. Why: Restrict this operation to polygons so deletion cannot break cubic topology. Use: Select polygon nodes, run the tool, choose masters and press Simplify. Benefit: A repeatable reduction with matching selected indices applied across compatible masters. The change is recorded as one Undo step. Automatic layers are kept; leave the automatic-base consent off to keep their bases too.

Independent behaviour rewrite after Pedro Arilla, glyphs-scripts, Paths/Simplify selection.py, Apache-2.0. Repository: https://github.com/pedroarilla/glyphs-scripts . No source code copied.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
KEY attribute
TITLE attribute
main function () -> Any Show the non-modal polygon reduction panel.