This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz_exponential_distort.inx
2020-08-07 20:19:46 +02:00

25 lines
1.5 KiB
XML

<?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 &gt; 1 and rightwards (downwards) when it is &lt; 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 &amp; 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>
<param name="padding_what" type="description" xml:space="preserve">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.</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Modify existing Path(s)"/>
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">fablabchemnitz_exponential_distort.py</command>
</script>
</inkscape-extension>