diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2016-01-05 22:05:19 -0200 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2016-01-05 22:05:19 -0200 |
commit | 7a532514631384dbfc9d7fc2002cbbfe52433c9f (patch) | |
tree | 5678cff7ba877e9c93ea63445f081fd0430f8b4b /gerber/common.py | |
parent | af5541ac93b222c05229ee05c9def8dbae5f6e25 (diff) | |
parent | 6a005436b475e3517fd6a583473b60e601bcc661 (diff) | |
download | gerbonara-7a532514631384dbfc9d7fc2002cbbfe52433c9f.tar.gz gerbonara-7a532514631384dbfc9d7fc2002cbbfe52433c9f.tar.bz2 gerbonara-7a532514631384dbfc9d7fc2002cbbfe52433c9f.zip |
Merge pull request #53 from curtacircuitos/pcb_interface
Add PCB interface
Diffstat (limited to 'gerber/common.py')
-rw-r--r-- | gerber/common.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gerber/common.py b/gerber/common.py index f8979dc..04b6423 100644 --- a/gerber/common.py +++ b/gerber/common.py @@ -17,6 +17,7 @@ from . import rs274x from . import excellon +from . import ipc356 from .exceptions import ParseError from .utils import detect_file_format @@ -43,6 +44,8 @@ def read(filename): return rs274x.read(filename) elif fmt == 'excellon': return excellon.read(filename) + elif fmt == 'ipc_d_356': + return ipc356.read(filename) else: raise ParseError('Unable to detect file format') |