import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.spiral_racetrack_fixed_length(length=1000, in_out_port_spacing=150, n_straight_sections=8, min_spacing=5, bend='bend_circular', bend_s='bend_s', cross_section='strip').copy()
c.draw_ports()
c.plot()