ranjian0 / building_tools

Building generation addon for blender
https://ranjian0.github.io/building_tools/
MIT License
1.36k stars 129 forks source link

Hip roofs by defined angle #208

Open Mi-Pe opened 1 year ago

Mi-Pe commented 1 year ago

Hi, My idea is generating hipped roof based on user-defined angle between roof planes and the "base" of the roof (speaking mathematically, angle between a slope (plane) and its projection onto XY plane), instead of the max. height of the whole roof. That would be very useful from an architectural designer point of view. We could define slope by angle in degrees or by percentage, which is even more commonly used by designers - 100% is 45 deg roof (1:1 height to base ratio), 50% is 1:2 height to base etc. It's basically tangent of the "base angle".

What would be super-duper dope is a possibility to change slope for an individual roof plane of the roof, different from the others, e.g. by selecting one or more "base edges" and applying specified slope to the planes generated from those edges. But that's just a loose suggestion - I'm not even asking for it :P Using angular or percentage slope instead of height would make a lot of sense, though.

ranjian0 commented 1 year ago

Not sure how well the current straight skeleton algorithm for hip roof will handle this.

Thanks for the suggestion.

Mark as potentially part of #40