Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: Sweet Home 3D 6.5
<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 (setModel, setPlanIcon, setInformation...). 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:
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
France
Joined: Nov 7, 2005
Post Count: 9388
Status:
Offline
Re: Sweet Home 3D 6.5
For light sources, have you also planned to add setters to modify the color for example?
No, even if it's not declared as final, the LightSource class like a few other model classes (BackgroundImage, HomePrint, Baseboard, HomeMaterial, HomeTexture, Sash, TextStyle...) are immutable. If you want to change the color of a light source, create a new LightSource instance and call setLightSources on a HomeLight instance.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: Sweet Home 3D 6.5
@Puybaret
Thanks for the clarification, I will adapt my utilities to suit rather than copying the properties one by one.
----------------------------------------
EnkoNyito
United States
Joined: Mar 18, 2021
Post Count: 1
Status:
Offline
Re: Sweet Home 3D 6.5
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!
France
Joined: Nov 7, 2005
Post Count: 9388
Status:
Offline
Re: Sweet Home 3D 6.5
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 developer
France
Joined: Nov 7, 2005
Post Count: 9388
Status:
Offline
Re: Sweet Home 3D 6.5
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 work directory yourself, only subfolders of work 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 developer