Code

Added PLT import/export. Requires UniConvertor 1.1.4.
authorprokoudine <prokoudine@users.sourceforge.net>
Wed, 10 Jun 2009 16:20:28 +0000 (16:20 +0000)
committerprokoudine <prokoudine@users.sourceforge.net>
Wed, 10 Jun 2009 16:20:28 +0000 (16:20 +0000)
share/extensions/plt_input.inx [new file with mode: 0644]
share/extensions/plt_output.inx [new file with mode: 0644]

diff --git a/share/extensions/plt_input.inx b/share/extensions/plt_input.inx
new file mode 100644 (file)
index 0000000..aa21483
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+    <_name>AutoCAD Plot Input</_name>
+    <id>org.inkscape.input.plt</id>
+    <dependency type="executable" location="extensions">uniconv-ext.py</dependency>
+    <input>
+        <extension>.plt</extension>
+        <mimetype>image/x-plt</mimetype>
+        <_filetypename>AutoCAD Plot drawing files (*.plt)</_filetypename>
+        <_filetypetooltip>Open files saved for plotters</_filetypetooltip>
+        <output_extension>org.inkscape.output.plt</output_extension>
+    </input>
+    <script>
+        <command reldir="extensions" interpreter="python">uniconv-ext.py</command>
+    </script>
+</inkscape-extension>
diff --git a/share/extensions/plt_output.inx b/share/extensions/plt_output.inx
new file mode 100644 (file)
index 0000000..d079a2c
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+    <_name>AutoCAD Plot Output</_name>
+    <id>org.inkscape.output.plt</id>
+    <dependency type="executable" location="extensions">uniconv-ext.py</dependency>
+    <output>
+        <extension>.plt</extension>
+        <mimetype>image/x-plt</mimetype>
+        <_filetypename>AutoCAD Plot drawing files (*.plt)</_filetypename>
+        <_filetypetooltip>Save a file for plotters</_filetypetooltip>
+    </output>
+    <script>
+        <command reldir="extensions" interpreter="python">uniconv-ext.py</command>
+    </script>
+</inkscape-extension>