Netherlands
Joined: Apr 8, 2022
Post Count: 1442
Status:
Offline
Re: Furniture Library Editor released
As far as I'm concerned, I would like to be able to add a unmodifiable property because my lights use the description property so that they are recognized by the photo plug-in.
It's possible to define additional furniture properties to handle customized user data associated to the objects added to your home.
As the value of additional properties set in a furniture library will be copied to a new home object when it's added to the plan from version 7.2, you may give the initial value of these properties in a SH3F file.
You can create a custom property and you can set this property to unmodifyable. The description property can return to it's original purpose. A custom property can't be defined with a UI yet but it can be set from a plug-in. Check it out. It will solve your problem in a much better way than using the description field.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
Netherlands
Joined: Sep 26, 2009
Post Count: 4009
Status:
Offline
Re: Furniture Library Editor released
Having used the Furniture Library Editor again for the first time in several years, I miss something.
It would be nice if the Modify Furniture - Materials dialogue was available in the editor. It would be much easier than use Export - Import every time you want to change a model and it would keep modified models together in a library.
Netherlands
Joined: Apr 8, 2022
Post Count: 1442
Status:
Offline
Re: Furniture Library Editor released
Good point Hans.
I have learned to set the material properties before the last export because of this. I try to only set colors because they leave both the object and thus the library a little smaller than with textures. Only when I use a custom texture or when a specific texture is required I export with that texture so it's included with the object.
It certainly would be easier if we could set the materials in the furniture library too, it's an appropriate place to do so.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
France
Joined: Nov 7, 2005
Post Count: 9430
Status:
Offline
Re: Furniture Library Editor released
Thanks for your feedback
Here's today the version 2.0 Beta 6 of the Furniture Library Editor which proposes the following changes: - User defined properties appear in Italic in the Furniture properties and Additional properties lists shown in preferences pane and furniture modification dialog box. - If present, the trailing digit of an imported model file isn't removed anymore (the reason why I introduced this was to avoid showing these numbers when a user imports models from the free 3D models page where similar models like Office chair has the same file base name). - I also added an option in the preference pane to use imported model file name as default furniture name, and not an interpreted more human readable one. - The furniture name of an imported zip file containing a entry named model.dae (often found in 3D models available at Trimble 3D Warehouse) is now based on the zip file name itself, instead of the useless "model" name. - I added support for JSON format export when the saved library name ends with ".json". This will create the furniture library .json file, the sibling language .json files if any, and will export all the images and models referenced by the library. So, prefer to export a library in an empty folder (or one prepared for this purpose), or you may be flooded by files you may not have expected. Once these .json files and their resources are ready, just move them on the server where you host Sweet Homed 3D JS and update the configuration parameters furnitureCatalogURLs and furnitureResourcesURLBase of the application, and you'll get your library instead of the default one. You may cite more than a library in furnitureCatalogURLs parameter, but they'll share the same URL base, so you may have to adapt the icon#, planIcon# and model# properties found in the exported library .json file to make the URL base work.
A similar JSON export feature will be proposed in the version 2.0 of the Textures Library Editor (then update texturesCatalogURLs and texturesResourcesURLBase application parameters).
[Note: Final versions of Furniture Library Editor 2.0 and Textures Library Editor 2.0 were released on 09/22/2023]
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[Edit 4 times,
last edit by Puybaret at Sep 22, 2023, 5:50:12 PM]
France
Joined: Nov 7, 2005
Post Count: 9430
Status:
Offline
Re: Furniture Library Editor released
And Hans, I fear that adding the ability to manage materials of imported models in the Furniture Library Editor won't be in the coming version. It's not a feature simple to program (in particular managing the material using textures).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Netherlands
Joined: Apr 8, 2022
Post Count: 1442
Status:
Offline
Re: Furniture Library Editor released
- If present, the trailing digit of an imported model file isn't removed anymore (the reason why I introduced this was to avoid showing these numbers when a user imports similar models).
Great! That's one I keep stumbling into when adding multiple objects in a series. I had to manually add the correct numbers to each one after import but that is now over. Thank you!
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
Netherlands
Joined: Apr 8, 2022
Post Count: 1442
Status:
Offline
Re: Furniture Library Editor released
Version 2.0 beta6 bug: When I add a new object and I check the 'Door or Window' checkbox the editor stops responding to any action. No save, no modify (to uncheck), nothing. I can only click the window close button and close without saving. Clicking save when prompted just closes the dialog but doesn't save and doesn't close the application. Beta5 has the same problem.
Linux Debian, Java 1.7.0_261.
To add: When I manually edit the properties file and set DoorOrWindow to true and set the wall thickness and wall distance these are correctly accepted. I can open the object in the editor and save. I can uncheck DoorOrWindow and save, but I can not check it again and save.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects
----------------------------------------
[Edit 1 times,
last edit by Keet at Aug 18, 2023, 9:14:59 AM]
France
Joined: Nov 7, 2005
Post Count: 9430
Status:
Offline
Re: Furniture Library Editor released
Thanks Keet, the issue you reported should be fixed in the version 2.0 Beta 7 of the Furniture Library Editor.
YGYL, the Additional properties of the Furniture Library Editor may be different and anyway this list is not shared with Sweet Home 3D. I agree that setting the System property com.eteks.sweethome3d.additionalFurnitureProperties to list the additional properties which should appear in Sweet Home 3D isn't the easiest solution for users, but I prefer to see the needs around this feature before spending time on programming a user interface to set these properties.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator