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
The gf.ponents.taper function has no effect on cross_section when it has a bbox parameter. The code example is as follows: import gdsfactory as gf
new_strip = gf.partial( gf.cross_section.cross_section, width=0.5, bbox_layers = ['WGCLAD'], bbox_offsets = [0], cladding_layers = ['WGCLAD'], cladding_offsets = [5], )
taper = gf.components.taper( length = 10, with1 = 0.5, width2 =1, cross_section = new_strip )
taper.show()
The text was updated successfully, but these errors were encountered:
thank you LuYouxi
see fix here
Sorry, something went wrong.
No branches or pull requests
The gf.ponents.taper function has no effect on cross_section when it has a bbox parameter.
The code example is as follows:
import gdsfactory as gf
new_strip = gf.partial(
gf.cross_section.cross_section,
width=0.5,
bbox_layers = ['WGCLAD'],
bbox_offsets = [0],
cladding_layers = ['WGCLAD'],
cladding_offsets = [5],
)
taper = gf.components.taper(
length = 10,
with1 = 0.5,
width2 =1,
cross_section = new_strip
)
taper.show()
The text was updated successfully, but these errors were encountered: