summaryrefslogtreecommitdiff
path: root/gerber/am_statements.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/am_statements.py')
-rw-r--r--gerber/am_statements.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gerber/am_statements.py b/gerber/am_statements.py
index e484b10..b448139 100644
--- a/gerber/am_statements.py
+++ b/gerber/am_statements.py
@@ -386,9 +386,11 @@ class AMOutlinePrimitive(AMPrimitive):
lines = []
prev_point = rotate_point(self.points[0], self.rotation)
for point in self.points[1:]:
- cur_point = rotate_point(self.points[0], self.rotation)
+ cur_point = rotate_point(point, self.rotation)
lines.append(Line(prev_point, cur_point, Circle((0,0), 0)))
+
+ prev_point = cur_point
return Outline(lines, units=units)