Roof Generator plugin
An interior design application to draw house plans & arrange furniture
Brought to you by:
puybaret,
space-mushrooms
Hello, great work! Do you plan to add support for traditional gable roofs in the future?
Nice Work :-)
A while ago I created this, which might be helpful
https://sourceforge.net/p/sweethome3d/feature-requests/1007/
Thanks to all!
@xlance I've see Your work but is over my head.
Imagine that: for every situation need separate code and a lot of user interactions.
Wile I'm not a programmer I'll try to make this one better.
Unfortunately I feel I can't alone and I need help.
@Mark Lee
Even apparently look simple what You ask is more complicate to generate from few clicks.
At least for me.
@ Dorin Vatavu
It's a huge job I agree :-)
You could still use, only the Main GUI with different Roof types instead of creating from scratch. As for not being a programmer, same here ! At least you managed to create a fully functional Plugin ;-)
Last edit: xlance 2022-02-20
New version 2.0
Finally I've give up to reinvent the wheel.
Thanks to Tom Kelly for his campskeleton, a professional solution. It work on more than 95%
Thanks also to Daniele who help me and point me on right direction.
Of course could be improved but not by me.
Problem: steel don't compute texture coordinate correctly.
New version 2.5
Unfortunately this plugin left YAUP category and go to Normal Plugins.
That happens when professional are implied. Thanks to Daniele who make 99% of work.
News:
-bug fix in texture computation - @autor Daniele
-elegant solution to correct faces name - @autor Daniele
-remove blue edges when roof are exported - @autor Daniele
-add a slider in place of spin box
-replace "Refresh" button with "Reset all to 45dg"
Now You don't need to set a rotation angle for texture, just select 1, few or all and set texture at once.
Thanks for this nice plug-in. It works very well :-)
Just for the sake of clarity about licences, I add that the Jama library included in this plug-in is available in public domain.
Thanks Emmanuel!
A week ago I've read something about licenses and I've see that Jama is in public domain.
It's my fault to forget to add this license but I'll fix it in next version IF I will still use it.
I've already exclude Jama.utils.maths while I've modify the dependencies with Math.hypot.
I will see what else depend of Jama but that it takes time.
Anyway, if need it I'll use it and I'll add corresponding licenses.
Don't worry too much about it since public domain = free to do whatever you want with the code.
But mentioning it is a good idea because it thanks the authors of Jama and avoids other people to look for a possible omission in licences list. Adding a note about it in README.TXT is probably enough.
Salut Dorin!
i was looking for this plugin and while i installed it (using the latest version of sh3d), when i hit generate roof, it always creates a triangle. No other components. Tried it on a square room.. etc.
am i missing something ? i see it working nicely in your posted picts.
thanks!
Salut Răzvan!
New version 3.0
What's new :
-Add Chinese translation (thanks to YGYL but incomplete at that moment, need updated).
plan to try this out. :-)
Hi decard,
Please read this first.
On short: make a room, select it, Tools->Generate roof..., modify roof and OK to insert it on plan as new furniture.
Enjoy!
PS Don't forget: v 3.0 is compatible with installed version of SH3D v > 7.0
Last edit: Dorin Vatavu 2022-09-05
New version 3.1
What's new :
New version 3.1.1
Try to fix a bug which prevent loading plugin on some OS with global language settings other than en_US.
New version 4.0.beta2
-add thickness
-compute holes in roof projection
-make faces invisible in preview
-add a fine tuning slider
-remove Help button as useless.
Some more information on forum
New version 4.0
New version 4.5 (probably the last in this series)
-- starting with this version the furniture have the feature to add custom properties so are used for roof windows
-- Only visible walls, windows, roofs and roof windows.
-- The borders of edited roof will remain yellow to be distinguished from other existing roofs.
-- For new roof the option is grayed.
-- When home are visible it is easier to set roof elevation.
-- The new level are set at current roof elevation.
-- If roof level exist and it is at a lower elevation, only the roof will be elevated.
-- Shift+click (similar with selection in list).
-- The selected edge(s) are still a red line but with 3cm thickness.
-- The texture follow the border orientation.
-- The orthogonal borders could be used as template for roofs made with tiles objects.
-- The roof windows objects have some specific characteristics and properties and are part of Roof windows library.
-- The roof windows will be automatically fine tuning (Angle, X-Axis rotation and Elevation).
-- Now all the holes will have orthogonal borders including the holes in roof projection.
-- When are two superposed roofs you could set the lower one to have the inner faces individually selected.
-- This feature have to be used just before export the roof, otherwise will be difficult to select faces in preview.
-- Remove superposed or too closer points.
-- Remove unnecessary collinear points.
You also have an user manual and the specific roof windows library.
Just installed plugin in the linux version and it's gray under tools menu (not clickable) - any idea ?
I see this error msg during app start:
DynamicPluginLoader: plugin.classpath property not setDraw a room and select it.
ql - that did the trick. Not obvious.
Thanks for the quick answer and great plugin !
Hi Dorin,
thanks for the grat plugin.
I have now made theming for SH3D with DarkFlatlaf and with all the plugins that are available.
https://sweethome3d.com/support/forum/viewthread_thread,12872_lastpage,yes#62795
I have found two small errors in the design and would like to ask you to correct them. These are just trifles.
Ad. 1
The minimum width is a bit too small when you are using scaling and the fonts are getting bigger and the text is truncated.
I found in GenrateRoofPluginView.java #230 and #231
maybe it will help
Ad.2
I found in MyCellRendere.java (#37)
The problem ist the hardcoding, if you are using a dark theme, the fonts are light, so you can see nothing. What is the roblem with Background in nimbus?
I forgot. When using the icon empty_icon.png is related, then the empty_icon.png can be transparent.
Last edit: byDMA 2024-06-15
New version 4.6
News:
-simplified the UI and tried to make it look OK under macOS X
-add axis on 3D
-add pre-maded translation files for all languages available on SH3D
-reorganize the plugin internals according to my new rules.
@byDMA Try this version and suggest improvements.
Generally you're right!
Last edit: Dorin Vatavu 2024-06-16
Thanks for the quick response. It is much better, the flashy colors are gone. But the width is a bit too big now.
But if you are asking for improvements, it's ready :-)
I have made new big icons for the explaining the borders, for dark and light theme. I don't know, wat you prefer.