Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 35
Posts: 35   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 51225 times and has 34 replies Next Thread
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 314
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

We will have to wait.
"Something is more than nothing"
It took me 2 mounts for this and maybe will be other 6 for something acceptable.
I've start from this Straight_skeleton and I've try to do something in this direction.
At that moment is unusable. What You see are only polylines.




----------------------------------------
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
[Aug 2, 2021, 7:51:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Mike53
Advanced Member



UK
Joined: Jan 6, 2018
Post Count: 666
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

Hi Dorin, appreciate the work you are putting into to this plugin, i am sure many people will appreciate it.
Just an idea, would it be possible to "tweak" the new "Terrain Generator" from Puybaret
[Aug 5, 2021, 7:18:56 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 314
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

Hi Mike, I've already try to learn and understand how Terrain Generator work but I have to many holes in my general knowledge.
I have to learn more about 3D objects and the terminology used in 3D space and programing. That's mean a lot of time.
At that moment I'm stuck here: I don't know how to use this polylines or what is the next step to convert them in 3D object.
----------------------------------------
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
[Aug 5, 2021, 10:23:44 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
youseeus
Newbie
Member's Avatar


Joined: Aug 31, 2012
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

Wow, I'm really excited about your progress. I'm not sure if i can contribute in the near future. I too was stuck at the generation of objects. I'm more into geo-information.
[Aug 5, 2021, 10:59:45 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 314
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

@youseeus
If someone want to get involved... i created a private repro at bitbucket

I'll be happy to see Your code even I'm not a programmer.
Of course if You have finish the real roof for Your house!
At that moment I'm in a process to learn basic 3D notions.
The way suggested by Emmanuel is correct with update to use Terran Generator.
My problem now is I don't know how to use java 3D principle BUT I will learn.
----------------------------------------
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
[Aug 9, 2021, 8:51:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 314
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

I made a little egg and now I'm cuddling like a hen.
@Mike53 Thanks for inspiration!
@Emmanuel & @youseeus Thanks for moral support!
I wasted a month struggling with some angles but finally I made something.
The most important thing is that I found a direction:
- stright-skeleton
- 2D polynons
- 3D polygons from 2D polygons
- 3D object
Another thing was to cut back on claims. I preferred it to be something (imperfect) than nothing.
That's what I've done so far:

I start with failures:
The thin red lines are unclosed polygons and thick red lines with arrow are wrong polygons.
The blue polygons are good 2D faces

Few acceptable


Finaly the Roof Generator plugin beta
After installation select a room and Tools -> Generate..Bla..Bla...
----------------------------------------
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
[Sep 16, 2021, 8:44:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
kotbasikcom
Newbie



RF
Joined: Feb 1, 2019
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

Eh, I wanted to try, but mediafire.com is being blocked because of someone's copyright infringement. Alas.
[Sep 17, 2021, 6:50:03 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 314
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

!!!WARNING!!!
0. Now is full of bugs and errors!
1. I forget to mention: this is not intended to be used by common users; it don't produce noting useful (yet).
2. I was in hurry to share it because I'm very close to end of statistically hope of life in my country.
3. Wile already are more than 44 downloads I want to share also few files for developers testing:
Exemple2 , Exemple4 , Exemple5 , Exemple7
and also Eclipse folder
4. Possible hint: find something between roof3D faces and obj insert in plan from ShapeGenerator or TerrainGenerator.
I'll be happy to receive some attempt or contributions or at least some idea to follow.
----------------------------------------
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
[Sep 23, 2021, 6:40:23 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3694
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

Dorin,

1 - I draw a house of 5x10 mtr, with a dividing wall in the middle, and add two rooms
2 - When I apply the roof function, it draws TWO roofs, not one.

Would it not be better <?> to base your plugin on the walls, instead of the rooms?

Hans
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance
[Sep 24, 2021, 9:21:16 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 314
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thoughts about roof-plugin

Hans, as usual You're right.
In my mind was to generate a roof projection (room also) from exterior walls and then compute roof from it.
That was the purpose for add this function in Auto dimension plugin v.1.5.
Maybe someone in the future will write a more clever plugin.
At this moment I try to cut a path to a roof and then turn it into a highway.
Thanks for testing and suggestions!
----------------------------------------
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
[Sep 24, 2021, 11:20:14 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 35   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2022 eTeks - All rights reserved