-
Notifications
You must be signed in to change notification settings - Fork 99
/
dxf_input.inx
37 lines (37 loc) · 1.76 KB
/
dxf_input.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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>