From 3767598d5dd15abd87b6620bc01b7f402725d866 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Mon, 27 Aug 2018 15:09:17 +0200 Subject: [PATCH] Fix placement of rectangularHole() which was off by one burn --- boxes/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/__init__.py b/boxes/__init__.py index ad7daa7..07d2340 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -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)