diff options
author | Hiroshi Murayama <opiopan@gmail.com> | 2019-09-30 18:52:17 +0900 |
---|---|---|
committer | Hiroshi Murayama <opiopan@gmail.com> | 2019-09-30 18:52:17 +0900 |
commit | d7a069324222bb8f69adc9b1c815fc9f3f6a29d6 (patch) | |
tree | 0b98a748d8d4e57b2b8ecf59a63963563e4949c8 /gerberex/composition.py | |
parent | 242dc2ae173659a47c694c7423b62125aeb6c9a6 (diff) | |
download | gerbonara-d7a069324222bb8f69adc9b1c815fc9f3f6a29d6.tar.gz gerbonara-d7a069324222bb8f69adc9b1c815fc9f3f6a29d6.tar.bz2 gerbonara-d7a069324222bb8f69adc9b1c815fc9f3f6a29d6.zip |
fix a issue that coordinate normalization for excellon is imperfect
Diffstat (limited to 'gerberex/composition.py')
-rw-r--r-- | gerberex/composition.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gerberex/composition.py b/gerberex/composition.py index 634640e..b5dffb1 100644 --- a/gerberex/composition.py +++ b/gerberex/composition.py @@ -138,7 +138,9 @@ class DrillComposition(Composition): if num == t.number: yield statement.to_excellon(self.settings) yield EndOfProgramStmt().to_excellon() - + + self.settings.notation = 'absolute' + self.settings.zeros = 'trailing' with open(path, 'w') as f: gerberex.excellon.write_excellon_header(f, self.settings, self.tools) for statement in statements(): |