update ellip_grating.py example to use new gdsii interface
This commit is contained in:
parent
df9c4b52f4
commit
0118bf0eb3
@ -21,7 +21,7 @@ def main():
|
|||||||
pat2 = pat.copy()
|
pat2 = pat.copy()
|
||||||
pat2.name = 'grating2'
|
pat2.name = 'grating2'
|
||||||
|
|
||||||
masque.file.gdsii.write_dose2dtype((pat, pat2), 'out.gds', 1e-9, 1e-3)
|
masque.file.gdsii.writefile((pat, pat2), 'out.gds.gz', 1e-9, 1e-3)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user