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/fablabchemnitz_exponential_distort.inx

25 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-07 20:19:46 +02:00
<name>Exponential Distort</name>
2020-07-30 01:16:18 +02:00
<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>
2020-08-07 20:19:46 +02:00
<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>
2020-07-30 01:16:18 +02:00
</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>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Modify existing Path(s)"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
2020-08-13 14:51:38 +02:00
<command location="inx" interpreter="python">fablabchemnitz_exponential_distort.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>