Remove burn offset from fingerHolesAt - offset is now handled by callback
This commit is contained in:
parent
9fb6e85ad9
commit
7785fcdfa7
7
boxes.py
7
boxes.py
|
@ -627,13 +627,10 @@ class Boxes:
|
||||||
|
|
||||||
# Building blocks
|
# Building blocks
|
||||||
|
|
||||||
def fingerHolesAt(self, x, y, length, angle=90, burn=None,
|
def fingerHolesAt(self, x, y, length, angle=90,
|
||||||
bedBolts=None, bedBoltSettings=None):
|
bedBolts=None, bedBoltSettings=None):
|
||||||
if burn is None:
|
|
||||||
burn = self.burn
|
|
||||||
# XXX burn with callbacks
|
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
self.moveTo(x, y+burn, angle)
|
self.moveTo(x, y, angle)
|
||||||
self.fingerHoles(length, bedBolts, bedBoltSettings)
|
self.fingerHoles(length, bedBolts, bedBoltSettings)
|
||||||
self.ctx.restore()
|
self.ctx.restore()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue