Generate roof plugin

This topic has been viewed 2464065 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]
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Generate roof plugin

Post by Daniels118 »

Hi Nicola,
this way of managing the guide was already in our plans, in fact the plugin already adds an entry in the Help menu which points to an online page (http://daniels118.altervista.org/sh3d/roofgenerator/help/).
The web page is currently under construction, and will be updated with video tutorials and examples as soon we will have the time to do it, without having to upgrade the plugin.

Thank you for your feedback and appreciation :)
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 »

Some news about tutorials:
1. The tutorial made by Hans (hansmex) it is accessible here and from Help on SH3D.
2. A Roof dormers tutorial could be found here. (YAUT category)
2.1 The file used for the Roof Dormers tutorial .

Good luck!
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
g8up
Posts: 1
Joined: Fri Feb 17, 2023 11:36 am

Re: Generate roof plugin

Post by g8up »

Hello! I'm a Chinese user. Thanks for your awsome tools.

BTW: the "roof generator" can be translated to "屋顶生成器".
What is translated now means "roof electric generator".
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 »

We (the GRT) are happy you like it.

About Chinese(Simplified)(zh-CN) translations:
What if you try to make a better one and I will add it to the plugin?
If you are interested we could collaborate in private.
An other variant could be "自动屋顶建造者" which mean "automatic roof builder" (Google translate)
What do you think about?
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
socrate_54
Posts: 16
Joined: Sun Aug 07, 2011 1:41 pm
Country: France

Re: Generate roof plugin

Post by socrate_54 »

Hello,
This plug-in works fine
i want to add a window on the roof and it seems impossible.
have you a solution?
Regards
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 »

Read the Roof with dormers tutorial .

Could be something like this:
Image
Image

You could start from something like this:
Image

Hint:
Image

It's not perfect but, with some imagination and a lot of work could be acceptable.
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 »

I already mentioned this same problem for the staircase generator.
The Roof generator sets the system PC user as the creator in the generated source. That's a problem if you want to share your created home here on the site and don't want to disclose your user name or work from different PC's with different user names.
Maybe implement what I suggested for the staircase generator: add a field to set a name for the creator.
Dodecagon.nl
1300+ 3D models, manuals, and projects
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 »

It happen with all 3D object generators.
Could be a problem ONLY if you share the .sh3d file.
In such a case you could edit Home.xml to remove creator fields.
Sharing the objects or a library will don't have such information.
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 »

It happen with all 3D object generators.
Could be a problem ONLY if you share the .sh3d file.
In such a case you could edit Home.xml to remove creator fields.
Sharing the objects or a library will don't have such information.
I know I can edit the Home.xml file to remove the references but that is not the way it should be. It's a plain security leak.

Is this caused by the SH3D exporter or a Java function? If it's in the SH3D exporter Emmanuel should be able to fix this for all generators. Even replacing the creator tag with 'default' is better than the real user name.
Dodecagon.nl
1300+ 3D models, manuals, and projects
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Generate roof plugin

Post by Daniels118 »

The cause is here:

Code: Select all

HomePieceOfFurniture roofPiece = new HomePieceOfFurniture(new CatalogPieceOfFurniture(null, roofName, null, iconContent, modelContent, size.x, size.z, size.y, 0, true, null, System.getProperty("user.name"), true, null, null));
Maybe it would be better to put the plugin name rather than the user name there.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest