Angle Roof using Curve?

Hi Guys,

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:

  1. 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.
  2. The curve will need to be the highest point of the canopy and everything needs to start angling from this point.
  3. 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.

Many Thanks,
Hamza

Hi Hamza, I think you have three sub-problems you need to figure out:

  1. generating a surface with the correct slope properties
  2. splitting up that surface into panels the desired way, adding the overlap, etc (i would search for “tiling” or “paneling”
  3. figuring out how to crop the panels at the boundary of your roof outline.

You may get better answers if you make your question more specific and provide an example of an in-progress definition – unfortunately right now it’s a little hard to understand.

Okay, Thank you.