gdsfactory / kfactory

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

support rotate with a center #201

Closed joamatab closed 9 months ago

joamatab commented 10 months ago

How can we support Instance rotate with center?

        bend_middle = c << bend_middle_arc.extrude(cross_section=cross_section)
        bend_middle.rotate(180 + wrap_angle_deg / 2.0, center=c.center)
sebastian-goeldi commented 9 months ago

I think it's supported now, forgot when I added it ;)