gears.p: More fixes for racks

This commit is contained in:
Florian Festi 2016-10-01 23:30:32 +02:00
parent bc1d9ce19e
commit 0764a3660f
1 changed files with 4 additions and 1 deletions

View File

@ -386,6 +386,9 @@ class Gears():
def drawPoints(self, lines, kerfdir=1):
if not lines:
return
if kerfdir != 0:
lines = kerf(lines, self.boxes.burn*kerfdir)
@ -614,7 +617,7 @@ class Gears():
if self.boxes.move(width, height, move, before=True):
return
self.boxes.cc(callback, None, s+b, s+b)
self.boxes.cc(callback, None)
self.boxes.moveTo(width/2.0, base_height+addendum, -180)
self.drawPoints(points)
self.drawPoints(guide_points, kerfdir=0)