summaryrefslogtreecommitdiff
path: root/gerber/common.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2016-07-20 23:20:15 +0800
committerGarret Fick <garret@ficksworkshop.com>2016-07-20 23:20:15 +0800
commit76a49ec8e7d286f887603d05ee64b78e50ca3112 (patch)
tree6a19bbaefefd0042920f208467a87291f27c679b /gerber/common.py
parent34f20ee90fc54ca046460bfae06bce927870536f (diff)
parent6f876edd09d9b81649691e529f85653f14b8fd1c (diff)
downloadgerbonara-76a49ec8e7d286f887603d05ee64b78e50ca3112.tar.gz
gerbonara-76a49ec8e7d286f887603d05ee64b78e50ca3112.tar.bz2
gerbonara-76a49ec8e7d286f887603d05ee64b78e50ca3112.zip
Manually merge change 6f876edd09d9b81649691e529f85653f14b8fd1c
Diffstat (limited to 'gerber/common.py')
-rw-r--r--gerber/common.py3
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')