File: interp.inx

package info (click to toggle)
inkscape 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 320,944 kB
  • sloc: cpp: 532,425; ansic: 59,393; python: 51,398; javascript: 3,864; xml: 2,708; sh: 2,426; perl: 614; makefile: 431
file content (23 lines) | stat: -rw-r--r-- 1,482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Interpolate</name>
    <id>org.ekips.filter.interp</id>
    <param name="exponent" type="float" min="0" max="100" gui-text="Exponent:">1.00</param>
    <param name="steps" type="int" min="1" max="1000" gui-text="Interpolation steps:">5</param>
    <param name="method" gui-text="Interpolation method:" type="optiongroup" appearance="radio" gui-description="The first option rediscretizes both paths before the interpolation with the other path's node positions. The second option removes extra nodes of the longer path.">
                <option value="equalSubsegments" >Split paths into segments of equal lengths</option>
                <option value="firstNodes">Discard extra nodes of longer path</option>
            </param>
    <param name="dup" type="bool" gui-text="Duplicate endpaths">true</param>
    <param name="style" type="bool" gui-text="Interpolate style">false</param>
    <param name="zsort" type="bool" gui-text="Use Z-order" gui-description="Workaround for reversed selection order in Live Preview cycles">false</param>
    <effect>
        <object-type>path</object-type>
                <effects-menu>
                    <submenu name="Generate from Path"/>
                </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">interp.py</command>
    </script>
</inkscape-extension>