summaryrefslogtreecommitdiff
path: root/gerber/cam.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2016-07-24 17:08:47 +0800
committerGarret Fick <garret@ficksworkshop.com>2016-07-24 17:08:47 +0800
commit7cd6acf12670f3773113f67ed2acb35cb21c32a0 (patch)
treece2d79376375b8c7b4ee8c0f519f23d3f3fc1db9 /gerber/cam.py
parentcd4614f9973eb9f4ce858b3864573367614f54b6 (diff)
downloadgerbonara-7cd6acf12670f3773113f67ed2acb35cb21c32a0.tar.gz
gerbonara-7cd6acf12670f3773113f67ed2acb35cb21c32a0.tar.bz2
gerbonara-7cd6acf12670f3773113f67ed2acb35cb21c32a0.zip
Add many render tests based on the Umaco gerger specification. Fix multiple rendering bugs, especially related to holes in flashed apertures
Diffstat (limited to 'gerber/cam.py')
-rw-r--r--gerber/cam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/cam.py b/gerber/cam.py
index 28918cb..f64aa34 100644
--- a/gerber/cam.py
+++ b/gerber/cam.py
@@ -260,7 +260,7 @@ class CamFile(object):
If provided, save the rendered image to `filename`
"""
- ctx.set_bounds(self.bounds)
+ ctx.set_bounds(self.bounding_box)
ctx._paint_background()
if invert: