summaryrefslogtreecommitdiff
path: root/gerber/primitives.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2016-01-31 14:17:35 +0800
committerGarret Fick <garret@ficksworkshop.com>2016-01-31 14:17:35 +0800
commite84f131720e5952ba0dc20de8729bfd1d7aa0fe7 (patch)
treedcecbfd0e96d437aa45b30206ce606daa96985d1 /gerber/primitives.py
parent60784dfa2107f72fcaeed739b835d647e4c3a7a9 (diff)
downloadgerbonara-e84f131720e5952ba0dc20de8729bfd1d7aa0fe7.tar.gz
gerbonara-e84f131720e5952ba0dc20de8729bfd1d7aa0fe7.tar.bz2
gerbonara-e84f131720e5952ba0dc20de8729bfd1d7aa0fe7.zip
Add support for more excellon formats. Dont consider line width when determinging region bounding box
Diffstat (limited to 'gerber/primitives.py')
-rw-r--r--gerber/primitives.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py
index b0e17e9..81c5837 100644
--- a/gerber/primitives.py
+++ b/gerber/primitives.py
@@ -827,7 +827,7 @@ class Region(Primitive):
@property
def bounding_box(self):
- xlims, ylims = zip(*[p.bounding_box for p in self.primitives])
+ xlims, ylims = zip(*[p.bounding_box_no_aperture for p in self.primitives])
minx, maxx = zip(*xlims)
miny, maxy = zip(*ylims)
min_x = min(minx)