summaryrefslogtreecommitdiffstats
path: root/share/extensions/addnodes.inx
blob: c681125f539865ef0eba65dd70f819bca9de2562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>