Commit c43073f8 authored by leonmuller's avatar leonmuller

Moved the draw curves option to only apply to vectors

parent 4e85e07e
...@@ -1020,11 +1020,13 @@ class Gcode_tools(inkex.Effect): ...@@ -1020,11 +1020,13 @@ class Gcode_tools(inkex.Effect):
curve = self.parse_curve(objectData) curve = self.parse_curve(objectData)
#Should the curves be drawn in inkscape? #Should the curves be drawn in inkscape?
if (self.options.drawCurves):
self.draw_curve(curve)
#Generate the GCode for this layer #Generate the GCode for this layer
if (curve['type'] == "vector"): if (curve['type'] == "vector"):
if (self.options.drawCurves):
self.draw_curve(curve)
gcode += self.generate_gcode(curve, 0, laserPower, altfeed=altfeed, altppm=altppm) gcode += self.generate_gcode(curve, 0, laserPower, altfeed=altfeed, altppm=altppm)
elif (curve['type'] == "raster"): elif (curve['type'] == "raster"):
gcode += self.generate_raster_gcode(curve, laserPower, altfeed=altfeed) gcode += self.generate_raster_gcode(curve, laserPower, altfeed=altfeed)
......
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