From d7a069324222bb8f69adc9b1c815fc9f3f6a29d6 Mon Sep 17 00:00:00 2001 From: Hiroshi Murayama Date: Mon, 30 Sep 2019 18:52:17 +0900 Subject: fix a issue that coordinate normalization for excellon is imperfect --- gerberex/excellon.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gerberex/excellon.py') diff --git a/gerberex/excellon.py b/gerberex/excellon.py index 4f867be..570f94e 100644 --- a/gerberex/excellon.py +++ b/gerberex/excellon.py @@ -200,6 +200,8 @@ class ExcellonFileEx(ExcellonFile): self.units = 'metric' def write(self, filename=None): + self.notation = 'absolute' + self.zeros = 'trailing' filename = filename if filename is not None else self.filename with open(filename, 'w') as f: write_excellon_header(f, self.settings, [self.tools[t] for t in self.tools]) -- cgit