summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2015-11-18 11:42:11 +0800
committerGarret Fick <garret@ficksworkshop.com>2015-11-18 11:42:11 +0800
commitec1bc61a219bb2ca683393b68394f09681453c43 (patch)
tree10e7c528f1e00f472b283112ef5eb7387be545b2 /gerber/__main__.py
parentf2b075e338fcd103a7af6e20e27f3960e63d20e4 (diff)
parentfc5d1898f55ce064a529b404abb8679212252f32 (diff)
downloadgerbonara-ec1bc61a219bb2ca683393b68394f09681453c43.tar.gz
gerbonara-ec1bc61a219bb2ca683393b68394f09681453c43.tar.bz2
gerbonara-ec1bc61a219bb2ca683393b68394f09681453c43.zip
Merge branch 'master' of https://github.com/garretfick/pcb-tools
Diffstat (limited to 'gerber/__main__.py')
-rw-r--r--gerber/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/__main__.py b/gerber/__main__.py
index 195973b..6643b54 100644
--- a/gerber/__main__.py
+++ b/gerber/__main__.py
@@ -17,14 +17,14 @@
if __name__ == '__main__':
from gerber.common import read
- from gerber.render import GerberSvgContext
+ from gerber.render import GerberCairoContext
import sys
if len(sys.argv) < 2:
sys.stderr.write("Usage: python -m gerber <filename> <filename>...\n")
sys.exit(1)
- ctx = GerberSvgContext()
+ ctx = GerberCairoContext()
ctx.alpha = 0.95
for filename in sys.argv[1:]:
print("parsing %s" % filename)