parent b883aea6
Pipeline #44 skipped
......@@ -667,7 +667,7 @@ class Gcode_tools(inkex.Effect):
#Do not remove these two lines, they're important. Will not raster correctly if feedrate is not set prior.
#Move fast to point, cut at correct speed.
if(cutFeed < self.options.Mfeed):
if(int("".join([x for x in list(cutFeed) if x.isdigit()])) < int(self.options.Mfeed)):
gcode += 'G0 X'+str(curve['x'])+' Y'+str(curve['y'])+' F'+str(self.options.Mfeed)+'\n'
gcode += 'G0 X'+str(curve['x'])+' Y'+str(curve['y'])+' '+cutFeed+'\n'
......
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