We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@peterxsu : Issue with block generation in SWG waveguides. See example code below for the error:
top = gdspy.Cell("top") wgt= WaveguideTemplate(wg_type='swg', wg_width=1.0, bend_radius=25, duty_cycle=0.50, period=1.0, resist='+', fab="ETCH") wg=Waveguide([(0, 20.0), (90.0, 20.0), (90.0, 70.0), (200, 70.0)], wgt) tk.add(top, wg) gdspy.LayoutViewer()
Seems like a rounding error when determining the number of blocks.
The text was updated successfully, but these errors were encountered:
I think I fixed it. It was an issue with the remaining period between consecutive sections. See new pull request
Sorry, something went wrong.
3825fc1
No branches or pull requests
@peterxsu : Issue with block generation in SWG waveguides. See example code below for the error:
Seems like a rounding error when determining the number of blocks.
![swg_error](https://user-images.githubusercontent.com/3423351/50740449-97cf9b80-11bc-11e9-8eeb-b8cc93b86f88.png)
The text was updated successfully, but these errors were encountered: