-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.to_yaml() misses some layer properties defined in Klayout #2569
Comments
yes, the LYP misses some layer properties PRs are welcome |
Originally I wrote the whole LayerView processing stuff to avoid using klayout (it was an optional dependency at the time) but now that kfactory/klayout are part of the requirements this should be refactored to use the kfactory lyp import/export. |
Thank you for the comments. I decided to setup layerviews using a yaml file, and then, convert it to lyp for use in Klayout. This seems easier. I found hatch (Klayout "stiple") and line styles (Klayout "style") in one of the python scripts included with gdsfactory. See attached txt file. I also found colors can be set using color names (strings) in the yaml file and to_lyp converts them to hex values for use in Klayout. |
@skychil also was working on a CSV version of this |
I created a lyp file in Klayout and converted it to a yaml file using .to_yaml(), but the resulting yaml file does not include all layer properties. For example, it leaves out the "stiple" pattern and line "style" defined in Klayout.
The text was updated successfully, but these errors were encountered: