diff options
author | Hamilton Kibbe <hkibbe@entic.com> | 2017-11-01 16:09:06 -0400 |
---|---|---|
committer | Hamilton Kibbe <hkibbe@entic.com> | 2017-11-01 16:09:06 -0400 |
commit | e12a04fc16fd3c43a1353658a528ac8325ef42bb (patch) | |
tree | 4f6ffba96dfaaa03e2b53797b11ef0a97db36320 /gerber/primitives.py | |
parent | 8301011abd5961ab6edb2bf91e61d82658df6b9a (diff) | |
download | gerbonara-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.py | 1 |
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])
|