Projecting curves into join brep - Cambridge mosque

Hi, I am trying to project my curves to join brep but it’s not working. Any idea on how to fix it?
this is my script
mosque old (1).gh (40.5 KB)