building_tools
building_tools copied to clipboard
New Roof Types
Task List:
- [x] Flat Roof.
- [x] Hip Roof.
- [x] Gable Roof.
- [ ] Mansard Roof.
- [ ] Gambrel Roof.
- [ ] Dutch Hip.
- [ ] Dutch Gable.
- [ ] Rectilinear Roofing.
References:
Straight Skeleton Implementation
Petr Felkel and Stepan Obdrzalek
Automatically Generating Roof Models from Building Footprints
R. G. Laycock | [email protected]
A. M. Day | [email protected]
This issue should track improvements and additions to the roof module and have the following images as guides.
Some issues that may need to be addressed first:
-
[SOLVED] Some roof types only work if the building floorplan has a particular shape,
gable
is a good example of this. - Roofs may also contain additional elements, the
dormer
roof in the first image is an example of this. Should the extra elements belong in the roof module or in another?
Some could probably be merged like gable and cross gable and also hip and crossod hip because they'll generate the same results depending on base shapes.
Would be nice if you could add dormers to any roof type.
New gable roof implementation with support for open gable
and box gable
for complex polygons is available in gable-roof-improvement
branch.
Some remaining issues are:
- facemap generation
- Extra/Duplicate geometry
- Plus some yet undiscovered bugs as always.
Fixed remaining issues. With #105 pending, improvements may be merged for 1.0 release.
All of the different roof styles could be boiled down to having an intermediate horizontal "loop-cut" around the roof and splitting it into an "upper" and "lower" section.
![Screenshot_114](https://user-images.githubusercontent.com/68378704/87664099-005de800-c765-11ea-9ab5-7feb9f19ba39.png)
![Screenshot_115](https://user-images.githubusercontent.com/68378704/87664104-018f1500-c765-11ea-92fb-4564b940b268.png)
![Screenshot_111](https://user-images.githubusercontent.com/68378704/87664109-02c04200-c765-11ea-884c-e2516fa1b5ea.png)
![Screenshot_112](https://user-images.githubusercontent.com/68378704/87664112-03f16f00-c765-11ea-8d71-6d79741f4c17.png)
![Screenshot_113](https://user-images.githubusercontent.com/68378704/87664128-08b62300-c765-11ea-848a-50b43e7543cf.png)
just dropping a comment for some ideas , good luck guys :)
![Screenshot_116](https://user-images.githubusercontent.com/68378704/87664338-592d8080-c765-11ea-9d90-9f81595dfc4b.png)