Add mirror_x to extrinsic properties
It's not implemented for Polygon shapes, since I haven't thought about how to normalize those for reflection yet
This commit is contained in:
parent
2e54cf1080
commit
032c410b43
8 changed files with 21 additions and 12 deletions
|
|
@ -169,6 +169,6 @@ class Ellipse(Shape):
|
|||
scale = self.radius_y
|
||||
angle = (self.rotation + pi / 2) % pi
|
||||
return (type(self), radii, self.layer), \
|
||||
(self.offset, scale/norm_value, angle, self.dose), \
|
||||
(self.offset, scale/norm_value, angle, False, self.dose), \
|
||||
lambda: Ellipse(radii=radii*norm_value, layer=self.layer)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue