Fix placement of debugging rectangel for FingerHoles

Not the outer border of the lines are exactly at the border of the matching
part
This commit is contained in:
Florian Festi 2018-08-27 15:10:50 +02:00
parent 3767598d5d
commit 0e8a718a1b
1 changed files with 2 additions and 2 deletions

View File

@ -674,8 +674,8 @@ class FingerHoles(FingerJointBase):
fingers, leftover = self.calcFingers(length, bedBolts)
if self.boxes.debug:
self.ctx.rectangle(0, -self.settings.width / 2 + b,
length, self.settings.width - 2 * b)
self.ctx.rectangle(b, -self.settings.width / 2 + b,
length - 2 * b, self.settings.width - 2 * b)
for i in range(fingers):
pos = leftover / 2.0 + i * (s + f)