<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  <_name>RectangularWall</_name>
  <dependency type="executable" location="extensions">boxes.exe</dependency>
  <id>info.festi.boxes.py.RectangularWall</id>

  <param name="generator" type="string" gui-hidden="true">rectangularwall</param>
  <param name="tab" type="notebook">

    <page name="0" _gui-text="RectangularWall">
      <param name="x" type="float" precision="2" max="9999" _gui-text="x" gui-description="inner width in mm (unless outside selected)">100</param>
      <param name="h" type="float" precision="2" max="9999" _gui-text="h" gui-description="inner height in mm (unless outside selected)">100</param>
      <param name="bottom_edge" type="enum" gui-text="bottom_edge" gui-description="edge type for bottom edge">
        <item value="c">c Abstract Edge Class</item>
        <item value="C">C Abstract Edge Class</item>
        <item value="d">d Edge (parallel slot wall Holes)</item>
        <item value="D">D Edge (parallel slot wall Holes)</item>
        <item value="e">e Straight Edge</item>
        <item value="E">E Straight Edge (outset by thickness)</item>
        <item value="f">f Finger Joint</item>
        <item value="F">F Finger Joint (opposing side)</item>
        <item value="g">g Corrugated edge useful as an gipping area</item>
        <item value="h">h Edge (parallel Finger Joint Holes)</item>
        <item value="i">i Straight edge with hinge eye</item>
        <item value="I">I Edge with hinge pin</item>
        <item value="j">j Straight edge with hinge eye (other end)</item>
        <item value="J">J Edge with hinge pin (other end)</item>
        <item value="k">k Straight edge with hinge eye (both ends)</item>
        <item value="K">K Edge with hinge pin (both ends)</item>
        <item value="l">l Edge for slide on lid (back)</item>
        <item value="L">L Edge for slide on lid (box back)</item>
        <item value="m">m Edge for slide on lid (left)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="n">n Edge for slide on lid (right)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="o">o Edge with chest hinge</item>
        <item value="O">O Edge with chest hinge (other end)</item>
        <item value="p">p Edge with chest hinge</item>
        <item value="P">P Edge with chest hinge (other end)</item>
        <item value="q">q Edge with pins for an chest hinge</item>
        <item value="Q">Q Edge opposing a chest hinge</item>
        <item value="R">R Rack (and pinion) Edge</item>
        <item value="s">s Stackable (bottom, finger joint holes)</item>
        <item value="S">S Stackable (top)</item>
        <item value="u">u Edge with cabinet hinges</item>
        <item value="U">U Edge with cabinet hinges top side</item>
        <item value="v">v Edge with cabinet hinges for 90° lid</item>
        <item value="V">V Edge with cabinet hinges 90° lid</item>
      </param>
      <param name="right_edge" type="enum" gui-text="right_edge" gui-description="edge type for right edge">
        <item value="c">c Abstract Edge Class</item>
        <item value="C">C Abstract Edge Class</item>
        <item value="d">d Edge (parallel slot wall Holes)</item>
        <item value="D">D Edge (parallel slot wall Holes)</item>
        <item value="e">e Straight Edge</item>
        <item value="E">E Straight Edge (outset by thickness)</item>
        <item value="f">f Finger Joint</item>
        <item value="F">F Finger Joint (opposing side)</item>
        <item value="g">g Corrugated edge useful as an gipping area</item>
        <item value="h">h Edge (parallel Finger Joint Holes)</item>
        <item value="i">i Straight edge with hinge eye</item>
        <item value="I">I Edge with hinge pin</item>
        <item value="j">j Straight edge with hinge eye (other end)</item>
        <item value="J">J Edge with hinge pin (other end)</item>
        <item value="k">k Straight edge with hinge eye (both ends)</item>
        <item value="K">K Edge with hinge pin (both ends)</item>
        <item value="l">l Edge for slide on lid (back)</item>
        <item value="L">L Edge for slide on lid (box back)</item>
        <item value="m">m Edge for slide on lid (left)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="n">n Edge for slide on lid (right)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="o">o Edge with chest hinge</item>
        <item value="O">O Edge with chest hinge (other end)</item>
        <item value="p">p Edge with chest hinge</item>
        <item value="P">P Edge with chest hinge (other end)</item>
        <item value="q">q Edge with pins for an chest hinge</item>
        <item value="Q">Q Edge opposing a chest hinge</item>
        <item value="R">R Rack (and pinion) Edge</item>
        <item value="s">s Stackable (bottom, finger joint holes)</item>
        <item value="S">S Stackable (top)</item>
        <item value="u">u Edge with cabinet hinges</item>
        <item value="U">U Edge with cabinet hinges top side</item>
        <item value="v">v Edge with cabinet hinges for 90° lid</item>
        <item value="V">V Edge with cabinet hinges 90° lid</item>
      </param>
      <param name="top_edge" type="enum" gui-text="top_edge" gui-description="edge type for top edge">
        <item value="c">c Abstract Edge Class</item>
        <item value="C">C Abstract Edge Class</item>
        <item value="d">d Edge (parallel slot wall Holes)</item>
        <item value="D">D Edge (parallel slot wall Holes)</item>
        <item value="e">e Straight Edge</item>
        <item value="E">E Straight Edge (outset by thickness)</item>
        <item value="f">f Finger Joint</item>
        <item value="F">F Finger Joint (opposing side)</item>
        <item value="g">g Corrugated edge useful as an gipping area</item>
        <item value="h">h Edge (parallel Finger Joint Holes)</item>
        <item value="i">i Straight edge with hinge eye</item>
        <item value="I">I Edge with hinge pin</item>
        <item value="j">j Straight edge with hinge eye (other end)</item>
        <item value="J">J Edge with hinge pin (other end)</item>
        <item value="k">k Straight edge with hinge eye (both ends)</item>
        <item value="K">K Edge with hinge pin (both ends)</item>
        <item value="l">l Edge for slide on lid (back)</item>
        <item value="L">L Edge for slide on lid (box back)</item>
        <item value="m">m Edge for slide on lid (left)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="n">n Edge for slide on lid (right)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="o">o Edge with chest hinge</item>
        <item value="O">O Edge with chest hinge (other end)</item>
        <item value="p">p Edge with chest hinge</item>
        <item value="P">P Edge with chest hinge (other end)</item>
        <item value="q">q Edge with pins for an chest hinge</item>
        <item value="Q">Q Edge opposing a chest hinge</item>
        <item value="R">R Rack (and pinion) Edge</item>
        <item value="s">s Stackable (bottom, finger joint holes)</item>
        <item value="S">S Stackable (top)</item>
        <item value="u">u Edge with cabinet hinges</item>
        <item value="U">U Edge with cabinet hinges top side</item>
        <item value="v">v Edge with cabinet hinges for 90° lid</item>
        <item value="V">V Edge with cabinet hinges 90° lid</item>
      </param>
      <param name="left_edge" type="enum" gui-text="left_edge" gui-description="edge type for left edge">
        <item value="c">c Abstract Edge Class</item>
        <item value="C">C Abstract Edge Class</item>
        <item value="d">d Edge (parallel slot wall Holes)</item>
        <item value="D">D Edge (parallel slot wall Holes)</item>
        <item value="e">e Straight Edge</item>
        <item value="E">E Straight Edge (outset by thickness)</item>
        <item value="f">f Finger Joint</item>
        <item value="F">F Finger Joint (opposing side)</item>
        <item value="g">g Corrugated edge useful as an gipping area</item>
        <item value="h">h Edge (parallel Finger Joint Holes)</item>
        <item value="i">i Straight edge with hinge eye</item>
        <item value="I">I Edge with hinge pin</item>
        <item value="j">j Straight edge with hinge eye (other end)</item>
        <item value="J">J Edge with hinge pin (other end)</item>
        <item value="k">k Straight edge with hinge eye (both ends)</item>
        <item value="K">K Edge with hinge pin (both ends)</item>
        <item value="l">l Edge for slide on lid (back)</item>
        <item value="L">L Edge for slide on lid (box back)</item>
        <item value="m">m Edge for slide on lid (left)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="n">n Edge for slide on lid (right)</item>
        <item value="M">M Edge for slide on lid (box left)</item>
        <item value="o">o Edge with chest hinge</item>
        <item value="O">O Edge with chest hinge (other end)</item>
        <item value="p">p Edge with chest hinge</item>
        <item value="P">P Edge with chest hinge (other end)</item>
        <item value="q">q Edge with pins for an chest hinge</item>
        <item value="Q">Q Edge opposing a chest hinge</item>
        <item value="R">R Rack (and pinion) Edge</item>
        <item value="s">s Stackable (bottom, finger joint holes)</item>
        <item value="S">S Stackable (top)</item>
        <item value="u">u Edge with cabinet hinges</item>
        <item value="U">U Edge with cabinet hinges top side</item>
        <item value="v">v Edge with cabinet hinges for 90° lid</item>
        <item value="V">V Edge with cabinet hinges 90° lid</item>
      </param>
    </page>

    <page name="1" _gui-text="Default">
      <param name="thickness" type="float" precision="2" max="9999" _gui-text="thickness" gui-description="thickness of the material">3.0</param>
      <param name="tabs" type="float" precision="2" max="9999" _gui-text="tabs" gui-description="width of tabs holding the parts in place in mm (not supported everywhere)">0.0</param>
      <param name="debug" type="boolean" max="9999" _gui-text="debug" gui-description="print surrounding boxes for some structures">False</param>
      <param name="reference" type="float" precision="2" max="9999" _gui-text="reference" gui-description="print reference rectangle with given length (zero to disable)">100</param>
      <param name="burn" type="float" precision="2" max="9999" _gui-text="burn" gui-description='burn correction in mm (bigger values for tighter fit). Use BurnTest in "Parts and Samples" to find the right value.'>0.1</param>
    </page>

    <page name="2" _gui-text="Cabinet Hinges">
      <param name="CabinetHinge_bore" type="float" precision="2" max="9999" _gui-text="bore" gui-description="diameter of the pin hole in mm">3.2</param>
      <param name="CabinetHinge_eyes_per_hinge" type="int" max="9999" _gui-text="eyes_per_hinge" gui-description="pieces per hinge">5</param>
      <param name="CabinetHinge_hinges" type="int" max="9999" _gui-text="hinges" gui-description="number of hinges per edge">2</param>
      <param name="CabinetHinge_style" type="enum" _gui-text="style" gui-description="style of hinge used">
        <item value="inside" selected="selected">inside</item>
        <item value="outside">outside</item>
      </param>
      <param name="CabinetHinge_eye" type="float" precision="2" max="9999" _gui-text="eye" gui-description="radius of the eye (in multiples of thickness)">1.5</param>
      <param name="CabinetHinge_play" type="float" precision="2" max="9999" _gui-text="play" gui-description="space between eyes (in multiples of thickness)">0.05</param>
      <param name="CabinetHinge_spacing" type="float" precision="2" max="9999" _gui-text="spacing" gui-description="minimum space around the hinge">2.0</param>
    </page>

    <page name="3" _gui-text="Click-on Lids">
      <param name="Click_angle" type="int" max="9999" _gui-text="angle" gui-description="">5</param>
      <param name="Click_bottom_radius" type="float" precision="2" max="9999" _gui-text="bottom_radius" gui-description="">0.1</param>
      <param name="Click_depth" type="float" precision="2" max="9999" _gui-text="depth" gui-description="">3.0</param>
    </page>

    <page name="4" _gui-text="Dove Tail Joints">
      <param name="DoveTail_angle" type="int" max="9999" _gui-text="angle" gui-description="how much should fingers widen (-80 to 80)">50</param>
      <param name="DoveTail_depth" type="float" precision="2" max="9999" _gui-text="depth" gui-description="how far the dove tails stick out of/into the edge">1.5</param>
      <param name="DoveTail_radius" type="float" precision="2" max="9999" _gui-text="radius" gui-description="radius used on all four corners">0.2</param>
      <param name="DoveTail_size" type="int" max="9999" _gui-text="size" gui-description="from one middle of a dove tail to another">3</param>
    </page>

    <page name="5" _gui-text="Finger Joints">
      <param name="FingerJoint_angle" type="float" precision="2" max="9999" _gui-text="angle" gui-description="">90.0</param>
      <param name="FingerJoint_style" type="enum" _gui-text="style" gui-description="style of the fingers">
        <item value="rectangular" selected="selected">rectangular</item>
        <item value="springs">springs</item>
      </param>
      <param name="FingerJoint_surroundingspaces" type="float" precision="2" max="9999" _gui-text="surroundingspaces" gui-description="maximum space at the start and end in multiple of normal spaces">2.0</param>
      <param name="FingerJoint_edge_width" type="float" precision="2" max="9999" _gui-text="edge_width" gui-description="space below holes of FingerHoleEdge">1.0</param>
      <param name="FingerJoint_finger" type="float" precision="2" max="9999" _gui-text="finger" gui-description="width of the fingers">2.0</param>
      <param name="FingerJoint_play" type="float" precision="2" max="9999" _gui-text="play" gui-description="extra space to allow finger move in and out">0.0</param>
      <param name="FingerJoint_space" type="float" precision="2" max="9999" _gui-text="space" gui-description="space between fingers">2.0</param>
      <param name="FingerJoint_width" type="float" precision="2" max="9999" _gui-text="width" gui-description="width of finger holes">1.0</param>
    </page>

    <page name="6" _gui-text="rack (and pinion) edge">
      <param name="Gear_angle" type="float" precision="2" max="9999" _gui-text="angle" gui-description="pressure angle">20.0</param>
      <param name="Gear_clearance" type="float" precision="2" max="9999" _gui-text="clearance" gui-description="clearance">0.0</param>
      <param name="Gear_dimension" type="float" precision="2" max="9999" _gui-text="dimension" gui-description="modulus of the gear (in mm)">3.0</param>
      <param name="Gear_profile_shift" type="float" precision="2" max="9999" _gui-text="profile_shift" gui-description="Profile shift">20.0</param>
    </page>

    <page name="7" _gui-text="GrippingEdge">
      <param name="Grip_outset" type="boolean" max="9999" _gui-text="outset" gui-description="extend outward the straight edge">True</param>
      <param name="Grip_style" type="enum" _gui-text="style" gui-description='"wave" or "bumps"'>
        <item value="wave" selected="selected">wave</item>
        <item value="bumps">bumps</item>
      </param>
      <param name="Grip_depth" type="float" precision="2" max="9999" _gui-text="depth" gui-description="depth of the grooves">0.3</param>
    </page>

    <page name="8" _gui-text="Hinges and HingePins">
      <param name="Hinge_grip_percentage" type="int" max="9999" _gui-text="grip_percentage" gui-description="">0</param>
      <param name="Hinge_outset" type="boolean" max="9999" _gui-text="outset" gui-description="have lid overlap at the sides (similar to OutSetEdge)">False</param>
      <param name="Hinge_pinwidth" type="float" precision="2" max="9999" _gui-text="pinwidth" gui-description="set to lower value to get disks surrounding the pins">0.5</param>
      <param name="Hinge_style" type="enum" _gui-text="style" gui-description='"outset" or "flush"'>
        <item value="outset" selected="selected">outset</item>
        <item value="flush">flush</item>
      </param>
      <param name="Hinge_axle" type="int" max="9999" _gui-text="axle" gui-description="diameter of the pin hole">2</param>
      <param name="Hinge_grip_length" type="int" max="9999" _gui-text="grip_length" gui-description="fixed length of the grips on he lids">0</param>
      <param name="Hinge_hingestrength" type="int" max="9999" _gui-text="hingestrength" gui-description="thickness of the arc holding the pin in place">1</param>
    </page>

    <page name="9" _gui-text="Chest Hinges">
      <param name="ChestHinge_hinge_strength" type="float" precision="2" max="9999" _gui-text="hinge_strength" gui-description="thickness of the arc holding the pin in place">1.0</param>
      <param name="ChestHinge_pin_height" type="float" precision="2" max="9999" _gui-text="pin_height" gui-description="radius of the disc rotating in the hinge">2.0</param>
      <param name="ChestHinge_play" type="float" precision="2" max="9999" _gui-text="play" gui-description="">0.1</param>
    </page>

    <page name="10" _gui-text="Slide-on Lids">
      <param name="Lid_angle" type="float" precision="2" max="9999" _gui-text="angle" gui-description="">90.0</param>
      <param name="Lid_second_pin" type="boolean" max="9999" _gui-text="second_pin" gui-description="">True</param>
      <param name="Lid_spring" type="enum" _gui-text="spring" gui-description="">
        <item value="both" selected="selected">both</item>
        <item value="none">none</item>
        <item value="left">left</item>
        <item value="right">right</item>
      </param>
      <param name="Lid_style" type="enum" _gui-text="style" gui-description="style of the fingers">
        <item value="rectangular" selected="selected">rectangular</item>
        <item value="springs">springs</item>
      </param>
      <param name="Lid_surroundingspaces" type="float" precision="2" max="9999" _gui-text="surroundingspaces" gui-description="maximum space at the start and end in multiple of normal spaces">2.0</param>
      <param name="Lid_edge_width" type="float" precision="2" max="9999" _gui-text="edge_width" gui-description="space below holes of FingerHoleEdge">1.0</param>
      <param name="Lid_finger" type="float" precision="2" max="9999" _gui-text="finger" gui-description="width of the fingers">3.0</param>
      <param name="Lid_play" type="float" precision="2" max="9999" _gui-text="play" gui-description="extra space to allow finger move in and out">0.05</param>
      <param name="Lid_space" type="float" precision="2" max="9999" _gui-text="space" gui-description="space between fingers">2.0</param>
      <param name="Lid_width" type="float" precision="2" max="9999" _gui-text="width" gui-description="width of finger holes">1.0</param>
    </page>

    <page name="11" _gui-text="Stackable Edges">
      <param name="Stackable_angle" type="int" max="9999" _gui-text="angle" gui-description="inside angle of the feet">60</param>
      <param name="Stackable_height" type="float" precision="2" max="9999" _gui-text="height" gui-description="height of the feet">2.0</param>
      <param name="Stackable_holedistance" type="float" precision="2" max="9999" _gui-text="holedistance" gui-description="distance from finger holes to bottom edge">1.0</param>
      <param name="Stackable_width" type="float" precision="2" max="9999" _gui-text="width" gui-description="width of the feet">4.0</param>
    </page>

  </param>
  <effect>
    <object-type>all</object-type>
      <effects-menu>
        <submenu _name="Boxes.py">
         <submenu _name="Parts and Samples"/>
        </submenu>
      </effects-menu>
  </effect>
  <script>
    <command reldir="extensions">boxes.exe</command>
  </script>
</inkscape-extension>
