diff options
author | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2014-10-08 09:27:52 -0400 |
---|---|---|
committer | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2014-10-08 09:27:52 -0400 |
commit | 1653ae5cbe88757e453bccf499dc1b8ccb278e58 (patch) | |
tree | b80b610fb0c5c52c91edbe753947daeb0e39db20 /README.md | |
parent | 100ab899ed7a1a49c3401b87b7d6b0f53a043dbc (diff) | |
download | gerbonara-1653ae5cbe88757e453bccf499dc1b8ccb278e58.tar.gz gerbonara-1653ae5cbe88757e453bccf499dc1b8ccb278e58.tar.bz2 gerbonara-1653ae5cbe88757e453bccf499dc1b8ccb278e58.zip |
Update readme and example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -15,10 +15,8 @@ Example: nc_drill = gerber.read('example.txt')
# Rendering context
- ctx = GerberSvgContext
+ ctx = GerberSvgContext()
# Create SVG image
- top_copper.render('top_copper.svg', ctx)
- nc_drill.render('composite.svg', ctx)
-
-
+ top_copper.render(ctx)
+ nc_drill.render(ctx, 'composite.svg')
|