diff options
author | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2014-10-19 22:23:00 -0400 |
---|---|---|
committer | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2014-10-19 22:23:00 -0400 |
commit | 18e3b87625ddb739faeddffcaed48e12db6c7e8b (patch) | |
tree | 8b27aa49e431d67e4940d053c2fd640854bd945a /gerber/__main__.py | |
parent | 6d2db67e6d0973ce26ce3a6700ca44295f73fea7 (diff) | |
download | gerbonara-18e3b87625ddb739faeddffcaed48e12db6c7e8b.tar.gz gerbonara-18e3b87625ddb739faeddffcaed48e12db6c7e8b.tar.bz2 gerbonara-18e3b87625ddb739faeddffcaed48e12db6c7e8b.zip |
Test update
Diffstat (limited to 'gerber/__main__.py')
-rw-r--r-- | gerber/__main__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gerber/__main__.py b/gerber/__main__.py index 10da12e..71e3bfc 100644 --- a/gerber/__main__.py +++ b/gerber/__main__.py @@ -29,14 +29,13 @@ if __name__ == '__main__': for filename in sys.argv[1:]: print "parsing %s" % filename if 'GTO' in filename or 'GBO' in filename: - ctx.set_color((1,1,1)) + ctx.set_color((1, 1, 1)) ctx.set_alpha(0.8) elif 'GTS' in filename or 'GBS' in filename: - ctx.set_color((0.2,0.2,0.75)) + ctx.set_color((0.2, 0.2, 0.75)) ctx.set_alpha(0.8) gerberfile = read(filename) gerberfile.render(ctx) print('Saving image to test.svg') ctx.dump('test.svg') - |