1 <?xml version="1.0" encoding="UTF-8"?>
2 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
3 <_name>Number Nodes</_name>
4 <id>org.ekips.filter.dots</id>
5 <dependency type="executable" location="extensions">dots.py</dependency>
6 <dependency type="executable" location="extensions">inkex.py</dependency>
7 <param name="tab" type="notebook">
8 <page name="Options" _gui-text="Options">
9 <param name="fontsize" type="string" _gui-text="Font size:">20px</param>
10 <param name="dotsize" type="string" _gui-text="Dot size:">10px</param>
11 <param name="start" type="int" min="0" max="1000" _gui-text="Starting dot number:">1</param>
12 <param name="step" type="int" min="0" max="1000" _gui-text="Step:">1</param>
13 </page>
14 <page name="Help" _gui-text="Help">
15 <_param name="instructions" type="description" xml:space="preserve">This extension replaces the selection's nodes with numbered dots according to the following options:
16 * Font size: size of the node number labels (20px, 12pt...).
17 * Dot size: diameter of the dots placed at path nodes (10px, 2mm...).
18 * Starting dot number: first number in the sequence, assigned to the first node of the path.
19 * Step: numbering step between two nodes.</_param>
20 </page>
21 </param>
23 <effect>
24 <object-type>path</object-type>
25 <effects-menu>
26 <submenu _name="Visualize Path"/>
27 </effects-menu>
28 </effect>
29 <script>
30 <command reldir="extensions" interpreter="python">dots.py</command>
31 </script>
32 </inkscape-extension>