Arches in a Grid

I am working to create arches on different building forms. I am creating an arch in Rhino and using its center area and center area of a grid on a building brep to move them in place. But I’m not sure if this is the more efficient way of going about it. Right now, I can’t get the arches in the script to face the right direction and they are able to be scaled unless in rhino. I attached the script below and a sample image of my goal.
Arches.gh (18.9 KB)