summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-11-15 22:31:36 -0200
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-11-15 22:31:42 -0200
commit7e2e469f5e705bcede137f15555da19898bf1f44 (patch)
tree6808c151fccc1789a5ba9709c8972c0bbb218096 /gerber/__main__.py
parent6e29b9bcae8167dbb9c75e5a79e09886b952e988 (diff)
downloadgerbonara-7e2e469f5e705bcede137f15555da19898bf1f44.tar.gz
gerbonara-7e2e469f5e705bcede137f15555da19898bf1f44.tar.bz2
gerbonara-7e2e469f5e705bcede137f15555da19898bf1f44.zip
Remove svgwrite backend
We moved the functionality to cairo backend, it can write png and svg and maybe more (pdfs?)
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)