Skip to content
Snippets Groups Projects
test.py 168 B
Newer Older
  • Learn to ignore specific revisions
  • import gdspy
    
    lib = gdspy.GdsLibrary()
    cell = lib.new_cell('Test')
    rect = gdspy.Rectangle((0,0),(2,1))
    cell.add(rect)
    lib.write_gds('test.gds')
    gdspy.LayoutViewer(lib)