import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.cutback_bend180circular(component='bend_circular180', straight='straight', straight_length=5, rows=6, cols=6, spacing=3).copy()
c.draw_ports()
c.plot()