gdsfactory / kfactory

gdsfactory with a klayout backend
https://gdsfactory.github.io/kfactory/
MIT License
29 stars 10 forks source link

move polar copy #258

Closed joamatab closed 4 months ago

joamatab commented 4 months ago

in gdsfactory we can displace a port by a distance (float) and by an angle

port.move_polar_copy(d=cross_offset, angle=180 + port.orientation)

we also do a Port.flip()

maybe add it as an option to copy