You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import gdsfactory as gf
c = gf.Component()
b = c << gf.components.bend_circular(angle=30)
s = c << gf.components.straight()
s.connect('o1', b.ports['o2'])
c.show(show_ports=True)
The text was updated successfully, but these errors were encountered:
one possible fix for this is to flatten the component
c = gf.Component("bend")
b = c << gf.components.bend_circular(angle=30)
s = c << gf.components.straight(length=5)
s.connect("o1", b.ports["o2"])
c = c.flatten()
c.show(show_ports=True)
The text was updated successfully, but these errors were encountered: