Add TODO noting that polygon mirroring could be normalized

lethe/HEAD
Jan Petykiewicz 5 years ago
parent f00d283c56
commit a154555902

@ -264,6 +264,8 @@ class Polygon(Shape):
x_min = x_min[y_min]
reordered_vertices = numpy.roll(rotated_vertices, -x_min, axis=0)
# TODO: normalize mirroring?
return (type(self), reordered_vertices.data.tobytes(), self.layer), \
(offset, scale/norm_value, rotation, False, self.dose), \
lambda: Polygon(reordered_vertices*norm_value, layer=self.layer)

Loading…
Cancel
Save