heitzmann / gdspy

Python module for creating GDSII stream files, usually CAD layouts.
Boost Software License 1.0
352 stars 128 forks source link

How to read a gds file data and export it as PNG? #227

Open Shivamanikandan-AS opened 1 year ago

Shivamanikandan-AS commented 1 year ago

I would like to find ways to convert the read gds file into some readable format in LabVIEW. If you are not familiar with LabVIEW, please help me to convert it into PNG or formats like JSON, TXT.

heitzmann commented 1 year ago

@Shivamanikandan-AS You can use write_svg to export an SVG drawing of any cell in the GDSII file, but there's no such thing as a "conversion". For JSON or TXT you'd have to define the schema yourself and manually export all the cells and their elements.