Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Furniture Library Editor released
Is it possible/advisable to have several entries in PluginFurnitureCatalog.properties referencing one single model?
Point was, I seem to remember that is how it is done with the light sources, but have a feeling it might not work as well with a mixed library with many models. ok
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
Re: Furniture Library Editor released
If you want to change the visible parts of a given model, you should use different MTL files changing the transparency factor in d lines (d 0 being fully transparent and d 1 fully opaque). As the MTL file used by an OBJ file must be cited in its mtllib line, you won't have any other choice that creating different OBJ files. But it's not a problem to have different pieces citing the same value in their model...# property and a different value in their planIcon...# or doorOrWindowSash....# properties. There was a bug in the Furniture Library Editor some time ago about this but it was fixed in version 1.20.
By the way, here's a version 1.22 of the editor with IDs if needed. I promise the choice of the columns editable in the editor will end up in preferences one day [edit: removed link, IDs can now be displayed with an option in preferences]
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[Edit 1 times,
last edit by Puybaret at Aug 10, 2022, 11:57:15 AM]
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Furniture Library Editor released
Thanks for the reply.
There was a bug in the Furniture Library Editor some time ago
Good, then my memory did not fail me completely.
..change the visible parts of a given model, you should use different MTL
Maybe I do not understand, or we are talking about different things. The d setting in .mtl, it will not help me get what I want. For instance: one model consisting of a door-frame + door, with different named colours in .obj/.mtl. I import one instance of the model and use throughout the home. Where I want the door left 'open', I change that door colour (but not frame) to invisible in the colour dialogue in SH3D. That way the frames remain and I can open and close doors by toggling the colour=invisible.
I will try a couple of options and see what works best. Thanks.
Romania
Joined: Apr 24, 2014
Post Count: 630
Status:
Offline
Re: Furniture Library Editor released
@okh I've use this feature and I've create some furniture for this. You can try this door https://sourceforge.net/p/sweethome3d/d-models/444/#10c5 Maybe someone could introduce this to make some animations when visit a home. When camera is near door the door start opening. Could be made it in AOI this kind of animation. Off course only for those interested in this kind of virtual reality. I'm not! Dorin
---------------------------------------- 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
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Furniture Library Editor released
Thanks for the file, Dorin. It is the same principle I use. Exploiting the set-to-invisible in the colour dialogue to hide/display construction elements e.g. for quick visualisation for a planning application: changing 30 plain windows to windows with glazing-bars. Quick to see just by hiding the glazing bar.
Using one model in different contexts can be handy, but sometimes I ponder whether it could make sense to make two catalogue entries for the same model; equip the model with different properties - for instance:
I have yet to decide whether this can be useful or confusing. Maybe for use with one staircase model but several entries: with different cutouts, with or without semi-transparent stair planIcon (I prefer being able to see through the stairs in the 2D plan, but not everyone would agree). ok
Romania
Joined: Apr 24, 2014
Post Count: 630
Status:
Offline
Re: Furniture Library Editor released
From my point of view I prefer to have more options to modify an object in contextual menu than to have 3 (or more) pretty the same furniture. Maybe in property file to have predefined few variants and in modify furniture to chose which to display. In my case 0;45;90 degrees open. Also for modify the cutoff in Your case. Now is about 1000 furniture on official and at least 1000 unofficial which are used for most of us. To have 4~6000 in the library I don't think is useful. Is only an opinion.
---------------------------------------- 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
I'm trying to use the latest Library Editor on the recent OSX and the program just crashes whenever I try to import furniture. Not once has the program successfully imported furniture.