diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2014-10-26 20:55:22 -0200 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2014-10-26 20:55:22 -0200 |
commit | d5c8d896d87e02d32d0c0758a09f051c141006f6 (patch) | |
tree | 50e2788e5dfc63db909a3613fff6934a0e80b153 /README.md | |
parent | d0eedf3dd7ee4fbf19f51de319e48dd964b93561 (diff) | |
parent | 4f076d7b769b0f488888d268a9a199b7545afdd7 (diff) | |
download | gerbonara-d5c8d896d87e02d32d0c0758a09f051c141006f6.tar.gz gerbonara-d5c8d896d87e02d32d0c0758a09f051c141006f6.tar.bz2 gerbonara-d5c8d896d87e02d32d0c0758a09f051c141006f6.zip |
Merge pull request #4 from hamiltonkibbe/master
Many fixes in parsing, rendering and new features
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 40 |
1 files changed, 31 insertions, 9 deletions
@@ -1,9 +1,31 @@ -gerber-tools -============ - -This hopefully will be a useful set of tools to handle Gerber files in Python. - -Right now we have a working parser and I am working on simple Gerber to SVG converter. - -See gerber.md for some random information regardind Gerber format. - +gerber-tools
+============
+![Travis CI Build Status](https://travis-ci.org/hamiltonkibbe/gerber-tools.svg?branch=master)
+[![Coverage Status](https://coveralls.io/repos/hamiltonkibbe/gerber-tools/badge.png?branch=master)](https://coveralls.io/r/hamiltonkibbe/gerber-tools?branch=master)
+
+Tools to handle Gerber and Excellon files in Python.
+
+Useage Example:
+---------------
+ import gerber
+ from gerber.render import GerberSvgContext
+
+ # Read gerber and Excellon files
+ top_copper = gerber.read('example.GTL')
+ nc_drill = gerber.read('example.txt')
+
+ # Rendering context
+ ctx = GerberSvgContext()
+
+ # Create SVG image
+ top_copper.render(ctx)
+ nc_drill.render(ctx, 'composite.svg')
+
+
+Rendering Examples:
+-------------------
+###Top Composite rendering
+![Composite Top Image](examples/composite_top.png)
+
+###Bottom Composite rendering
+![Composite Bottom Image](examples/composite_bottom.png)
\ No newline at end of file |