diff options
Diffstat (limited to '')
-rw-r--r-- | share/extensions/addnodes.inx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/share/extensions/addnodes.inx b/share/extensions/addnodes.inx new file mode 100644 index 0000000..8a3baa1 --- /dev/null +++ b/share/extensions/addnodes.inx @@ -0,0 +1,28 @@ +<?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:">10.0</param> + <param name="unit" gui-text="Unit of maximum segment length:" type="optiongroup" appearance="combo"> + <option translatable="no" value="px">px</option> + <option translatable="no" value="pt">pt</option> + <option translatable="no" value="in">in</option> + <option translatable="no" value="cm">cm</option> + <option translatable="no" value="mm">mm</option> + </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> |