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

The gf.ponents.taper function has no effect on cross_section when it has a bbox parameter. #2637

Closed
LuYouxi opened this issue Mar 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@LuYouxi
Copy link

LuYouxi commented Mar 23, 2024

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()

image

@LuYouxi LuYouxi added the bug Something isn't working label Mar 23, 2024
@joamatab
Copy link
Contributor

thank you LuYouxi

see fix here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants