summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2014-10-08 09:27:52 -0400
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2014-10-08 09:27:52 -0400
commit1653ae5cbe88757e453bccf499dc1b8ccb278e58 (patch)
treeb80b610fb0c5c52c91edbe753947daeb0e39db20 /README.md
parent100ab899ed7a1a49c3401b87b7d6b0f53a043dbc (diff)
downloadgerbonara-1653ae5cbe88757e453bccf499dc1b8ccb278e58.tar.gz
gerbonara-1653ae5cbe88757e453bccf499dc1b8ccb278e58.tar.bz2
gerbonara-1653ae5cbe88757e453bccf499dc1b8ccb278e58.zip
Update readme and example
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/README.md b/README.md
index ef8fe50..1821c0a 100644
--- a/README.md
+++ b/README.md
@@ -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')