small example updates

This commit is contained in:
Jan Petykiewicz 2020-05-17 14:13:42 -07:00
parent 5bd1e85d89
commit 15dc00b63f

View File

@ -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()