summaryrefslogtreecommitdiff
path: root/misc/glyphs-scripts/clear-vertex-names.py
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2020-04-04 20:43:27 +0300
committerRasmus Andersson <rasmus@notion.se>2020-04-04 20:43:27 +0300
commit4ee39ffbb471bdd208dbb2e0b312674b328f831b (patch)
tree63ffd12eeb2f061fedfe0475001f132b5532d566 /misc/glyphs-scripts/clear-vertex-names.py
parent330860d24a06b73ab6849e210f64c3444dfef9b1 (diff)
downloadinter-4ee39ffbb471bdd208dbb2e0b312674b328f831b.tar.xz
add misc scripts and info for display
Diffstat (limited to 'misc/glyphs-scripts/clear-vertex-names.py')
-rw-r--r--misc/glyphs-scripts/clear-vertex-names.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/glyphs-scripts/clear-vertex-names.py b/misc/glyphs-scripts/clear-vertex-names.py
new file mode 100644
index 000000000..14fdada54
--- /dev/null
+++ b/misc/glyphs-scripts/clear-vertex-names.py
@@ -0,0 +1,11 @@
+#MenuTitle: Remove all vertex names
+# -*- coding: utf-8 -*-
+import GlyphsApp
+
+Font = Glyphs.font
+selectedLayers = Font.selectedLayers
+
+for l in selectedLayers:
+ for p in l.paths:
+ for n in p.nodes:
+ n.name = None