summaryrefslogtreecommitdiff
path: root/gerber/primitives.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hkibbe@entic.com>2017-11-01 16:09:06 -0400
committerHamilton Kibbe <hkibbe@entic.com>2017-11-01 16:09:06 -0400
commite12a04fc16fd3c43a1353658a528ac8325ef42bb (patch)
tree4f6ffba96dfaaa03e2b53797b11ef0a97db36320 /gerber/primitives.py
parent8301011abd5961ab6edb2bf91e61d82658df6b9a (diff)
downloadgerbonara-e12a04fc16fd3c43a1353658a528ac8325ef42bb.tar.gz
gerbonara-e12a04fc16fd3c43a1353658a528ac8325ef42bb.tar.bz2
gerbonara-e12a04fc16fd3c43a1353658a528ac8325ef42bb.zip
Fix error in slot rendering from #77
Diffstat (limited to 'gerber/primitives.py')
-rw-r--r--gerber/primitives.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py
index f583ca9..a031199 100644
--- a/gerber/primitives.py
+++ b/gerber/primitives.py
@@ -1666,6 +1666,7 @@ class Slot(Primitive):
def flashed(self):
return False
+ @property
def bounding_box(self):
if self._bounding_box is None:
ll = tuple([c - self.diameter / 2. for c in self.position])