Remove burn offset from fingerHolesAt - offset is now handled by callback

This commit is contained in:
Florian Festi 2013-07-20 17:48:11 +02:00
parent 9fb6e85ad9
commit 7785fcdfa7
1 changed files with 2 additions and 5 deletions

View File

@ -627,13 +627,10 @@ class Boxes:
# Building blocks
def fingerHolesAt(self, x, y, length, angle=90, burn=None,
def fingerHolesAt(self, x, y, length, angle=90,
bedBolts=None, bedBoltSettings=None):
if burn is None:
burn = self.burn
# XXX burn with callbacks
self.ctx.save()
self.moveTo(x, y+burn, angle)
self.moveTo(x, y, angle)
self.fingerHoles(length, bedBolts, bedBoltSettings)
self.ctx.restore()