From dd63b169f177389602e17bc6ced53bd0f1ba0de3 Mon Sep 17 00:00:00 2001 From: Hamilton Kibbe Date: Sat, 10 Oct 2015 16:51:21 -0400 Subject: Allow files to be read from strings per #37 Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string --- examples/cairo_example.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'examples') diff --git a/examples/cairo_example.py b/examples/cairo_example.py index 49c4d0c..a312e89 100644 --- a/examples/cairo_example.py +++ b/examples/cairo_example.py @@ -30,9 +30,6 @@ from gerber.render import GerberCairoContext GERBER_FOLDER = os.path.abspath(os.path.join(os.path.dirname(__file__), 'gerbers')) - - - # Open the gerber files copper = read(os.path.join(GERBER_FOLDER, 'copper.GTL')) mask = read(os.path.join(GERBER_FOLDER, 'soldermask.GTS')) -- cgit