summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/pcb.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/pcb.py')
-rw-r--r--gerbonara/gerber/pcb.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gerbonara/gerber/pcb.py b/gerbonara/gerber/pcb.py
index 1d22e74..f00c4b7 100644
--- a/gerbonara/gerber/pcb.py
+++ b/gerbonara/gerber/pcb.py
@@ -118,7 +118,9 @@ class PCB(object):
def board_bounds(self):
for layer in self.layers:
if layer.layer_class == 'outline':
- return layer.bounds
+ return layer.bounding_box
+
for layer in self.layers:
if layer.layer_class == 'top':
- return layer.bounds
+ return layer.bounding_box
+