Fix placing of hex holes in roundedPlate

This commit is contained in:
Florian Festi 2013-07-20 19:29:41 +02:00
parent 1918c0b051
commit 0e5776451f
1 changed files with 6 additions and 1 deletions

View File

@ -777,8 +777,10 @@ class Boxes:
return
self.ctx.save()
self.moveTo(self.fingerJointEdge.margin(),
self.fingerJointEdge.margin())
self.moveTo(r, 0)
self.moveTo(r+self.fingerJointEdge.spacing(), self.fingerJointEdge.spacing())
self.cc(callback, 0)
self.fingerJointEdge(x/2.0-r, bedBolts=self.getEntry(bedBolts, 0),
bedBoltSettings=self.getEntry(bedBoltSettings, 0))
@ -795,6 +797,9 @@ class Boxes:
self.ctx.restore()
self.ctx.save()
self.moveTo(self.fingerJointEdge.margin(),
self.fingerJointEdge.margin())
if holesMargin is not None:
self.moveTo(holesMargin, holesMargin)
if r > holesMargin: