|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Generate roof plugin » » » » Post: Re: Generate roof plugin |
Print at Dec 18, 2025, 11:12:58 AM |
| Posted by Daniels118 at Dec 18, 2023, 2:40:54 PM |
|
Re: Generate roof plugin Incredible! This is becoming almost an application on it's own. I specifically like it that the border textures now align correctly. Until now I had to edit the roof object to create a separate material for each border so I could adjust it's alignment. Many users will like the window option as there were multiple forum questions in the last year about that. With such a great Christmas present maybe a challenge for next years Christmas? Look at this image: https://www.mediafire.com/view/iru00f2ydqt24z6/roofgeneratorchallenge.png/file Left is a generated roof, right is an initially generated roof but then heavily modified in Blender. Notice how the roof line (border) follows the sloping wall heights in the modified roof? You think that's enough of a challenge for next years Christmas? For completeness here's the Sweet Home 3D project (part of a bigger project): https://www.mediafire.com/file/2z5qiibguf1w85c/RoofGeneratorChallenge.sh3d/file For this particular case there is no need to modify the roof in Blender, you just have to set to 90° the slope of all faces except the ones on the 2 sides, and make them transparent. Then decrease the elevation of the roof level until it matches the walls. In general, as long as a roof side has a constant slope from its edge till its top, then the roof generator can build it. The straight skeleton algorithm can generate additional faces if required. You can control the slope of the face at the edge, and the slope of the generated faces is computed automatically to match the geometry. What you cannot do, is to split a side into multiple faces at an arbitrary point between the edge and top, as in the roof created by VeroniQ in her recent post, which has a sort of skirt at the edges (there is no mean to set where the transition should happen, and to set the new slope). |
|
|
Current timezone is GMT Dec 18, 2025, 11:12:58 AM |