Generate roof plugin

This topic has been viewed 2463522 times and has 338 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
upsetter21
Posts: 13
Joined: Sun Mar 13, 2022 5:44 pm
Country: USA

Re: Generate roof plugin

Post by upsetter21 »

Hello:
the GenerateRoof Plug-in shows up in my Tools menu, but when I click nothing happens.

I've been trying to figure out how to put a roof on my project for weeks.

Today I am finally going crazy!
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Generate roof plugin

Post by dorin »

Probably it appear grayed.
Select a room and try again.
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Generate roof plugin

Post by dorin »

Follow STRICTLY this steps. I will not writing twice.
1. Open a new file, draw approximately your walls (it is only for learning so, the accuracy is not so important).

2. Draw a room around walls which represent the roof projection.
Image

3. Select that room
Image

4. Tools -> Generate roof...
Image

5. You should see something like this
Image

6. Select the triangle faces (4 in this case). Keep Ctrl pressed to do this.
Image

7. Set their slope to 90 degrees
Image

8. Check the Invisible checkbox
Image

9. Select two faces in front of the house
Image

10. Set their slope to 33 degrees
Image

11. Do the same with faces from the back side of the house
Image

12. Click somewhere outside the roof and you should see this. Click OK.
Image

13. On plan, Right click on selected roof and go to Modify furniture... -> Materials -> Modify...
Image

14. Select all upper faces
Image

15. Set their texture
Image

16. Select border and lower
Image

17. Set preferably a different texture
Image

18. This could be the result
Image

If you are not completely satisfied with the result you could select the generated roof and go back to Tools -> Generate roof.
The plugin it is able now to do this thanks to Daniels118.
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
VeroniQ
Posts: 886
Joined: Tue Mar 03, 2015 9:01 am
Country: France

Re: Generate roof plugin

Post by VeroniQ »

Whaou, Dorin, thank you very much, it is very clear!!
User avatar
Vinci68
Posts: 71
Joined: Thu Feb 24, 2022 3:20 pm
Country: France

Re: Generate roof plugin

Post by Vinci68 »

Thank you Dorin for your patience in explaining, in great detail, how these plugins work. It helps a lot of beginners... like me!
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Generate roof plugin

Post by dorin »

Thank you VeroniQ and Vinci68!
Probably you two are the only one who read it all.
Mainly those who don't need more explanations (VeroniQ).
The rest of the people stop reading at point 3 or 13.
It appear it is a YAUT (Yet Another Useless Tutorial).
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Generate roof plugin

Post by Keet »

Definitely not a useless tutorial. You have to understand these basic steps before you can start with more complex roofs and start to combine different roofs if a single roof is impossible.
Good work!
Dodecagon.nl
1300+ 3D models, manuals, and projects
crackwood01
Posts: 68
Joined: Wed Oct 14, 2020 12:05 am
Country: Canada

Re: Generate roof plugin

Post by crackwood01 »

Hi Dorin,

i would like to do a 5 degree slope, but roof generator starts at 15.

How can i do it
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Generate roof plugin

Post by dorin »

You can't now.
We work on this so, in the next version, we hope it should be possible (from 1~179).
We still testing it.
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
ndorigatti
Posts: 66
Joined: Fri May 12, 2017 9:54 am
Country: Italia

Re: Generate roof plugin

Post by ndorigatti »

nah, I red it and appreciate a lot, even if I already used the plugin with success, i found an additional step i wasn't doing.
Unfortunately I'm one of those who reads everything but rarely comments, so sorry for that, but your work is a high level one and really appreciated. I suggest to save it as a PDF, put it online and add in the plugin notes/description so the ones using plugin manager can see a "GUIDE" immediately!
Thanks for your development and infinite patience.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest