diff options
author | jaseg <git@jaseg.de> | 2022-01-22 14:02:07 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-01-22 14:02:07 +0100 |
commit | b85e8b0065c1b90159970ed8139f0747e953eb3f (patch) | |
tree | 0851adb7626a06d7cf7dad67ea7fbe9c2b61bdfb /gerbonara/gerber/graphic_objects.py | |
parent | 9966fa5ae65509877db4d8e3dc6508963750bfc4 (diff) | |
download | gerbonara-b85e8b0065c1b90159970ed8139f0747e953eb3f.tar.gz gerbonara-b85e8b0065c1b90159970ed8139f0747e953eb3f.tar.bz2 gerbonara-b85e8b0065c1b90159970ed8139f0747e953eb3f.zip |
Excellon: fix first tests
Diffstat (limited to 'gerbonara/gerber/graphic_objects.py')
-rw-r--r-- | gerbonara/gerber/graphic_objects.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/gerber/graphic_objects.py b/gerbonara/gerber/graphic_objects.py index c626ba3..b42a01c 100644 --- a/gerbonara/gerber/graphic_objects.py +++ b/gerbonara/gerber/graphic_objects.py @@ -90,8 +90,8 @@ class Flash(GerberObject): yield from ctx.select_tool(self.tool) yield from ctx.drill_mode() - x = ctx.settings.write_gerber_value(self.x, self.unit) - y = ctx.settings.write_gerber_value(self.y, self.unit) + x = ctx.settings.write_excellon_value(self.x, self.unit) + y = ctx.settings.write_excellon_value(self.y, self.unit) yield f'X{x}Y{y}' ctx.set_current_point(self.unit, self.x, self.y) |