small example updates
This commit is contained in:
parent
5bd1e85d89
commit
15dc00b63f
1 changed files with 4 additions and 1 deletions
|
|
@ -13,9 +13,12 @@ def main():
|
||||||
pat.shapes.append(shapes.Arc(
|
pat.shapes.append(shapes.Arc(
|
||||||
radii=(rmin, rmin),
|
radii=(rmin, rmin),
|
||||||
width=0.1,
|
width=0.1,
|
||||||
angles=(-numpy.pi/4, numpy.pi/4)
|
angles=(-numpy.pi/4, numpy.pi/4),
|
||||||
|
layer=(0, 0),
|
||||||
))
|
))
|
||||||
|
|
||||||
|
pat.labels.append(masque.Label(string='grating centerline', offset=(1, 0), layer=(1, 2)))
|
||||||
|
|
||||||
pat.scale_by(1000)
|
pat.scale_by(1000)
|
||||||
pat.visualize()
|
pat.visualize()
|
||||||
pat2 = pat.copy()
|
pat2 = pat.copy()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue