Fix converting polygons to outlines for macros
This commit is contained in:
parent
83ae0670d1
commit
6a99359413
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue