1

如何在 python 中读取任何 gdsii 文件,或使用 gds2text 脚本将 gds 文件转换为文本格式?

4

1 回答 1

1

If you can use a C/C++ compiler you might consider using gds2gdt and gdt2gds to read and/or write GDSII using any language/shell of your choice. GDSII is a stream of records each of which is represented in a single line of compact GDT format text. For instance:

p{10 w1.2 xy(41.2 17.1 41.2 33.9)}

is a two-point path on layer 10 with a width of 1.2. you can run these programs externally or call them within your program similar to reading/writing a text file.

https://sourceforge.net/projects/gds2/

于 2017-11-09T17:52:34.160 回答