summaryrefslogtreecommitdiff
path: root/gerberex/excellon.py
diff options
context:
space:
mode:
authorHiroshi Murayama <opiopan@gmail.com>2019-09-09 09:07:38 +0900
committerHiroshi Murayama <opiopan@gmail.com>2019-09-09 09:15:01 +0900
commit2b1c751ff76ebd6901633235ee694cc93dabce81 (patch)
treeba9c53c399a0daa763e4522a85ceb93f038d40fe /gerberex/excellon.py
parent13ab9db6e7571f3d0fcb406bfe6795eea9ce4e1c (diff)
downloadgerbonara-2b1c751ff76ebd6901633235ee694cc93dabce81.tar.gz
gerbonara-2b1c751ff76ebd6901633235ee694cc93dabce81.tar.bz2
gerbonara-2b1c751ff76ebd6901633235ee694cc93dabce81.zip
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
Diffstat (limited to 'gerberex/excellon.py')
-rw-r--r--gerberex/excellon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerberex/excellon.py b/gerberex/excellon.py
index a8c01c7..4f867be 100644
--- a/gerberex/excellon.py
+++ b/gerberex/excellon.py
@@ -27,7 +27,7 @@ def loads(data, filename=None, settings=None, tools=None, format=None):
return ExcellonFileEx.from_file(file)
def write_excellon_header(file, settings, tools):
- file.write('M48\nFMAT,2\nICI,OFF\n%s\n' %
+ file.write('M48\nFMAT,2\nICI,OFF\n%s\n' %
UnitStmtEx(settings.units, settings.zeros, settings.format).to_excellon(settings))
for tool in tools:
file.write(tool.to_excellon(settings) + '\n')