diff options
author | Garret Fick <garret@ficksworkshop.com> | 2015-12-30 16:11:25 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2015-12-30 16:11:25 +0800 |
commit | 2e42d1a4705f8cf30a9ae1f987567ce97a39ae11 (patch) | |
tree | b8ff5ba903e4c50e6c5b3b9a38f777a203a50422 /gerber/excellon.py | |
parent | 96692b22216fdfe11f2ded104ac0bdba3b7866a5 (diff) | |
download | gerbonara-2e42d1a4705f8cf30a9ae1f987567ce97a39ae11.tar.gz gerbonara-2e42d1a4705f8cf30a9ae1f987567ce97a39ae11.tar.bz2 gerbonara-2e42d1a4705f8cf30a9ae1f987567ce97a39ae11.zip |
Support KiCad format statement where FMAT,2 is 2:4 with inch
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-x | gerber/excellon.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gerber/excellon.py b/gerber/excellon.py index 3fb813f..cdd6d8d 100755 --- a/gerber/excellon.py +++ b/gerber/excellon.py @@ -480,6 +480,7 @@ class ExcellonParser(object): elif line[:4] == 'FMAT':
stmt = FormatStmt.from_excellon(line)
self.statements.append(stmt)
+ self.format = stmt.format_tuple
elif line[:3] == 'G40':
self.statements.append(CutterCompensationOffStmt())
|