Skip to content
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

Circles #4

Open
cgutie22 opened this issue Apr 18, 2023 · 3 comments
Open

Circles #4

cgutie22 opened this issue Apr 18, 2023 · 3 comments

Comments

@cgutie22
Copy link

I am having issues creating a circle using this library. How do I put a circle into Klayout using this library?

@nicolasayotte
Copy link
Owner

@cgutie22
Copy link
Author

Thank you,

Looking at the code and provided examples, you do not seem to have any structures that use gdsii_arc.

  1. Are there any other examples where someone used gdsii_arc?
  2. To my understanding, the gdsii_arc saves a gdsii struct with points, and cannot plot the same way the makerect command does. Is there a way to plot the points from the gdsii_arc?

@nicolasayotte
Copy link
Owner

To answer @Automachef : if you look in Functions/Basic/PlaceArc.m you will see that use

gds_element('boundary', 'xy', points)

You can essentially give a series of point coordinates x,y to trace any element shape your might want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants