Fix placing of hex holes in roundedPlate
This commit is contained in:
parent
1918c0b051
commit
0e5776451f
7
boxes.py
7
boxes.py
|
@ -777,8 +777,10 @@ class Boxes:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.ctx.save()
|
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.cc(callback, 0)
|
||||||
self.fingerJointEdge(x/2.0-r, bedBolts=self.getEntry(bedBolts, 0),
|
self.fingerJointEdge(x/2.0-r, bedBolts=self.getEntry(bedBolts, 0),
|
||||||
bedBoltSettings=self.getEntry(bedBoltSettings, 0))
|
bedBoltSettings=self.getEntry(bedBoltSettings, 0))
|
||||||
|
@ -795,6 +797,9 @@ class Boxes:
|
||||||
self.ctx.restore()
|
self.ctx.restore()
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
|
|
||||||
|
self.moveTo(self.fingerJointEdge.margin(),
|
||||||
|
self.fingerJointEdge.margin())
|
||||||
|
|
||||||
if holesMargin is not None:
|
if holesMargin is not None:
|
||||||
self.moveTo(holesMargin, holesMargin)
|
self.moveTo(holesMargin, holesMargin)
|
||||||
if r > holesMargin:
|
if r > holesMargin:
|
||||||
|
|
Loading…
Reference in New Issue