<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  <name>Hatch Fill</name>
  <id>org.knoxmakers.hatch</id>

  <param name="units" type="optiongroup" appearance="combo" gui-text="Units:">
    <option value="2">mm</option>
    <option value="1">px</option>
    <option value="3">in</option>
  </param>

  <param name="tab" type="notebook">
    <page name="hatch" gui-text="Hatch Settings">
      <param name="hatchSpacing" type="float" min="0.1" max="1000" gui-text="Hatch spacing:">1</param>
      <param name="hatchAngle" type="float" min="-360" max="360" gui-text="Hatch angle (degrees):">0</param>
      <param name="crossHatch" type="bool" gui-text="Cross hatch">false</param>
    </page>
    <page name="options" gui-text="Options">
      <param name="insetDistance" type="float" min="0" max="100" gui-text="Inset distance from edges:">0</param>
      <param name="tolerance" type="float" min="0.1" max="100" gui-text="Curve tolerance:">1</param>
      <param name="connectEnds" type="bool" gui-text="Connect nearby ends">false</param>
      <param name="connectTolerance" type="float" min="0" max="100" gui-text="Connection tolerance (units):">1</param>
    </page>
  </param>

  <effect>
    <object-type>path</object-type>
    <effects-menu>
      <submenu name="Knox Makers">
        <submenu name="Laser"/>
      </submenu>
    </effects-menu>
  </effect>

  <script>
    <command location="inx" interpreter="python">km_hatch.py</command>
  </script>

</inkscape-extension>
