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/fablabchemnitz_svg2shenzhen_export.inx
2020-08-30 12:36:33 +02:00

31 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Export Kicad</name>
<id>fablabchemnitz.de.svg2shenzhen_export</id>
<param name="help" type="description">Export Drawing to Kicad PCB Format</param>
<param name="path" type="string" gui-text="Choose path to export">~/</param>
<param name="filetype" type="optiongroup" appearance="combo" gui-text="Export layers as...">
<option selected="selected" value="kicad_pcb">KICAD - PCB</option>
<option value="kicad_module">KICAD - Module</option>
<option value="png">PNG - Image</option>
</param>
<param name="threshold" type="int" min="0" max="255" gui-text="Threshold (default: 5)">5</param>
<param name="dpi" type="int" min="0" max="2000" gui-text="Export DPI (default: 600)">600</param>
<param name="autoflatten" type="bool" gui-text="Auto flatten bezier for Edge.Cuts layer?">true</param>
<param name="debug" type="bool" gui-text="Debug Mode?">false</param>
<param name="openfactory" type="bool" gui-text="Open PCBWay after export?">true</param>
<param name="openkicad" type="bool" gui-text="Open Kicad after export?">false</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu name="Export Kicad">
<submenu name="FabLab Chemnitz">
<submenu name="Svg2Shenzhen"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">svg2shenzhen/export.py</command>
</script>
</inkscape-extension>