Q:"Why you published like this?" A:"It's a path trout jungle. Someone else could make a highway from this"
How I think to use:
Select a room (manually made or trout Autodimensioning))
Tools -> Generate roof... bla.. bla..
Set roof faces angle -> OK (optionally check inner polygons)
On preview click OK
Result something like this:
Now you have to set textures and texture angle:
Finally (if You have lack):
Don't forget!!! It's an alpha stage AND I'm not a programmer!
PS This is the test file .
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law) When all else fails, read the instructions.Murphy's Law
----------------------------------------
[Edit 1 times,
last edit by dorin at Oct 3, 2021, 1:43:11 PM]
Romania
Joined: Apr 24, 2014
Post Count: 598
Status:
Offline
Re: Generate roof plugin
Thanks Hans! As usual you are tolerant of me!
I'm sure it will get better :-)
I hope so also but not in my life time. I think it's a wrong way (approach) or at least too complicated. There are a lot of math which are over my helmet. It's hard for a "One man show" and I need help. I haven't received any help so far and I don't think I will. It is difficult to consult only with yourself. I think to try with 3D plane approach but is not more simple. My plan is to try another challenge: cross section plan. We will see!!! Thanks again for moral support!
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law) When all else fails, read the instructions.Murphy's Law
France
Joined: Nov 7, 2005
Post Count: 9393
Status:
Offline
Re: Generate roof plugin
Nice first version. Congratulations! As inner polygons seem to be generally accurate, I guess you are on the good path to fix most issues.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
Romania
Joined: Apr 24, 2014
Post Count: 598
Status:
Offline
Re: Generate roof plugin
Thanks Emmanuel!
inner polygons seem to be generally accurate
Of course, are made with your code from PlanControler. The part responsible with roof computation (partially mine, partially stolen) don't work as expected. I will let this path for other volunteers(if any). As I've already say, I will try another approach (if the life time hope permit). I've study about 3D Plane equation for few weeks and appear is not so complicated as seems at first view. For this version I've work in frog, with out a plan and try, test and fail without a clear target. The main path remain the same: roof projection -> compute roof -> create shape -> add to Home Plane. Now I'll try to be more clearly organized. I've start to make a logical diagram for this plugin like in '70+ years. I will put it here when I have first version.
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law) When all else fails, read the instructions.Murphy's Law
New Zealand
Joined: Jul 21, 2021
Post Count: 2
Status:
Offline
Re: Generate roof plugin
like this plug-in. I tried it with a 25deg hipped roof for an L shaped house and it worked well. To set percentage and angle for a corrugated texture for each roof section was quick. Now I will attach the flashings and other details.
My usual way to make a roof is by deciding the roof angles, calculate walls for each roof section, .obj, and then lay them into each other at the decided angles and then attach flashings and any other details.
Romania
Joined: Apr 24, 2014
Post Count: 598
Status:
Offline
Re: Generate roof plugin
In the series of YAUP: Generate Roof plugin v.1.0 Don't expect too much! As I promise I've try another approach: planes intersections. There is advantages and disadvantages.
Anyway few words and pictures for this version: It work for few simple roofs: rectangle and shape L, T, S, F(as described here). Don't work as expected on complex shapes like E or round. The angle could be adjusted before add roof to home plane. The blue edges could be made invisible when You set texture.
BUGS: -Sometimes make SH3D unresponsive; -Texture coordinate are wrong on north faces; -The interior face of roof are transparent.
Also on SurceForge .
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law) When all else fails, read the instructions.Murphy's Law