summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
authorGarret Fick <garret@fickworkshop.com>2015-11-18 11:38:43 +0800
committerGarret Fick <garret@fickworkshop.com>2015-11-18 11:38:43 +0800
commitfc5d1898f55ce064a529b404abb8679212252f32 (patch)
tree6808c151fccc1789a5ba9709c8972c0bbb218096 /gerber/__main__.py
parent6e29b9bcae8167dbb9c75e5a79e09886b952e988 (diff)
parentba82d60cb8a886a82d4c4199473bb1189efc6419 (diff)
downloadgerbonara-fc5d1898f55ce064a529b404abb8679212252f32.tar.gz
gerbonara-fc5d1898f55ce064a529b404abb8679212252f32.tar.bz2
gerbonara-fc5d1898f55ce064a529b404abb8679212252f32.zip
Merge pull request #1 from curtacircuitos/master
Merge from upstream
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)