Commit 45c5565c authored by ajfoul's avatar ajfoul

set sane defaults and max for feedrates

parent 771ca369
......@@ -38,8 +38,8 @@ This script is a fork of Gcodetools v1.2 by Nick Drobchenko. It is currently mai
<param name="filename" type="string" _gui-text="File name: ">output.ngc</param>
<param name="directory" type="string" _gui-text="Directory: "></param>
<_param name="help" type="description">(blank is your desktop)</_param>
<param name="feed" type="int" min="0" max="10000" _gui-text="Cut Feedrate:">60</param>
<param name="Mfeed" type="int" min="0" max="10000" _gui-text="Move Feedrate:">1000</param>
<param name="feed" type="int" min="0" max="1000" _gui-text="Cut Feedrate:">60</param>
<param name="Mfeed" type="int" min="0" max="1000" _gui-text="Move Feedrate:">300</param>
<param name="laser" type="int" min="0" max="100" _gui-text="Laser Intensity (0-100):">10</param>
<param name="homebefore" type="boolean" _gui-text="HOMEALL (G28) Before:">true</param>
......
......@@ -429,7 +429,7 @@ class Gcode_tools(inkex.Effect):
self.OptionParser.add_option("-y", "--Yoffset", action="store", type="float", dest="Yoffset", default="0.0", help="Offset along Y")
# added move (laser off) feedrate and laser intensity; made all int rather than float - (ajf)
self.OptionParser.add_option("-p", "--feed", action="store", type="int", dest="feed", default="60", help="Cut Feed rate in unit/min")
self.OptionParser.add_option("-m", "--Mfeed", action="store", type="int", dest="Mfeed", default="1000", help="Move Feed rate in unit/min")
self.OptionParser.add_option("-m", "--Mfeed", action="store", type="int", dest="Mfeed", default="300", help="Move Feed rate in unit/min")
self.OptionParser.add_option("-l", "--laser", action="store", type="int", dest="laser", default="10", help="Laser intensity (0-100)")
self.OptionParser.add_option("", "--homebefore", action="store", type="inkbool", dest="homebefore", default=True, help="Home all beofre starting (G28)")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment