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

43 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Line Shading</name>
<id>fablabchemnitz.de.line_shading</id>
<param name="active-tab" type="notebook">
<page name="Options" gui-text="Options">
<param name="waveform" type="optiongroup" appearance="combo" gui-text="Waveform">
<option value="sin">Sinusoidal</option>
<option value="saw">Triangle wave</option>
<option value="square">Square wave</option>
</param>
<param name="num_lines" type="int" min="1" max="1000000000" gui-text="Number of lines :">20</param>
<param name="min_period" type="float" min="0.05" max="1000000000" precision="2" gui-text="Min period:">0.1</param>
<param name="max_period" type="float" min="0.05" max="1000000000" precision="2" gui-text="Max period:">2.0</param>
<param name="min_amplitude" type="float" min="0.0" max="1000000000" precision="2" gui-text="Min amplitude:">0.0</param>
<param name="max_amplitude" type="float" min="0.0" max="1000000000" precision="2" gui-text="Max amplitude:">1.0</param>
<param name="gamma" type="float" min="0.1" max="10.0" precision="2" gui-text="Gamma:">2.2</param>
</page>
<page name="Help" gui-text="Help">
<label>This extension converts the selected image into a wavy shading.</label>
</page>
</param>
<param name="line_width" type="float" min="0.01" max="1000" precision="2" gui-text="Line Width:">0.25</param>
<param name="units" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="px">px</option>
<option value="pt">pt</option>
<option value="pc">pc</option>
<option value="in">in</option>
</param>
<param name="remove" type="bool" gui-text="Remove image">false</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Tracing/Edge Detection"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">line_shading.py</command>
</script>
</inkscape-extension>