diff options
author | jaseg <git@jaseg.de> | 2021-12-30 00:24:05 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-12-30 00:24:05 +0100 |
commit | cf4957aee491d225b78993edacb0c4e21fcc20eb (patch) | |
tree | 816b85887e830f14b26c7d4617b49347cf0c3d49 /gerbonara | |
parent | 5359e9cb37fa7037ae926751ac7924295f327b43 (diff) | |
download | gerbonara-cf4957aee491d225b78993edacb0c4e21fcc20eb.tar.gz gerbonara-cf4957aee491d225b78993edacb0c4e21fcc20eb.tar.bz2 gerbonara-cf4957aee491d225b78993edacb0c4e21fcc20eb.zip |
All round trip tests pass
Diffstat (limited to 'gerbonara')
-rw-r--r-- | gerbonara/gerber/graphic_objects.py | 2 | ||||
-rw-r--r-- | gerbonara/gerber/rs274x.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gerbonara/gerber/graphic_objects.py b/gerbonara/gerber/graphic_objects.py index 93f9884..97c664c 100644 --- a/gerbonara/gerber/graphic_objects.py +++ b/gerbonara/gerber/graphic_objects.py @@ -32,6 +32,7 @@ class Flash(GerberObject): yield from gs.set_polarity(self.polarity_dark) yield from gs.set_aperture(self.aperture) yield FlashStmt(self.x, self.y) + gs.update_point(self.x, self.y) class Region(GerberObject): def __init__(self, outline=None, arc_centers=None, *, polarity_dark): @@ -120,7 +121,6 @@ class Line(GerberObject): yield from gs.set_aperture(self.aperture) yield from gs.set_interpolation_mode(LinearModeStmt) yield from gs.set_current_point(self.p1) - print('interpolate', self.p2) yield InterpolateStmt(*self.p2) gs.update_point(*self.p2) diff --git a/gerbonara/gerber/rs274x.py b/gerbonara/gerber/rs274x.py index ad5e494..28949c5 100644 --- a/gerbonara/gerber/rs274x.py +++ b/gerbonara/gerber/rs274x.py @@ -366,9 +366,7 @@ class GraphicsState: yield ApertureStmt(self.aperture_map[id(aperture)]) def set_current_point(self, point): - print(f'current point {self.point}') if self.point != point: - print(f'current point update {point}') self.point = point yield MoveStmt(*point) |