I'm working in a basic procedural building tool but I'm having a little problem with the gable roof. The thing is I'd like to make the roof out of a spline as the rest of the building. I kinda made it extruding and transforming it but it has some issues to resolve (it just work in some cases)
I think that the best idea to resolve this problem should be that the tool were able to select the alternative segments of the spline and extrude them with the same inclination. The others should be extruded to fill the triangle gaps. We won't have one roof ridge but two in this case I show you.
I don't want a hipped roof, just a regular two sides gable roof. Is there any way to do what I'm trying to?
Thank you in advance!