Replies: 1 comment
-
Hey :) The documentation is at that point a bit wrong, for oasis-files the file-ending is expected to be ".oas" - I'll fix that :) And about the error: For exporting to dxf you need to install the package ezdxf. Best, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT: This issue can be solved by installing the fatamorgana package.
Hello!
I'm a new-minted grad student who is somewhat familiar with Python and fairly unfamiliar with gdsHelpers. I'm working on a nanophotonics project and am having some difficulty with the file sizes involved. I am looking at file types that are not GDS files to see if they are smaller, but I am having issues exporting the data as an .oasis file.
Saving as an .oasis file seems pretty straightforward in the documentation: "The ending of the filename defines the format. Currently .gds, .oasis and .dxf are supported." Using cell.save('filename.oasis') doesn't throw an error, but it does yield a gds file titled 'filename.oasis.gds'. I have attached an image of a segment of code that demonstrates this. This same code exports a .gds file just fine.
I also used the same piece of code to try and export a .dxf just to see what would happen and the result was an error, which is also shown below.
Does anyone have any thoughts on how I might get gdsHelpers to export an .oasis file so that I can compare filesize? Thanks so much for your time, and also thank you for developing such an amazing, open-source program!
Best,
-matt
Beta Was this translation helpful? Give feedback.
All reactions