25 lines
1.5 KiB
Plaintext
25 lines
1.5 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||
|
<name>Exponential Distort</name>
|
||
|
<id>fablabchemnitz.de.exponential_distort</id>
|
||
|
<!--<param name="settings_what" type="description" xml:space="preserve">This exponential-scale extension distorts objects along the x-axis (and/or y-axis). The bounding box remains unchanged. Inner points move leftwards (upwards) when the exponent is > 1 and rightwards (downwards) when it is < 1. This can be used to create a logarithmic scale.</param>
|
||
|
<param name="axis" type="optiongroup" appearance="combo" gui-text="Axis:">
|
||
|
<option value="x">X only</option>
|
||
|
<option value="y">Y only</option>
|
||
|
<option value="xy">X & Y</option>
|
||
|
</param>-->
|
||
|
<param name="exponent" type="float" min="0.01" max="100" precision="2" gui-text="Exponent:">1.33</param>
|
||
|
<param name="padding_perc" type="float" min="0" max="500" precision="0" gui-text="Padding [%]:">0</param>
|
||
|
<label>Apply padding to soften the effect. Without padding the exponential curve runs from 0 to 1. With e.g. 100% padding it runs from 0.5 to 1.</label>
|
||
|
<effect>
|
||
|
<object-type>all</object-type>
|
||
|
<effects-menu>
|
||
|
<submenu name="FabLab Chemnitz">
|
||
|
<submenu name="Modify existing Path(s)"/>
|
||
|
</submenu>
|
||
|
</effects-menu>
|
||
|
</effect>
|
||
|
<script>
|
||
|
<command location="inx" interpreter="python">exponential_distort.py</command>
|
||
|
</script>
|
||
|
</inkscape-extension>
|