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

Extrude Components using Transitions #2292

Closed
joamatab opened this issue Nov 8, 2023 · 0 comments · Fixed by #2293
Closed

Extrude Components using Transitions #2292

joamatab opened this issue Nov 8, 2023 · 0 comments · Fixed by #2293
Labels
enhancement New feature or request

Comments

@joamatab
Copy link
Contributor

joamatab commented Nov 8, 2023

Extrude Components using Transitions

Ideally we could do this

    w1 = 1
    w2 = 5
    x1 = gf.get_cross_section("xs_sc", width=w1)
    x2 = gf.get_cross_section("xs_sc", width=w2)
    transition = gf.path.transition(x1, x2)
    c = gf.components.bend_euler(radius=10, cross_section=transition)

PR coming!

@joamatab joamatab added the enhancement New feature or request label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant