Fix placement of rectangularHole() which was off by one burn
This commit is contained in:
parent
460691f0aa
commit
3767598d5d
|
@ -1028,7 +1028,7 @@ class Boxes:
|
||||||
:param r: (Default value = 0) radius of the corners
|
: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):
|
for d in (dy, dx, dy, dx):
|
||||||
self.corner(-90, r)
|
self.corner(-90, r)
|
||||||
self.edge(d - 2 * r)
|
self.edge(d - 2 * r)
|
||||||
|
|
Loading…
Reference in New Issue