You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>DXF Input</_name>
<id>org.inkscape.input.dxf</id>
<dependency type="executable" location="extensions">dxf_input.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="options" _gui-text="Options">
<param name="auto" type="boolean" _gui-text="Use automatic scaling to size A4">true</param>
<param name="scale" type="string" _gui-text="Or, use manual scale factor:">1.0</param>
<param name="gcodetoolspoints" type="boolean" _gui-text="Gcodetools compatible point import">false</param>
<param name="sep1" type="description">-------------------------------------------------------------------------</param>
<param name="encoding" type="enum" _gui-text="Character Encoding:">
<item value="latin_1">Latin 1</item>
<item value="cp1250">CP 1250</item>
<item value="cp1252">CP 1252</item>
<item value="utf_8">UTF 8</item>
</param>
</page>
<page name="help" _gui-text="Help">
<_param name="inputhelp" type="description" xml:space="preserve">- AutoCAD Release 13 and newer.
- assume dxf drawing is in mm.
- assume svg drawing is in pixels, at 90 dpi.
- layers are preserved only on File->Open, not Import.
- limited support for BLOCKS, use AutoCAD Explode Blocks instead, if needed.</_param>
</page>
</param>
<input>
<extension>.dxf</extension>
<mimetype>image/x-svgz</mimetype>
<_filetypename>AutoCAD DXF R13 (*.dxf)</_filetypename>
<_filetypetooltip>Import AutoCAD's Document Exchange Format</_filetypetooltip>
</input>
<script>
<command reldir="extensions" interpreter="python">dxf_input.py</command>
</script>
</inkscape-extension>