summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/graphic_objects.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-12-30 00:20:31 +0100
committerjaseg <git@jaseg.de>2021-12-30 00:20:31 +0100
commit5359e9cb37fa7037ae926751ac7924295f327b43 (patch)
tree77d054a5c648aa473ed2d658972c55ee516da0a2 /gerbonara/gerber/graphic_objects.py
parenta0e8aa16e1a34a8309f9fefed90fd5ddf6b33709 (diff)
downloadgerbonara-5359e9cb37fa7037ae926751ac7924295f327b43.tar.gz
gerbonara-5359e9cb37fa7037ae926751ac7924295f327b43.tar.bz2
gerbonara-5359e9cb37fa7037ae926751ac7924295f327b43.zip
Even less failures
Diffstat (limited to 'gerbonara/gerber/graphic_objects.py')
-rw-r--r--gerbonara/gerber/graphic_objects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerbonara/gerber/graphic_objects.py b/gerbonara/gerber/graphic_objects.py
index 8ee8f57..93f9884 100644
--- a/gerbonara/gerber/graphic_objects.py
+++ b/gerbonara/gerber/graphic_objects.py
@@ -54,7 +54,6 @@ class Region(GerberObject):
self.poly.arc_centers = [ gp.rotate_point(x, y, angle, cx, cy) for x, y in self.poly.arc_centers ]
def append(self, obj):
- print('append', obj)
if not self.poly.outline:
self.poly.outline.append(obj.p1)
self.poly.outline.append(obj.p2)
@@ -121,7 +120,9 @@ 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)
@dataclass