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
|
|
@ -261,9 +261,9 @@ class Pattern:
|
|||
pat = Pattern(shapes=[shape])
|
||||
|
||||
for i, values in shape_table[label][1]:
|
||||
(offset, scale, rotation, dose) = values
|
||||
(offset, scale, rotation, mirror_x, dose) = values
|
||||
subpat = SubPattern(pattern=pat, offset=offset, scale=scale,
|
||||
rotation=rotation, dose=dose)
|
||||
rotation=rotation, dose=dose, mirrored=(mirror_x, False))
|
||||
self.subpatterns.append(subpat)
|
||||
shapes_to_remove.append(i)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue