From 2b1c751ff76ebd6901633235ee694cc93dabce81 Mon Sep 17 00:00:00 2001 From: Hiroshi Murayama Date: Mon, 9 Sep 2019 09:07:38 +0900 Subject: improve compatibility with RS-274x specification: - can merge multiple files having different file scope modifier, such as AS, MI, OF, SF, and IR - support modal coordinate notation --- gerberex/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerberex/common.py') diff --git a/gerberex/common.py b/gerberex/common.py index 47bc6b3..6e8a832 100644 --- a/gerberex/common.py +++ b/gerberex/common.py @@ -25,7 +25,7 @@ def loads(data, filename=None, format=None): fmt = detect_file_format(data) if fmt == 'rs274x': - file = gerber.rs274x.loads(data, filename=filename) + file = gerberex.rs274x.loads(data, filename=filename) return gerberex.rs274x.GerberFile.from_gerber_file(file) elif fmt == 'excellon': return gerberex.excellon.loads(data, filename=filename, format=format) -- cgit