File: dxf_input.inx

package info (click to toggle)
inkscape 0.47.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 122,072 kB
  • ctags: 46,938
  • sloc: cpp: 349,791; ansic: 31,306; python: 14,868; xml: 6,613; sh: 5,041; makefile: 1,773; perl: 1,486; asm: 675; ruby: 148
file content (36 lines) | stat: -rw-r--r-- 1,688 bytes parent folder | download | duplicates (3)
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
<?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="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>