- minor PEP changes
This commit is contained in:
parent
bb3b07455c
commit
eb0637c5bb
@ -2994,7 +2994,7 @@ class CNCjob(Geometry):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
points[drill['tool']] = [drill['point']]
|
points[drill['tool']] = [drill['point']]
|
||||||
|
|
||||||
#log.debug("Found %d drills." % len(points))
|
# log.debug("Found %d drills." % len(points))
|
||||||
self.gcode = []
|
self.gcode = []
|
||||||
|
|
||||||
# Basic G-Code macros
|
# Basic G-Code macros
|
||||||
@ -3016,7 +3016,7 @@ class CNCjob(Geometry):
|
|||||||
else:
|
else:
|
||||||
gcode += "M03\n" # Spindle start
|
gcode += "M03\n" # Spindle start
|
||||||
|
|
||||||
#gcode += self.pausecode + "\n"
|
# gcode += self.pausecode + "\n"
|
||||||
|
|
||||||
for tool in tools:
|
for tool in tools:
|
||||||
|
|
||||||
@ -3187,7 +3187,7 @@ class CNCjob(Geometry):
|
|||||||
log.warning("G-code generation not implemented for %s" % (str(type(geo))))
|
log.warning("G-code generation not implemented for %s" % (str(type(geo))))
|
||||||
|
|
||||||
# Reverse coordinates if not a loop so we can continue
|
# Reverse coordinates if not a loop so we can continue
|
||||||
# cutting without returning to the beginhing.
|
# cutting without returning to the beginning.
|
||||||
if type(geo) == LineString:
|
if type(geo) == LineString:
|
||||||
geo.coords = list(geo.coords)[::-1]
|
geo.coords = list(geo.coords)[::-1]
|
||||||
reverse = True
|
reverse = True
|
||||||
|
Loading…
Reference in New Issue
Block a user