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/boxmaker_generic/fablabchemnitz_gen_box.inx

72 lines
4.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Box Maker - Generic Generator</name>
<id>fablabchemnitz.de.gen_box</id>
<param name="Topic" type="notebook">
<page name="dimensions" gui-text="Box dimensions">
<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="name" type="description" appearance="header">External dimensions for the box</param>
<param name="x" type="float" min="10.0" max="1000.0" gui-text="width">80.0</param>
<param name="y" type="float" min="10.0" max="1000.0" gui-text="depth">60.0</param>
<param name="z" type="float" min="10.0" max="1000.0" gui-text="height">40.0</param>
<param name="thickness" type="float" min="1.0" max="10.0" gui-text="thickness of material">3.0</param>
<param name="burn" type="float" min="0.0" max="2.0" gui-text="Burn factor">0.1</param>
</page>
<page name="corners" gui-text="Round corners">
<param name="StraigthCorners" type="bool" gui-text="Straight corners">true</param>
<param name="name" type="description">If not straight corners, radius of each corner</param>
<param name="back_left_radius" type="float" min="0.0" max="100.0" gui-text="Back left radius">10.0</param>
<param name="back_right_radius" type="float" min="0.0" max="100.0" gui-text="Back right radius">10.0</param>
<param name="front_left_radius" type="float" min="0.0" max="100.0" gui-text="Front left radius">10.0</param>
<param name="front_right_radius" type="float" min="0.0" max="100.0" gui-text="Front right radius">10.0</param>
</page>
<page name="Lid" gui-text="Lid style">
<param name="lid_type" type="optiongroup" appearance="combo" gui-text="Lid style">
<option value="Without">Without lid</option>
<option value="Closed">Closed box</option>
<option value="Simple">Simple top</option>
<option value="Sliding">Sliding lid</option>
<option value="WoodHinge">Integrated wood hinge</option>
<option value="SteelHinge">Steel hinge</option>
<option value="Coffin">Coffin</option>
</param>
<param name="name" type="description" appearance="header">Only used with real lid</param>
<param name="z_lid" type="float" min="15.0" max="1000.0" gui-text="Lid height">20.0</param>
<param name="name" type="description" appearance="header">Only used with coffin lid</param>
<param name="z_dome_lid" type="float" min="15.0" max="1000.0" gui-text="dome lid height">20.0</param>
<param name="SkipFlexLines" type="bool" gui-text="Skip flex lines when possible">true</param>
</page>
<page name="Slots" gui-text="Internal slots">
<param name="n_slot_x" type="int" min="1" max="20" gui-text="Number of columns">1</param>
<param name="n_slot_y" type="int" min="1" max="20" gui-text="Number of rows">1</param>
</page>
<page name="Joints" gui-text="Joints">
<param name="AutoSize" type="bool" gui-text="Finger size computed from box dimensions">true</param>
<param name="x_joint" type="float" min="1.0" max="100.0" gui-text="Finger size for joints in X direction">5.0</param>
<param name="y_joint" type="float" min="1.0" max="100.0" gui-text="Finger size for joints in Y direction">5.0</param>
<param name="z_joint" type="float" min="1.0" max="100.0" gui-text="Finger size for joints in Z direction">5.0</param>
</page>
</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_gen_box.py</command>
</script>
</inkscape-extension>