Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 252
Posts: 252   Pages: 26   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1399415 times and has 251 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

You could try to use the same properties as the ones proposed for Sweet Home 3D.
To run a Jar executable with these properties, you don't need a .ini file but rather directly cite these properties after java :

java -Dcom.eteks.sweethome3d.resolutionScale=2 -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -Dswing.plaf.metal.controlFont=Dialog-11 -Dswing.plaf.metal.userFont=SansSerif-11 -Dswing.plaf.metal.systemFont=SansSerif-11 -jar path/to/FurnitureLibraryEditor-1.21.jar

The problem with this solution is that the resolution scale won't influence the height of rows in the table of the editor, so text in the table might be cut for a high value.

As Java 9 is supposed to have fixed problems with HiDPI screens, it might be interesting to give it a try too. If it works correctly, then no need of any option, just double click on FurnitureLibraryEditor-1.21.jar file.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 24, 2017, 3:11:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
captainstarbuck
Newbie



USA
Joined: Jan 6, 2018
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

I recently installed SW3D for the first time and created a model of our house. Love it! Thank you VERY much!

Running SW3D 5.6, JRE 1.9, Windows 8.1

Now I'm importing SH3F files from various sources, like furniture stores that provide models. After downloading hundreds of these files I found I was unable to use the default Import feature to import more than one file. So I ZIPped the files, and while the UI refreshes and says new objects were were imported, that's never the case.

So I found the FLE here, downloaded v1.21, and while it does accept multiple files, it doesn't import the data to SW3D with the same detail as just opening a .SH3F file.

So as a user I'd like to know if I'm missing anything, and how I can import hundreds of files (with FLE?) without doing it one at a time.

As a developer, I'm happy to do some diagnostics and even (with very limited time) get into code to try to help with this.

For an example of files that import differently, see the M2Italia furniture site.

Thanks!!
[Jan 6, 2018, 5:53:28 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

To import many 3D model files at once in the Furniture Library Editor, just select multiple files and drag and drop them on the main window of the editor.
If you want to create one SH3F file from other SH3F files you should use the Merge button. Unfortunately the file dialog won't allow you to import more than a SH3F file at a time in that case, but this could be a nice improvement...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 7, 2018, 2:20:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

Cleaning up libraries and shrinking models with an aim to have one compact library for all the models I know to be small and work.

Among those models are windows with several elements, such as a middle bar, that can be set to invisible. But for that I basically wish for two different sets of doorOrWindowSash....# properties for that one window. Or in other cases, I might want two different planIcons for one model (I prefer using semi transparent icons for staircases, awnings and ceiling lamps).

I was wondering how best to do this:

Is it possible/advisable to have several entries in PluginFurnitureCatalog.properties referencing one single model?

ok
[Jan 30, 2018, 7:51:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jan 30, 2018, 8:01:52 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
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]
[Jan 30, 2018, 11:08:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
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.

ok
[Jan 30, 2018, 3:06:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 691
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jan 31, 2018, 11:05:53 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
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:

One set of properties:
name#1=Door glass 3p
....
model#1=/Door glass 3p/Door-glass-3p.obj
...

Then below, a seceond set of properties for the same model:
name#2=Door glass XXXXX2
....
model#2=/Door glass 3p/Door-glass-3p.obj
model#2=doorOrWindowSash....#.... etc
....

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

[Jan 31, 2018, 1:27:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 691
Status: Offline
Reply to this Post  Reply with Quote 
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
[Feb 14, 2018, 10:21:06 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 252   Pages: 26   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved