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

69 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Buxtronix Living Hinges</name>
<id>fablabchemnitz.de.buxtronix_living_hinges</id>
<param name="tab" type="notebook">
<page name="straight_lattice" gui-text="Straight lattice">
<image>images/straight-lattice.png</image>
<param name="sl_length" type="int" min="1" max="200" gui-text="Length of elements" appearance="full">20</param>
<param name="sl_spacing" type="float" min="0.1" max="10.0" precision="1" gui-text="Vertical element spacing" appearance="full">2.0</param>
<param name="sl_gap" type="float" min="0.0" max="10.0" precision="1" gui-text="Element height" appearance="full">0.0</param>
<label xml:space="preserve">
</label>
</page>
<page name="diamond_lattice" gui-text="Diamond lattice">
<image>images/diamond-lattice.png</image>
<param name="dl_length" type="int" min="1" max="200" gui-text="Length of elements" appearance="full">20</param>
<param name="dl_spacing" type="float" min="0.1" max="10.0" precision="1" gui-text="Vertical element spacing" appearance="full">4.0</param>
<param name="dl_curve" type="float" min="-1.0" max="1.0" precision="1" gui-text="Curve of each element" appearance="full">0.5</param>
<label xml:space="preserve">
</label>
</page>
<page name="cross_lattice" gui-text="Cross lattice">
<image>images/cross-lattice.png</image>
<param name="cl_length" type="int" min="1" max="200" gui-text="Length of elements" appearance="full">20</param>
<param name="cl_spacing" type="float" min="0.1" max="10.0" precision="1" gui-text="Vertical element spacing" appearance="full">6.0</param>
<label xml:space="preserve">
</label>
</page>
<page name="wavy_lattice" gui-text="Wavy lattice">
<image>images/wavy-lattice.png</image>
<param name="wl_length" type="int" min="1" max="200" gui-text="Length of elements" appearance="full">29</param>
<param name="wl_spacing" type="float" min="0.1" max="10.0" precision="1" gui-text="Vertical element spacing" appearance="full">4.0</param>
<label xml:space="preserve">
</label>
</page>
<page name="about" gui-text="About/Help">
<label xml:space="preserve">
This extension renders Living Hinges, aka lattice hinges aka laser kerf bending.
These patterns allow otherwise rigid materials (eg wood, acrylic) to have bends formed in them.
</label>
<image>images/about.png</image>
<label appearance="url">https://github.com/buxtronix/living-hinge</label>
</page>
</param>
<param name="width" type="float" min="0" max="10000" gui-text="Width">100</param>
<param name="height" type="float" min="0" max="10000" gui-text="Height">100</param>
<param name="unit" gui-text="Unit for width/height" type="optiongroup" appearance="combo">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
<label>If any object(s) are currently selected, their bounding boxes will be filled with the pattern
instead of using the above Width/Height. Slider dimensions are all millimetres.</label>
<separator />
<param name="swatch" type="bool" gui-text="Draw swatch card">false</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">buxtronix_living_hinges.py</command>
</script>
</inkscape-extension>