self.OptionParser.add_option("-b","--homebefore",action="store",type="inkbool",dest="homebefore",default=True,help="Home all beofre starting (G28)")
self.OptionParser.add_option("-a","--homeafter",action="store",type="inkbool",dest="homeafter",default=False,help="Home X Y at end of job")
self.OptionParser.add_option("","--biarc-tolerance",action="store",type="float",dest="biarc_tolerance",default="1",help="Tolerance used when calculating biarc interpolation.")
self.OptionParser.add_option("","--biarc-max-split-depth",action="store",type="int",dest="biarc_max_split_depth",default="4",help="Defines maximum depth of splitting while approximating using biarcs.")
self.OptionParser.add_option("","--unit",action="store",type="string",dest="unit",default="G21 (All units in mm)\n",help="Units")
self.OptionParser.add_option("","--function",action="store",type="string",dest="function",default="Curve",help="What to do: Curve|Area|Area inkscape")
self.OptionParser.add_option("","--tab",action="store",type="string",dest="tab",default="",help="Means nothing right now. Notebooks Tab.")
self.OptionParser.add_option("","--generate_not_parametric_code",action="store",type="inkbool",dest="generate_not_parametric_code",default=False,help="Generated code will be not parametric.")
self.OptionParser.add_option("","--double_sided_cutting",action="store",type="inkbool",dest="double_sided_cutting",default=False,help="Generate code for double-sided cutting.")
self.OptionParser.add_option("","--draw-curves",action="store",type="inkbool",dest="drawCurves",default=False,help="Draws curves to show what geometry was processed")
self.OptionParser.add_option("","--logging",action="store",type="inkbool",dest="logging",default=False,help="Enable output logging from the plugin")
self.OptionParser.add_option("","--loft-distances",action="store",type="string",dest="loft_distances",default="10",help="Distances between paths.")
self.OptionParser.add_option("","--loft-direction",action="store",type="string",dest="loft_direction",default="crosswise",help="Direction of loft's interpolation.")
self.OptionParser.add_option("","--loft-interpolation-degree",action="store",type="float",dest="loft_interpolation_degree",default="2",help="Which interpolation use to loft the paths smooth interpolation or staright.")
self.OptionParser.add_option("","--min-arc-radius",action="store",type="float",dest="min_arc_radius",default="0.0005",help="All arc having radius less than minimum will be considered as straight line")
inkex.errormsg(("Can not write to specified file!"))
return
if(self.skipped>0):
inkex.errormsg(("Warning: skipped %d object(s) because they were not paths. Please convert them to paths using the menu 'Path->Object To Path'"%self.skipped))