fancompute / legume

🌱 Guided-mode expansion of photonic crystal slabs
https://legume.readthedocs.io/
MIT License
112 stars 31 forks source link

Conversion of optimized structures to a standard file format #23

Closed ianwilliamson closed 4 years ago

ianwilliamson commented 5 years ago

We should have some mechanism for exporting the results of a topology optimization (defined across a polygon grid) into a standard file format.

The motivation for this would be to make it easy to import the structures into other codes. For example, COMSOL can accept STL files and GDS files. Also, way way way down the road it may be desirable to have GDS output for fabrication purposes.

ianwilliamson commented 4 years ago

Export of structures to GDS file format has preliminary support from the functions under legume.gds.