self.OptionParser.add_option("","--dpi",action="store",type="int",dest="dpi",default="270",help="set DPI for inkscape export")
self.OptionParser.add_option("","--dpi",action="store",type="int",dest="dpi",default="270",help="set DPI for inkscape export")
self.OptionParser.add_option("","--invert",action="store",type="inkbool",dest="invert",default=True,help="swap to negative colors")
self.OptionParser.add_option("","--invert",action="store",type="inkbool",dest="invert",default=True,help="swap to negative colors")
self.OptionParser.add_option("","--cooler"action="store",type="float",dest="cooler",default="0.0",help="set cooler temperature. 0 to disable")
self.OptionParser.add_option("","--cooleronstop"action="store",type="float",dest="cooleronstop",default=False,help="continue to cool down when finished")
defparse_curve(self,path):
defparse_curve(self,path):
# if self.options.Xscale!=self.options.Yscale:
# if self.options.Xscale!=self.options.Yscale:
...
@@ -816,6 +818,8 @@ class Gcode_tools(inkex.Effect):
...
@@ -816,6 +818,8 @@ class Gcode_tools(inkex.Effect):
gcode+=("M5 \n");
gcode+=("M5 \n");
gcode+=';End of Raster Image '+str(curve['id'])+'\n\n'
gcode+=';End of Raster Image '+str(curve['id'])+'\n\n'