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_living_hinge.inx

37 lines
1.9 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-13 14:51:38 +02:00
<name>Living Hinge</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.living_hinge</id>
2020-08-13 14:51:38 +02:00
<param name="direction" gui-text="Direction" type="optiongroup" appearance="combo">
2020-08-15 04:12:30 +02:00
<option value="y">vertical cuts</option>
<option value="x">horizontal cuts</option>
2020-07-30 01:16:18 +02:00
</param>
2020-08-13 14:51:38 +02:00
<param name="unit" gui-text="Unit" type="optiongroup" appearance="combo">
2020-08-15 04:12:30 +02:00
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="px">px</option>
2020-07-30 01:16:18 +02:00
</param>
2020-08-13 14:51:38 +02:00
<param name="cut_length" type="float" precision="2" gui-text="cut length (y)" min="1" max="1000">19.0</param>
<param name="gap_length" type="float" precision="2" gui-text="gap length (y)" min="1" max="1000">3.0</param>
<param name="sep_distance" type="float" precision="2" gui-text="separation distance (x)" min="1" max="1000">1.5</param>
2020-07-30 01:16:18 +02:00
<param name="help_text" type="description">This extension renders the lines to make the cuts for a living hinge. The cuts run in the choosen direction.
- direction: choose the direction of the cuts.
- cut length: the length of each cut.
- gap length: the separation between cut lines.
- separation distance: the separation distance between adjacent sets of cut lines.
The entered value for cut length will be adjusted so that an integer number of whole cut lines lies in the rectangle. The entered value for separation distance will be adjusted so that in integer number of cut lines lies in rectangle.</param>
<effect>
<object-type>all</object-type>
<effects-menu>
2020-08-13 14:51:38 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Object(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_living_hinge.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>