From 9df2a2fe88d172eddc0b2d656b8dcdda0cefb5a9 Mon Sep 17 00:00:00 2001 From: alvinpenner Date: Mon, 10 Aug 2009 01:29:14 +0000 Subject: [PATCH] add documentation tab --- share/extensions/dxf_outlines.inx | 40 ++++++++++++++++++++----------- share/extensions/dxf_outlines.py | 2 ++ 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/share/extensions/dxf_outlines.inx b/share/extensions/dxf_outlines.inx index 7d09fd1e9..a557deb94 100644 --- a/share/extensions/dxf_outlines.inx +++ b/share/extensions/dxf_outlines.inx @@ -1,20 +1,32 @@ - <_name>Desktop Cutting Plotter - org.ekips.output.dxf_outlines + <_name>Desktop Cutting Plotter + org.ekips.output.dxf_outlines org.inkscape.output.svg.inkscape dxf_outlines.py inkex.py - false - - .dxf - image/dxf - <_filetypename>Desktop Cutting Plotter (*.dxf) - <_filetypetooltip>Desktop Cutting Plotter - true - - + + + false + + + <_param name="inputhelp" type="description">- AutoCAD Release 13 format. +- assume svg drawing is in pixels, at 90 dpi. +- assume dxf drawing is in mm. +- only LWPOLYLINE and SPLINE elements are supported. +- ROBO-Master option is a specialized spline readable only by ROBO-Master and AutoDesk viewers, not Inkscape. + + + + + .dxf + image/dxf + <_filetypename>Desktop Cutting Plotter (R13) (*.dxf) + <_filetypetooltip>Desktop Cutting Plotter + true + + diff --git a/share/extensions/dxf_outlines.py b/share/extensions/dxf_outlines.py index 3888bc7e3..ecdc6ce40 100755 --- a/share/extensions/dxf_outlines.py +++ b/share/extensions/dxf_outlines.py @@ -53,6 +53,8 @@ class MyEffect(inkex.Effect): def __init__(self): inkex.Effect.__init__(self) self.OptionParser.add_option("-R", "--ROBO", action="store", type="string", dest="ROBO") + self.OptionParser.add_option("--tab", action="store", type="string", dest="tab") + self.OptionParser.add_option("--inputhelp", action="store", type="string", dest="inputhelp") self.dxf = [] self.handle = 255 # handle for DXF ENTITY self.csp_old = [[0.0,0.0]]*4 # previous spline -- 2.30.2