Need help with flipping surfaces

I would need help with my algorithm; at this point, I should take some panels and rotate them by 180 degrees while still maintaining their orientation on the plane. However, I’m not sure how to do it.

Any gh?

phive civic (142.9 KB)

since your surface is extruded along x axis then you could rotate by x axis else you should care using the very first twisted box orientation:

Canvas at 14;09;08
phive civic (127.5 KB)

Thank you very much for your help. In fact, the panels need to rotate by 180 degrees, but the normal vector should remain the same. They should not rotate in space, only on the XY plane of support

i think you means “mirror
and this could be one way:

phive civic (128.4 KB)