summaryrefslogtreecommitdiffstats
path: root/share/extensions/extrude.inx
blob: 34461d3726c68a51c05fde6e5a0322527faee5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Extrude</name>
    <id>org.greygreen.inkscape.effects.extrude</id>
    <param name="tab" type="notebook">
        <page name="Options" gui-text="Options">
            <param name="mode" type="optiongroup" appearance="combo" gui-text="Mode:">
                <option value="lines">Lines</option>
                <option value="polygons">Polygons</option>
                <option value="snug">Follow curves</option>
            </param>
            <param name="subpaths" type="bool" gui-text="Combine lines to single path" gui-description="If true, connecting lines will be inserted as subpaths of a single path.
                 If false, they will be inserted in newly created group. 
                 Only applies to mode=lines.">true</param>
        </page>
        <page name="Help" gui-text="Help">
            <label xml:space="preserve">
This effect draws lines between each nth node of each selected
path. It therefore works best if all selected paths have the
same number of nodes.

There are 3 main options:
- lines: segments are created between the corresponding nodes.
  It is possible to select the option "Combine lines to single
  path" so that the segments that are created are subpaths of a
  single path; otherwise, the segments that are created are
  separate paths grouped together.
- polygons: Polygons with straight lines are created between
  corresponding pairs of nodes of each path. The polygons are
  grouped together.
- follow curves: the same as polygons, but the 'segments' of the
  path that lie on top of the original paths will follow The
  same curves as on the original path.

The lines will be inserted above the bottom of the two elements.
            </label>
        </page>
    </param>
    <effect>
        <object-type>path</object-type>
        <effects-menu>
            <submenu name="Generate from Path" />
        </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">extrude.py</command>
    </script>
</inkscape-extension>