summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2015-11-15 22:16:03 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2015-11-15 22:16:03 -0500
commitba82d60cb8a886a82d4c4199473bb1189efc6419 (patch)
tree6808c151fccc1789a5ba9709c8972c0bbb218096 /gerber/__main__.py
parent6e29b9bcae8167dbb9c75e5a79e09886b952e988 (diff)
parent7e2e469f5e705bcede137f15555da19898bf1f44 (diff)
downloadgerbonara-ba82d60cb8a886a82d4c4199473bb1189efc6419.tar.gz
gerbonara-ba82d60cb8a886a82d4c4199473bb1189efc6419.tar.bz2
gerbonara-ba82d60cb8a886a82d4c4199473bb1189efc6419.zip
Merge pull request #45 from curtacircuitos/remove-svgwrite-backend
Remove svgwrite backend
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)