summaryrefslogtreecommitdiffstats
path: root/share/extensions/addnodes.inx
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/addnodes.inx')
-rw-r--r--share/extensions/addnodes.inx20
1 files changed, 20 insertions, 0 deletions
diff --git a/share/extensions/addnodes.inx b/share/extensions/addnodes.inx
new file mode 100644
index 0000000..c681125
--- /dev/null
+++ b/share/extensions/addnodes.inx
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Add Nodes</name>
+ <id>org.inkscape.filter.add_nodes</id>
+ <param name="method" type="optiongroup" appearance="combo" gui-text="Division method:">
+ <option value="bymax">By max. segment length</option>
+ <option value="bynum">By number of segments</option>
+ </param>
+ <param name="max" type="float" min="0.1" max="10000.0" gui-text="Maximum segment length (px):">10.0</param>
+ <param name="segments" type="int" min="1" max="1000" gui-text="Number of segments:">2</param>
+ <effect needs-live-preview="false">
+ <object-type>path</object-type>
+ <effects-menu>
+ <submenu name="Modify Path"/>
+ </effects-menu>
+ </effect>
+ <script>
+ <command location="inx" interpreter="python">addnodes.py</command>
+ </script>
+</inkscape-extension>