Sweet Home 3D 6.5

This topic has been viewed 273642 times and has 61 replies
Thread status: Active
Test the features and bug fixes of future versions [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Sweet Home 3D 6.5

Post by enkonyito »

<technical answer>
Most of the properties that could be only retrieved from an instance of HomePieceOfFurniture or a subclass can now be modified too with their new setters ([font=courier new]setModel[/font], [font=courier new]setPlanIcon[/font], [font=courier new]setInformation[/font]...). Of course, I also added some listeners in the plan and 3D view components to update them when a call to these methods is done, but there's no user interface to call them yet, even if I checked they correctly work. Some of these methods were added for modifications I had to make to EvidenceMarkerGenerator plug-in.
The easiest way to test them is probably with the JavaScript console in a browser running with a SweetHome3DJS example. For example, the following JavaScript instruction will replace the model of the piece selected in the plan by the model of the piece selected in the furniture catalog:

Code: Select all

application.getHomes()[0].getSelectedItems()[0].setModel(
    application.getHomeController(application.getHomes()[0]).
        getFurnitureCatalogController().getSelectedFurniture()[0].getModel());
</technical answer>
If I understand correctly, these new setters currently only allow permutations as in your example or the Paste style function.
For light sources, have you also planned to add setters to modify the color for example?
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.5

Post by Puybaret »

For light sources, have you also planned to add setters to modify the color for example?
No, even if it's not declared as [font=courier new]final[/font], the [font=courier new]LightSource[/font] class like a few other model classes ([font=courier new]BackgroundImage[/font], [font=courier new]HomePrint[/font], [font=courier new]Baseboard[/font], [font=courier new]HomeMaterial[/font], [font=courier new]HomeTexture[/font], [font=courier new]Sash[/font], [font=courier new]TextStyle[/font]...) are immutable.
If you want to change the color of a light source, create a new [font=courier new]LightSource[/font] instance and call [font=courier new]setLightSources[/font] on a [font=courier new]HomeLight[/font] instance.
Emmanuel Puybaret, Sweet Home 3D creator
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Sweet Home 3D 6.5

Post by enkonyito »

@Puybaret

Thanks for the clarification, I will adapt my utilities to suit rather than copying the properties one by one.
EnkoNyito
creativejuice
Posts: 1
Joined: Thu Mar 18, 2021 1:08 am
Country: United States

Re: Sweet Home 3D 6.5

Post by creativejuice »

Hi! I discovered this program yesterday, downloaded for my Mac Big Sur 11.2.1 and successfully designed several layouts. I saved them and today, when I open the app, it just glitches and freezes with a blank light blue screen. It shows my files as "recovered" in the window tab but I can't see my designs. I already uninstalled and reinstalled the program. I'm not tech saavy. What else can I do? I really need my files printed ASAP. Thank you!
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.5

Post by Puybaret »

What happens when you try to save the recovered files?

By the way, please no "ASAP" [X-(]
Emmanuel Puybaret, Sweet Home 3D creator
phen
Posts: 2
Joined: Thu Jan 16, 2014 9:30 am

Re: Sweet Home 3D 6.5

Post by phen »

Export to .swg is not working in version 6.5.
Has anyone encountered this problem?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.5

Post by Puybaret »

I tried to export to SVG again and didn't encounter any issue.
Maybe your home is quite large, or you used a very large icon size in preferences, in which case you should try with a smaller size.
Emmanuel Puybaret, Sweet Home 3D creator
phen
Posts: 2
Joined: Thu Jan 16, 2014 9:30 am

Re: Sweet Home 3D 6.5

Post by phen »

I tried exporting to .sVg on two different computers. The file .sVg becomes very small in size. In version 6.3 there were no such problems.

Only the launch Sweet Home with "Java Web Start" helped me to get normall file .svg
User avatar
YGYL
Posts: 157
Joined: Tue Feb 05, 2013 4:00 pm

Re: Sweet Home 3D 6.5

Post by YGYL »

Is the temp file(work directory) not automatically cleared?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.5

Post by Puybaret »

It should but apparently Sweet Home 3D with Java 11 doesn't perform this removal under Windows anymore [:(]
I'll try to check what's going on and fix it in the next version. Meanwhile, if you don't clear the [font=courier new]work[/font] directory yourself, only subfolders of [font=courier new]work[/font] directory older than a week will be cleared 10 minutes after program launch. Sorry for the inconvenience this regression may cause you and thanks for reporting it.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest