import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.straight_all_angle(length=10, npoints=2, cross_section='strip').copy()
c.draw_ports()
c.plot()