summaryrefslogtreecommitdiffstats
path: root/share/extensions/path_number_nodes.inx
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /share/extensions/path_number_nodes.inx
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/path_number_nodes.inx')
-rw-r--r--share/extensions/path_number_nodes.inx30
1 files changed, 30 insertions, 0 deletions
diff --git a/share/extensions/path_number_nodes.inx b/share/extensions/path_number_nodes.inx
new file mode 100644
index 0000000..574fd17
--- /dev/null
+++ b/share/extensions/path_number_nodes.inx
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Number Nodes</name>
+ <id>org.inkscape.filter.number_nodes</id>
+ <param name="tab" type="notebook">
+ <page name="Options" gui-text="Options">
+ <param name="fontsize" type="string" gui-text="Font size:"
+ gui-description="Size of the node number labels (20px, 12pt...)">20px</param>
+ <param name="dotsize" type="string" gui-text="Dot size:"
+ gui-description="Diameter of the dots placed at path nodes (10px, 2mm...)">10px</param>
+ <param name="start" type="int" min="0" max="1000" gui-text="Starting dot number:"
+ gui-description="First number in the sequence, assigned to the first node of the path.">1</param>
+ <param name="step" type="int" min="0" max="1000" gui-text="Step:"
+ gui-description="Numbering increment between two nodes">1</param>
+ </page>
+ <page name="Help" gui-text="Help">
+ <label xml:space="preserve">This extension replaces the paths in the selection with numbered dots in place of their nodes.</label>
+ </page>
+ </param>
+
+ <effect>
+ <object-type>path</object-type>
+ <effects-menu>
+ <submenu name="Visualize Path"/>
+ </effects-menu>
+ </effect>
+ <script>
+ <command location="inx" interpreter="python">path_number_nodes.py</command>
+ </script>
+</inkscape-extension>