2021-07-23 02:36:56 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
2021-10-21 23:06:47 +02:00
|
|
|
<name>Filter By Length/Area</name>
|
|
|
|
<id>fablabchemnitz.de.filter_by_length_area</id>
|
2021-07-23 02:36:56 +02:00
|
|
|
<label>Paths with value smaller than the given threshold will be deleted</label>
|
2021-11-02 19:28:26 +01:00
|
|
|
<param name="debug" type="bool" gui-text="Enable debug">false</param>
|
2021-07-23 02:36:56 +02:00
|
|
|
<param name="unit" gui-text="Unit" type="optiongroup" appearance="combo">
|
|
|
|
<option value="mm">mm</option>
|
|
|
|
<option value="cm">cm</option>
|
2021-10-25 17:46:31 +02:00
|
|
|
<option value="px">px</option>
|
|
|
|
<option value="pt">pt</option>
|
|
|
|
<option value="pc">pc</option>
|
|
|
|
<option value="in">in</option>
|
2021-07-23 02:36:56 +02:00
|
|
|
</param>
|
2021-11-02 19:28:26 +01:00
|
|
|
<label>The unit applies to interval and thresholds</label>
|
2021-10-23 21:31:58 +02:00
|
|
|
<label appearance="header">Threshold</label>
|
2021-11-02 19:28:26 +01:00
|
|
|
<param name="nodes_interval" type="float" min="0.000" max="99999.000" precision="3" gui-text="Interval">10.000</param>
|
|
|
|
<separator/>
|
2021-10-21 23:06:47 +02:00
|
|
|
<param name="min_filter_enable" type="bool" gui-text="Enable filtering min.">false</param>
|
2021-11-02 19:28:26 +01:00
|
|
|
<param name="min_threshold" type="float" min="0.000" precision="3" max="10000000.000" gui-text="Min. length/area">1.000</param>
|
|
|
|
<param name="min_nodes" type="int" min="0" max="99999" gui-text="Min. nodes/<interval>">2</param>
|
2021-10-21 23:06:47 +02:00
|
|
|
<param name="max_filter_enable" type="bool" gui-text="Enable filtering max.">false</param>
|
2021-11-02 19:28:26 +01:00
|
|
|
<param name="max_threshold" type="float" min="0.000" precision="3" max="10000000.000" gui-text="Max. length/area">10000000.000</param>
|
|
|
|
<param name="max_nodes" type="int" min="0" max="99999" gui-text="Max. nodes/<interval>">10000000</param>
|
|
|
|
<label appearance="header">Filter</label>
|
|
|
|
<param name="measure" type="optiongroup" appearance="combo" gui-text="By">
|
2021-07-23 02:36:56 +02:00
|
|
|
<option value="length">Length (Unit)</option>
|
2021-11-02 19:28:26 +01:00
|
|
|
<option value="nodes">Nodes per length (Unit)</option>
|
2021-07-23 02:36:56 +02:00
|
|
|
<option value="area">Area (Unit^2)</option>
|
|
|
|
</param>
|
|
|
|
<effect>
|
|
|
|
<object-type>all</object-type>
|
|
|
|
<effects-menu>
|
|
|
|
<submenu name="FabLab Chemnitz">
|
2021-11-03 03:52:37 +01:00
|
|
|
<submenu name="Paths - Cut/Intersect/Purge"/>
|
2021-07-23 02:36:56 +02:00
|
|
|
</submenu>
|
|
|
|
</effects-menu>
|
|
|
|
</effect>
|
|
|
|
<script>
|
2021-10-21 23:06:47 +02:00
|
|
|
<command location="inx" interpreter="python">filter_by_length_area.py</command>
|
2021-07-23 02:36:56 +02:00
|
|
|
</script>
|
|
|
|
</inkscape-extension>
|