renamed closed paths files; fix in clonesperspective

This commit is contained in:
Mario Voigt 2020-08-15 14:24:46 +02:00
parent 3536498652
commit 5e02b767a9
4 changed files with 56 additions and 19 deletions

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Clones In Perspective</name>
<id>fablabchemnitz.de.clonesperspective</id>
<param max="256" name="num" type="int" gui-text="How many?">5</param>
<param max="1.0" name="ratio" type="float" gui-text="relative size">0.9</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Path(s)"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_clonesperspective.py</command>
</script>
</inkscape-extension>
<name>Clones In Perspective</name>
<id>fablabchemnitz.de.clonesperspective</id>
<param max="256" name="num" type="int" gui-text="How many?">5</param>
<param max="1.0" name="ratio" type="float" gui-text="relative size">0.9</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Path(s)" />
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_clonesperspective.py</command>
</script>
</inkscape-extension>

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Close Paths</name>
<id>fablabchemnitz.de.close_curves</id>
<id>fablabchemnitz.de.close_paths</id>
<effect needs-live-preview="false">
<object-type>path</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Modify existing Path(s)"/>
</submenu>
</effects-menu>
<object-type>path</object-type>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_close_curves.py</command>
<command location="inx" interpreter="python">fablabchemnitz_close_paths.py</command>
</script>
</inkscape-extension>

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Parametric Shelves</name>
<id>fablabchemnitz.de.shelves</id>
<param name="unit" type="optiongroup" appearance="combo" gui-text="Unit">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="m">m</option>
<option value="km">km</option>
<option value="in">in</option>
<option value="ft">ft</option>
<option value="yd">yd</option>
<option value="pt">pt</option>
<option value="px">px</option>
<option value="pc">pc</option>
</param>
<param name="thickness" type="float" min="1.0" max="100.0" gui-text="Material thickness">1.2</param>
<param name="tool_diameter" type="float" min="0.0" gui-text="Tool diameter (mind the units!)">0.3</param>
<param name="tolerance" type="float" min="-10000.0" max="10000.0" gui-text="Tolerance">0.05</param>
<param name="height" type="float" min="0.0" max="10000.0" gui-text="Height">100</param>
<param name="width" type="float" min="0.0" max="10000.0" gui-text="Width">100</param>
<param name="depth" type="float" min="0.0" max="10000.0" gui-text="Depth">40</param>
<param name="shelve_list" type="string" min="0.0" max="10000.0" gui-text="Shelve heigths (semicolon separated list)">10; 20; 35</param>
<param name="groove_depth" type="float" min="0.0" max="10000.0" gui-text="Groove depth">0.6</param>
<param name="tab_size" type="float" min="0.0" max="10000.0" gui-text="Tab size (approximate; will be resized to evenly fit the side)">10</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Finger-jointed/Tabbed Boxes"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_shelves.py</command>
</script>
</inkscape-extension>