summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gerbonara/gerber/graphic_objects.py2
-rw-r--r--gerbonara/gerber/rs274x.py2
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)