gdsfactory / kfactory

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

simpler drotate #348

Closed joamatab closed 1 month ago

joamatab commented 1 month ago

how can we make this simpler?

                ref.drotate(rotation, center=kf.kdb.DPoint(*_get_anchor_point_from_name(ref, port)))

i think allowing center to be a tuple or port would be the easiest solution