Fix placement of rectangularHole() which was off by one burn

This commit is contained in:
Florian Festi 2018-08-27 15:09:17 +02:00
parent 460691f0aa
commit 3767598d5d
1 changed files with 1 additions and 1 deletions

View File

@ -1028,7 +1028,7 @@ class Boxes:
:param r: (Default value = 0) radius of the corners
"""
self.moveTo(x + r - dx / 2.0, y - dy / 2.0, 180)
self.moveTo(x + r - dx / 2.0, y - dy / 2.0 + self.burn, 180)
for d in (dy, dx, dy, dx):
self.corner(-90, r)
self.edge(d - 2 * r)