I am trying to create a script which will generate angled roof using a curve which is at the highest point. I have a series of canopy which overlaps and needs to be angled to keep the water out. Please see the sketches below as they will make more sense. The principles of the script are:
- All the angles of the canopy will need to be the same (and I should be able to control this) but they will change in direction they are angled in.
- The curve will need to be the highest point of the canopy and everything needs to start angling from this point.
- The canopies cannot be within each other they always need to be touching.
File is here: Roof Angle v1.gh (996.6 KB)
I’m not very good with angles or lists and have no idea where to start.
Any help or suggestions will be much appreciated.