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

@ -8,7 +8,7 @@
<object-type>all</object-type> <object-type>all</object-type>
<effects-menu> <effects-menu>
<submenu name="FabLab Chemnitz"> <submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Path(s)"/> <submenu name="Shape/Pattern from existing Path(s)" />
</submenu> </submenu>
</effects-menu> </effects-menu>
</effect> </effect>

View File

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