Print at Jan 25, 2022, 2:50:10 PM
Posted by Puybaret at Jun 8, 2010, 12:26:48 AM
Furniture Library Editor released
Hi,

I'm proud to announce the public release of the Furniture Library Editor, a long awaited tool that will help Sweet Home 3D users create and manage SH3F files.



The program is available as a 10 MB JAR executable file (see the end of this post for updated links), and requires you installed Java 6 or superior on your machine (or reuse the Java version embedded with Sweet Home 3D installer).
The easiest way to launch it is to double-click on the file. If this method fails, choose open or launch with Java in its contextual menu, or open a Terminal window and run the command:

java -jar FurnitureLibraryEditor-1.27.jar

Supported system are Windows, Mac OS X 10.4 to 11, Linux 32 bits and 64 bits.
If you look for a nice icon for it, take this one based on a nice 3D model made by Pencilart:

This tool will let you import more than a piece of furniture at a time either with a classic file dialog displayed by the Import furniture tool, or by dropping the files in the window of the tool if your system supports this feature.
Once they are imported, you may modify each piece one by one, or by group after selecting them. As the screen capture shows, the modification dialog displays all the attributes of a piece of furniture (for those interested it's even possible to edit prices or resizable attribute after a small modification in program).
Compared to the Import Furniture wizard available in Sweet Home 3D, I also added the optional ID text field (when a piece has an ID, any other piece with the same ID won't appear in the furniture catalog of Sweet Home 3D), 3 buttons to multiply size by common values (x 10, ÷ 10, x 2.54), the ability to change 3D model file and fields to edit doors or staircases cut out shape. The 3D preview allows zoom and rotation around two axes, and each time you drag and drop the mouse in the 3D preview a new icon is created for the current piece.
Once a SH3F library is saved, you can import it in Sweet Home 3D with its Furniture > Import furniture library menu item, or a double click under Windows and Mac OS X.

This tool is also a translation tool that will help translators to localize more easily SH3F files: the name and the category entered in the modification dialog depends on the language chosen in the tool bar, and when you select a new language in this drop down list, all the categories belonging to the 12 default categories of Sweet Home 3D are automatically translated into the selected language, if the language belongs to the 21 ones supported by Sweet Home 3D at this time.

Caution, there's no undo/redo feature. I didn't feel it was really necessary. As always create backups to ensure you won't loose your work.

Note that from version 1.26, this tool is also able to open Sweet Home 3D default catalog contained in the Furniture.jar file. In case you want to update this catalog (deleting items, renaming them, changing their default size...), remove Furniture.jar from Sweet Home 3D installation folder, edit it with the Editor, save it as a SH3F file and reimport the new library in Sweet Home 3D.

For interested programmers, source code is committed in the FurnitureLibraryEditor SVN module separated from SweetHome3D one.
Furniture Library Editor project is derived from Sweet Home 3D project and uses a similar MVC architecture.
Project contains a README.TXT file with compilation directions.

I hope this tool will be useful and that you'll like it. biggrin

Updated links to Furniture Library Editor JAR executable:
Furniture Library Editor 1.28 was released on 07/27/2021
Furniture Library Editor 1.27 was released on 04/23/2021
Furniture Library Editor 1.26 was released on 03/02/2021
Furniture Library Editor 1.25 was released on 04/15/2020
Furniture Library Editor 1.24 was released on 01/22/2019
Furniture Library Editor 1.23 was released on 10/11/2018
Furniture Library Editor 1.22 was released on 01/25/2018
Furniture Library Editor 1.21 was released on 09/06/2017
Furniture Library Editor 1.20 was released on 11/16/2016
Furniture Library Editor 1.19 was released on 02/17/2016
Furniture Library Editor 1.18 was released on 10/05/2015
Furniture Library Editor 1.17 was released on 07/19/2015
Furniture Library Editor 1.16 was released on 02/02/2015
Furniture Library Editor 1.15 was released on 10/22/2014
Furniture Library Editor 1.14 was released on 06/12/2014 and updated under the same file name on 06/14/2014
Furniture Library Editor 1.13 was released on 01/14/2014
Furniture Library Editor 1.12 was released on 10/30/2013
Furniture Library Editor 1.11 was released on 06/03/2013
Furniture Library Editor 1.10 was released on 03/21/2013
Furniture Library Editor 1.9 was released on 10/25/2012
Furniture Library Editor 1.8 was released on 09/06/2012
Furniture Library Editor 1.7 was released on 04/28/2012
Furniture Library Editor 1.6 was released on 12/20/2011
Furniture Library Editor 1.5 was released on 07/26/2011
Furniture Library Editor 1.4 was released on 04/22/2011
Furniture Library Editor 1.3 was released on 02/13/2011
Furniture Library Editor 1.2 was released on 11/30/2010. I removed the ID column and the ID info for newly added furniture as it's useful for only very special cases.
Furniture Library Editor 1.1 was released on 08/23/2010
Furniture Library Editor 1.0 was released on 06/21/2010
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by hansmex at Jun 8, 2010, 10:04:06 AM
Re: Furniture Library Editor Beta released
Emmanuel:

Merci! MERCI!
Ca foncionnait la premiere fois! Ma vie sera plus aise des aujourd'hui!

Hans
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by Puybaret at Jun 8, 2010, 11:36:27 AM
Re: Furniture Library Editor Beta released
Hans, it's great you like it.
I fixed a few bugs in it this morning, so please download the update (the about dialog will display version 1.0 Beta 6).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by hansmex at Jun 8, 2010, 1:11:06 PM
Re: Furniture Library Editor Beta released
Emmanuel:

The version 1.0 beta 5 has the following small problems:
- When you right-click in the list with imported items, the last selection says "Selectionner tout". I guess that should be "Select all"
- I make a new library by importing the models with "Import furniture" and then I save it with "Save library in a different file". "Create a new library" seems to work as a "clear screen" command, and only deletes the library that is in memory? Maybe the names of these command should be changed?

Hans
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by Puybaret at Jun 8, 2010, 1:28:13 PM
Re: Furniture Library Editor Beta released
Thank you Hans for your feedback. I updated the editor accordingly.
This editor is a mono window application, so when you click on Create a new library or Open a library tools, the current furniture list is discarded (after a warning if you didn't save it).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by hansmex at Jun 8, 2010, 3:51:08 PM
Re: Furniture Library Editor Beta released
Emmanuel:

Having this Furniture Library Editor (FLE) I can imagine that some people, including myself, will want to build large furniture libraries. And, as always, introducing a new feature leads to requests for even more features:
- a Texture Library Editor, modeled in exactly the same way as the FLE;
- subcategories for FLE and TLE, so that large sets of models and/or textures are easier to manage. Example: the category Living Room can have the subcategories Tables, Chairs, Couches, Cupboards, etc.

Hans
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by db4tech at Jun 9, 2010, 10:37:47 AM
Re: Furniture Library Editor Beta released
Thank you Emmanuel!! smile

Only had a very quick go with it so far, initial thoughts, what a great application!
Will you also be adding it to Sweet Home as a plug-in or is it staying as a standalone?

Once again thank you!
db4tech

Posted by Puybaret at Jun 9, 2010, 1:33:38 PM
Re: Furniture Library Editor Beta released
At this time, I think it will remain a standalone application for a while...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by pencilart at Jun 10, 2010, 6:20:36 PM
Re: Furniture Library Editor Beta released
Works nicely.
I wanted to make a desktop launcher (on my Linux system) but I couldn't get the command right so that did not work. Right now, I just have to remember where the file is and right click that and select to open with java.

Posted by Puybaret at Jun 14, 2010, 4:25:23 PM
Re: Furniture Library Editor Beta released
I just updated the Beta version of the Furniture Library Editor with the fix for better DAE/Collada support.
This tool will probably be released in the coming days with Sweet Home 3D 2.5.
I updated the Beta version of Sweet Home 3D 2.5 too, and now you can import again existing SH3F or SH3T files without being obliged to relaunch Sweet Home 3D.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Puybaret at Jun 16, 2010, 1:24:25 AM
Re: Furniture Library Editor Beta released
I updated Sweet Home 3D 2.5 to Beta 4 to avoid problems with temporary working files that were wrongly deleted (this happens rarely).
Now, these files are stored in the work directory of your personal application directory (eTeks\Sweet Home 3D\work under Windows, eTeks/Sweet Home 3D/work under Mac OS X and .eteks/sweethome3d/work under Linux).
Please can you confirm it works correctly on your system and that temporary files are deleted once you exited the program?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by hansmex at Jun 16, 2010, 2:32:52 AM
Re: Furniture Library Editor Beta released
Emmanuel:

Under Ubuntu, I can see a new subdirectory called "work", next to "furniture" and "plugins". Judging by their size and number, on opening SH3D, the files from the "furniture" directory are copied into it, and deleted as soon as SH3D is closed.

Hans
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by Puybaret at Jun 16, 2010, 11:22:27 AM
Re: Furniture Library Editor Beta released
Thanks Hans, the behavior you describe is the expected one. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by db4tech at Jun 16, 2010, 9:46:43 PM
Re: Furniture Library Editor Beta released
Hi Emmanuel,

First chance I have had to try this..

Under Windows 7 The 'work' folder is created with a subdirectory containing temp files but the contents remain once the Sweet Home beta 5 is closed, next time Sweet Home beta 5 is launched another subdirectory with temp files is created and that remains once the app is closed.

Maybe it's just a Windows 7 thing?

Will try XP under visualization when get chance.

db4tech

Posted by Puybaret at Jun 17, 2010, 8:24:57 PM
Re: Furniture Library Editor Beta released
db4tech, the behavior you describe is normal under Windows.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by pencilart at Jun 27, 2010, 7:56:31 PM
Re: Furniture Library Editor Beta released
ok, as you might know, I'm running a new SuSE system. The library editor will no longer launch for me. This is what happens when I try to run it in the terminal:
java -jar FurnitureLibraryEditor-1.0.beta.jar
Unable to access jarfile FurnitureLibraryEditor-1.0.beta.jar

Then I tried it like this:
java FurnitureLibraryEditor-1.0.beta.jar
Exception in thread "main" java.lang.NoClassDefFoundError: FurnitureLibraryEditor-1/0/beta/jar
Caused by: java.lang.ClassNotFoundException: FurnitureLibraryEditor-1.0.beta.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: FurnitureLibraryEditor-1.0.beta.jar. Program will exit.

-----
Edit:
I had to do this in a terminal:
cd /home/<username>/OBJs/SH3Dplugins/
then the java -jar FurnitureLibraryEditor-1.0.beta.jar command.
On the old system, I could just open the terminal and be in that directory already. I gotta get used to this.

Posted by pencilart at Jul 21, 2010, 6:40:58 PM
Re: Furniture Library Editor Beta released
The problem was solved.
I don't remember now how I did it, but I associated the .jar file with the java -jar command (I think it was: right click, "open with" and I filled out the form) and now the file works with a desktop icon.

Posted by JaimeLF at Aug 14, 2010, 12:05:43 AM
Re: Furniture Library Editor Beta released
This is really awesome. I generally prefer to have my furniture categorized by type (table, chair, etc.) rather than by room. I've been going through and making new categories and editing furniture.

My problem is that I have several items of furniture in my Sweet Home 3d list that I don't know how to edit. I believe that these stragglers are the original furniture items that came with the program (not imported). Are they in an sh3f file? Where can I find them? (I have Mac OS X.)

Thanks,

Jaime

Posted by Puybaret at Aug 14, 2010, 10:19:30 AM
Re: Furniture Library Editor Beta released
I should deliver the default catalog as a SH3F file too. smile

At the moment, you can quite easily get rid of the default furniture catalog of Sweet Home 3D, by following these steps:
- Ensure you installed Sweet Home 3D from its installer (not with Java Web Start).
- Remove the file named Furniture.jar from Sweet Home 3D installed files. Under Windows and Linux, this file can be found in the lib subdirectory of Sweet Home 3D installation directory ; under Mac OS X, choose first Show Package Contents item in the contextual menu of Sweet Home 3D application icon, and go to the subfolders Contents > Resources > Java to remove Furniture.jar.
- Relaunch Sweet Home 3D, all default furniture will be gone.

Reusing the furniture contained in the Furniture.jar file is less easy ; here are the big steps:
- rename Furniture.jar as DefaultFurniture.zip,
- in Furniture.zip rename the entry com/eteks/sweethome3d/io/DefaultFurnitureCatalog.properties as PluginFurnitureCatalog.properties (in root directory),
- rename DefaultFurniture.zip as DefaultFurniture.sh3f, and use this file as any SH3F file.

If you can't achieve it, you'll have to wait the release of a SH3F file containing default furniture (this may happen in the coming weeks).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by JaimeLF at Aug 21, 2010, 11:07:17 PM
Re: Furniture Library Editor Beta released
Ok, I got this far: under Mac OS X, choose first Show Package Contents item in the contextual menu of Sweet Home 3D application icon, and go to the subfolders Contents > Resources > Java. I see Furniture.jar, but I can't make any changes to it or even delete it. It tells me "'Java' cannot be modified."

I made a copy of the Furniture.jar file onto my desktop to try to make the sh3f file. (don't even know whether it could work this way) I tried to follow the steps and I tried to tweak a couple, but when I opened the end-result sh3 file in the Furniture Library program there is no furniture.

Of course, I don't *really* know what I'm doing. Other people may be able to get it to work. I've had my Mac for a few years now, but I am still learning its intricacies. Plus, I'm not a programmer, so I'm really not much help. sad

I do have one concern about this default furniture catalog thing. I've used several pieces of its furniture in my home model. Would they just disappear? It wouldn't be the end of the world or anything, I'm just wondering if I will need to re-measure my real furniture. confused

Posted by JaimeLF at Nov 29, 2010, 10:09:37 PM
Re: Furniture Library Editor Beta released
Any idea as to why my Mac won't allow me to remove Furniture.jar?

Also, has there been (or will there be) a release of an SH3F file containing default furniture?

Posted by hansmex at Nov 29, 2010, 10:23:44 PM
Re: Furniture Library Editor Beta released
Jaime,

To answer your second question: look here ....

Hans
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by Puybaret at Nov 29, 2010, 11:45:25 PM
Re: Furniture Library Editor Beta released
Any idea as to why my Mac won't allow me to remove Furniture.jar?
Probably, because the program is still running or Sweet Home 3D.app folder is protected. There can't be other reasons.

has there been (or will there be) a release of an SH3F file containing default furniture?
Hans, I think that by "default" JaimeLF means the furniture that is available in Sweet Home 3D default catalog, not the additional known SH3F files.
JaimeLF, I can write an Ant script that would build a SH3F file for the default furniture. Why do you need it?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by JaimeLF at Nov 30, 2010, 4:36:23 AM
Re: Furniture Library Editor Beta released
Oh! I've now deleted the Furniture.jar file (I had to remove the app from the dmg).

I tried to 'reuse' the Furniture.jar file as outlined in Puybaret's 8/14/10 post. I still can't get that to work right. When I open my resulting file with FurnitureLibraryEditor, it's empty. confused

Anyway, I just wanted to be able to change the categories and properties of the default furniture (like I can with the imported furniture).

Thanks,
Jaime

Posted by furnituremodeler at Sep 15, 2011, 3:37:56 PM
Re: Furniture Library Editor Beta released
I love it Emmanuel. It works great and it really helps build large furniture libraries. Thanks for the sweet tool!
----------------------------------------
Craig Stein

Posted by pencilart at Dec 21, 2011, 1:48:21 PM
Re: Furniture Library Editor Beta released
I have a question about the editor:

The library editor has a checkbox for the doors & windows, will it have one for stairs too, now that you've so nicely made it possible for the stairs to punch a hole in the floor of the room? Or is that not needed?

Posted by Puybaret at Dec 21, 2011, 2:11:57 PM
Re: Furniture Library Editor Beta released
There is a check box for staircases in Furniture Library Editor 1.6 released yesterday.
For the most audacious users, there's even an accompanying text field to enter the cut out shape of the staircase using the SVG path syntax.



This shape should be closed and fit in a square spreading from (0, 0) to (1, 1) which will be scaled afterwards to the real size of the staircase. The default value:
M0,0 v1 h1 v-1 z
matches a square of that size, and will compute a hole in upper levels matching the staircase width and depth.
But you can enter a much more complicated shape like the pie matching the spiral staircase available in the default catalog:
M0,0.35 h0.47 l0.375,-0.35 l0.088,0.118 A0.5,0.5 0 1,1 0,0.35 z

In case you enter a wrong shape, it will appear in red in the text field (but don't worry it won't make crash Sweet Home 3D if you don't fix it).

Good luck! smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by pencilart at Dec 21, 2011, 6:40:08 PM
Re: Furniture Library Editor Beta released
I think I just found a bug and filed a bug report.

Basically, what I've found (in 1.6) is that "Modify furniture" is not coming up, either when I double click on the piece of furniture, or when I right click on it and select "Modify furniture" from the menu that comes up with that.

I wonder what happened :(

Posted by Puybaret at Dec 21, 2011, 8:59:43 PM
Re: Furniture Library Editor Beta released
Sorry, it was mnemonic managements that I didn't check (I could catch this error under Mac OS X because it's the OS I daily use and it doesn't support mnemonics).
I just released again a modified version of the Furniture Library Editor with the same version 1.6.
Hope nobody will mind. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by paseutel at Jun 10, 2012, 1:48:59 PM
Re: Furniture Library Editor Beta released
Hi! I'm facing a problem on launching FurnitureLibraryEditor-1.7.jar
When I double click the jar file or right click => open with Java, nothing happens.
I'm sure that my 32-bit Windows 7 runs the latest version of Java.
Here is the screenshot:



Looking forward to your reply,
Thank you in advance :)

Posted by damcar at Jan 19, 2013, 4:02:24 PM
Re: Furniture Library Editor Beta released
Hi Puybaret,Hans and others

I'm new to Sweet Home 3D and realy like it, but for the moment, I’m not getting very far!

I have downloaded and installed the latest version of Sweet Home 3D (Version 3.7 Java Web Start). I have the latest Java version installed (1.7.0_09). And it works OK.

I downloaded FurnitureLibraryEditor-1.9.jar and when I double-click on it My Nokia Suite opens!

So I next tried to open the file with the same java file that Sweet Home 3D uses (javaws.exe) but I get a window “Application Error. Unable to launch the application” with two buttons [OK] & [Details]
When I click on “details”:
Under “launch file” it says “PK”.
Under “Exception”, it says:
JNLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
and under “Wrapped Exception” it says:
Failed to find the '<' charater that marks the end of a CDATA element. Exception parsing xml at line 0
at com.sun.deploy.xml.XMLParser.skipPCData(Unknown Source)
at com.sun.deploy.xml.XMLParser.nextToken(Unknown Source)
at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

also tried to open it with javaw.exe – nothing happens!
Also tried to open it with javacpl.exe – and I get the Java Control Panel opening!
Also tried to open it with java.exe – and I get what looks like a DOS window open for about half a second, then nothing.
Also tried to open it with jabswitch.exe – and nothing happens!
There are other “exe” files in the same folder (C:\Program Files (x86)\Java\jre7\bin) but none of them have the “java” logo.

I then tried, on the “run” command (Win 7Pro 64 bit): java -jar FurnitureLibraryEditor-1.9.jar and got the DOS window open for about half a second, then nothing.

I have read each entry on each of the three pages in the forum, but can’t see any other suggestions referring to my problem.

Does anybody have any ideas?
Best regards,
DamCar

Posted by Puybaret at Jan 20, 2013, 3:31:18 PM
Re: Furniture Library Editor Beta released
Don't use javaws.exe.
Use java -jar followed with the full path of FurnitureLibraryEditor-1.9.jar
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by damcar at Jan 21, 2013, 9:15:10 AM
Re: Furniture Library Editor Beta released
Thanks for the reply, Puybaret.

Got it - but not the first time! I thought it might help others if I explain what I had to do…

So as you suggested, I pasted in the run command “java -jar D:\Downloads\architecture_sweet home\FurnitureLibraryEditor-1.9.jar” (without the “” and got what looked like a DOS window for about half a second, then nothing.

I tried launching SH3D and then running the command prompt again. Still no better.

I then copied the file FurnitureLibraryEditor-1.9.jar onto the C drive and ran the command “java -jar C:\FurnitureLibraryEditor-1.9.jar” and it worked!

So either the file needs to be on the same drive as java **OR** my path was too long for the thing to work.
Thanks again for your help.
Best regards
DamCar.

Posted by Puybaret at Oct 15, 2013, 11:45:17 AM
Re: Furniture Library Editor Beta released
As requested by okh, here's a beta of the next version 1.12 of the Furniture Library Editor with a quick description of the updates/bug fixes it brings:
- Added the Merge tool to merge the current library with an other one
- Fixed a bug that always changed the category of an edited set of furniture belonging to different categories
- Fixed a bug that didn't updated furniture sort and selection when localized data was changed
- Added the ability to reset the value of optional fields for items edited individually
- Added the Keywords/Tags column available to add some searchable words
- Limited decimal count to 5 in saved numbers (count of decimals for 1/16' = 0.15875 cm)
- Didn't reset staircase cut out shape to its default value when multiple models with a different shape are modified.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Oct 15, 2013, 12:30:25 PM
Re: Furniture Library Editor Beta released
Thanks - and congratulations. Downloaded and peeked at, will have a closer look later.

In addition to the bugfixes, I am especially pleased about the Keywords/Tags!

In fact, the more properties are available, the better. Even if it is true that it probably would be confusing for many. Maybe a compromise could be a function that simply opened PluginFurnitureCatalog.properties in the default editor? That way accessing remaining properties would be much quicker for those so inclined.

You really have been busy - know it is appreciated.

ok

Posted by Puybaret at Oct 15, 2013, 11:55:44 PM
Re: Furniture Library Editor Beta released
Forgot to mention that the beta version of the Furniture Library Editor doesn't erase the new doorOrWindowCutOutShape# property.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Puybaret at Oct 29, 2013, 10:09:32 PM
Re: Furniture Library Editor Beta released
The beta 2 of the next version 1.12 of the Furniture Library Editor lets you edit the cut out shape of doors and windows, when one object is modified. Will be happy to read your feedback about it... smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Oct 30, 2013, 9:14:26 AM
Re: Furniture Library Editor Beta released
Meaning that changing to SVG window paths at the same time will delete the others?

Thanks. Looks good. Much easier than opening .properties file.

ok

PS I guess users who edit SVG cutouts, may also want to change other doorOrWindow properties (and lightsource), so I don't think you should be too afraid of including the more advanced properties too (especially ID which is a pain to add manually), just put them far down in the window saying "optional/advanced".

Posted by Puybaret at Oct 30, 2013, 11:47:20 AM
Re: Furniture Library Editor Beta released
Thanks for your tests smile

Meaning that changing to SVG window paths at the same time will delete the others?
Of course not, it means that if you select two or more items in the furniture list and try to modify them, then the Customized cut out shape fields for doors and windows won't appear in the modification dialog box.

I don't think you should be too afraid of including the more advanced properties too (especially ID which is a pain to add manually), just put them far down in the window saying "optional/advanced".
I didn't include these properties in the Furniture Library Editor because I fear they would be complicated to understand and handle, but because it would take some time to program a modification dialog box able to display and manage these properties in the Editor. But if you and others are interested, that should appear one day...
At the opposite, if you need to edit IDs, I can easily deliver to you a special version of the program that will let you edit that information (it's just an hidden information).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Oct 30, 2013, 11:58:05 AM
Re: Furniture Library Editor Beta released
Thanks.

Yes, please, special version with ID would be a great help (especially for sharing models later).

ok

Posted by okh at Nov 5, 2013, 9:21:26 AM
Re: Furniture Library Editor Beta released
The fields for SVG cutout shapes are very small. 20 characters is not very much for the customised cutouts... :-)

No problems with the Beta so far (except the lightsource properties vanished once, but have not been able to recreate so I probably entered a wrong comma or something in the .properties file).

ok

PS: If you have link to the 'special version with ID' it would be great.

Posted by Puybaret at Nov 6, 2013, 2:33:40 PM
Re: Furniture Library Editor Beta released
You can type more than 20 characters even if the text field shows only 20 characters, but I'll try to change the layout of the dialog to show a larger text field in a coming version.

If you have link to the 'special version with ID' it would be great.
I sent you a link to that special version. I'll try to add a preference in a future version to change the list of editable columns.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Nov 7, 2013, 5:16:47 PM
Re: Furniture Library Editor Beta released
Thank you, downloaded, much appreciated and enjoyed. Of course, I know I can type more than 20 characters, but my head is spinning (in elliptical arcs, they can be a pain). And seeing the entire path would make it (slightly) easier. But as I doubt adding SVG paths will be a common user pastime, I don't really think it needs to be on your priority list. Will look at more SVG this evening. Thanks for all your prompt responses to silly questions. (And thanks to hansmex for his input. Noted, will do. And .odt is just fine, not need to use .doc/docx ...:-) - will test .odt support for SVG illustrations ...)

ok

PS noticed a very slight Arc offset when specifying SVG (but I suspect the inaccuracy may stem from the .obj file, will check) - if it remains a problem, I will report it.

Posted by okh at Nov 11, 2013, 5:47:07 PM
Re: Furniture Library Editor Beta released
PS noticed a very slight Arc offset when specifying SVG (but I suspect the inaccuracy may stem from the .obj file, will check) - if it remains a problem, I will report it.
Never mind. False alarm. Not the .obj file, it was a 1 in the rotation parameter (instead of large-arc-flag) that caused the confusion. Stupid, and I wasted 1/2 looking in the wrong place... :-(

Actually, SH3d deals beautifully with every SVG path I've been able to think of.

ok - overjoyed with the SVG path function in FurnitureLibraryEditor.

Posted by nathalyann at Dec 1, 2013, 6:15:41 PM
smile   Re: Furniture Library Editor released
Bonjour,

J'aimerais savoir si, dans un futur rapproché, l'application "Furniture Library Editor" sera disponible pour le Mac OS X 10.9 ?

Merci

Nathaly-Ann
----------------------------------------
--
⊰ Nathaly-Ann ⊱​
​​​​☯ ⚖ ♥ ∞​ ☮

Posted by Puybaret at Dec 2, 2013, 9:57:50 AM
Re: Furniture Library Editor released
Please, use English in this forum (even if issued from automatic translation).

Furniture Library Editor already works under Mac OS X 10.9, but you may have to download and install Java to make it run, for example using the update available at http://support.apple.com/kb/DL1572
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by hfrmobile at Feb 17, 2014, 10:12:23 PM
Re: Furniture Library Editor released
Downloaded the latest version (FurnitureLibraryEditor-1.13.jar). App runs. But when I open a furniture file the List keeps empty.

So I renamed exterior-door-03.zip to exterior-door-03.sh3f (since it is simply a zip file containing model data files) voilà ...

But I have no idea how to draw door opening/angle (for 2D plan).

Posted by hfrmobile at Feb 17, 2014, 10:13:53 PM
Re: Furniture Library Editor released
Door swing in plan ...

Posted by okh at Feb 25, 2014, 8:57:46 AM
Re: Furniture Library Editor Beta released
No problems with the Beta so far (except the lightsource properties vanished once, but have not been able to recreate ...
This happened again - light source properties had disappeared from the PluginFurnitureCatalog.properties file. Using Furniture Library Editor Version 1.12 ID, Java version 1.7.0_51.

In the sh3f file posted the modern street light no longer has light source properties, whereas the file I sent you by e-mail (created from the previous version of the .sh3f file) has light-source properties.

But exactly what I did, I cannot remember, sorry (I may have edited the model properties: height).

ok

Posted by okh at Feb 28, 2014, 4:29:54 PM
Re: Furniture Library Editor Beta released
This happened again - light source properties had disappeared from the PluginFurnitureCatalog.properties file.
Pesky LightSourceProperties, another small bug reported in bugs/441: Leading zeros in colour hex triplet disappear... Probably has no practical implications (think file is read correctly), except confusing amateurs like your truly... confused

ok

Posted by okh at Jun 14, 2014, 1:49:34 PM
Re: Furniture Library Editor Beta released
'special version with ID' it would be great.

I sent you a link to that special version. I'll try to add a preference in a future version to change the list of editable columns.

You shouldn't by any chance keep one of those ID specials 1.14 lying around smile ? (Clearly not a priority, but it was very nice.... But then, you have probably guessed that I prefer as many options as possible to avoid having to open the .properties file all the time.)

Posted by Puybaret at Jun 14, 2014, 2:19:02 PM
Re: Furniture Library Editor Beta released
Here's the special version 1.14 of the editor with IDs. Maybe, one day I'll add the list of editable columns in editor's preferences… wink

[Note from developer: the special version with IDs was updated on 01/19/2017]
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Jun 14, 2014, 3:10:25 PM
Re: Furniture Library Editor Beta released
Perfect, thanks.
Maybe, one day I'll add the list of editable columns in editor's preferences…
It has my vote smile - or just an "Open .properties file in Editor...". But I do understand it is not a priority. ok

Posted by Puybaret at Jun 14, 2014, 3:28:50 PM
Re: Furniture Library Editor Beta released
Caution! There was a regression in version 1.14 where lights with multiple sources weren't saved correctly anymore. I fixed the bug and released the source and jar files of the Furniture Library Editor (including the special version with IDs) under the same file names, but changed the version displayed in the About dialog box to 1.14a.
Sorry for any problem it may have cause. sad
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by sree.arun.kr at Jun 14, 2014, 6:18:57 PM
Re: Furniture Library Editor Beta released
Next time updating please include build version like v1.14.02 and it is mandatory to add 'zero' for lower versions to avoid confusion.
angel.
----------------------------------------


Posted by Puybaret at Jun 14, 2014, 6:48:54 PM
Re: Furniture Library Editor Beta released
There's no absolute rule on version numbering.
My current rule is to use a letter when I overwrite a very recent update, and this letter appears only in About dialog and source code, to let users check their version.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by TNTDAVID at Jul 24, 2014, 4:45:51 PM
Re: Furniture Library Editor Beta released
Sorry from my incorrect English.

I am French and my job is 3D Computer graphic designer.
I work under SketchUp and I wish to share collections of kitchen furniture IKEA on 3D Sweet home.

With Library Editor 1.14, I have 3 problems

1) The import of one 3D models with a compound name of more than 2 figures is always reappointed: example: " BA 115 " will be called to " BA 11 "

How to avoid this error ?

2) The recording of libraries in the format "sh3f" is sometimes impossible.
Is it of for an excess large number of models in the library ?
If yes how many models are authorized at the most?

3) When I import a file "sh3f" create with library Editor on 3D Sweet man, the file is imported with the "Unknown" name.

How to attribute a name to the library for example " KITCHEN IKEA "?

Thank you in advance for your answers.

Cordially

David Barros
----------------------------------------
On www.composant-dynamique.com create the kitchen of your dreams.

Posted by Puybaret at Jul 24, 2014, 9:25:04 PM
Re: Furniture Library Editor Beta released
I'm not sure you use this tool correctly...
First be sure to install a .sh3f file in Sweet Home 3D with Furniture > Import furniture library menu item.
In the Furniture Library Editor, if the default names of the 3D models you imported don't match what you expect, simply rename them by double clicking on the line of the 3D model you want to change.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by TNTDAVID at Jul 26, 2014, 4:03:19 PM
Re: Furniture Library Editor Beta released
As a video is better than a length talks:

http://youtu.be/ilbTAuKVlpo

One can see the error on the name of the 3-digit products which pass 2-digit and the library, named "Unknown" instead of "IKEA KITCHEN".

Consequently he is impossible for me to create several libraries.

Is it normal?

Cordially

David Barros
----------------------------------------
On www.composant-dynamique.com create the kitchen of your dreams.

Posted by dorin at Jul 28, 2014, 7:38:21 AM
Re: Furniture Library Editor Beta released
You miss few steps. The name of file is not the same with name of category. In same file you could have more category.
After you load the furniture in furniture library editor, select all and then click on modify selected furniture (the 8 icon from left); in the new window edit the category name. You must see it in the category column (the 4 col.). Now you can save Your library under whatever name you want. When you import it in sh3d will see the category name not the name of the file.
dorin
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by TNTDAVID at Jul 30, 2014, 7:17:21 AM
Re: Furniture Library Editor Beta released
The icon 8 from left, contains the function "Copie"
Would it be possible to post an image to understand better ?

Thank you
----------------------------------------
On www.composant-dynamique.com create the kitchen of your dreams.

Posted by okh at Jul 30, 2014, 10:39:00 AM
Re: Furniture Library Editor Beta released
Hi, your question may be a bit confusing, at least to me. Toolbar Icon 8 from left in Furniture Library Editor is Modify selected furniture (in SH3D, nr 8 is Copy - and as far as I can tell it works according to convention?).

But obviously I am missing something. Maybe you could elaborate?

ok

Posted by dorin at Aug 1, 2014, 7:38:44 AM
Re: Furniture Library Editor Beta released



After this save your furniture library under what name you want.
Dorin
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by TNTDAVID at Aug 18, 2014, 11:19:55 PM
Re: Furniture Library Editor Beta released
Hello,

I made a bad manipulation and I do not know how to cancel ?

If this function does not exist, it is important to add it ;-)

Small notices:

To add a column of information with the "PRICE" of the imported 3D objects, would revolutionize the use of 3D Sweet home.

By exploiting the file CSV, it would be possible to make the evaluation of the prices at the same moment as the plans of our house.
----------------------------------------
On www.composant-dynamique.com create the kitchen of your dreams.

Posted by okh at Aug 19, 2014, 10:17:49 AM
Re: Furniture Library Editor Beta released
I would agree that more of the properties could be made available to the user (tntdavid: look at the DefaultFurnitureCatalog.PropertyKey) price being one (+ creator and more).

However, in your case, there is a possibility to communicate with the user of an imported library using the property information:
information#1=<font color="RED"><a href="http://www.composant-dynamique.com" >Kitchen model EURO 56</a></font>
This provides extra information in the Furniture Catalogue view and - as the example shows - even lets you link to where you can find the item.

Maybe I am missing something, but I have not found a way of making these properties visible in the Home Furniture List. And that I think could be very useful. Especially as this list is so easy to copy and paste into a spreadsheet, it would be very easy to calculate total cost of all items.

As for the Furniture Library Editor, I don't think there is an Undo feature on the drawing board (see this post). I admit this has caused me some heartache too, but if you always work on copies and backup for every change, it is something I can live without. But - repeating myself - I would like as many properties as possible available when using the Editor. Simply because the detour of unzipping/opening the PluginFurnitureCatalog.properties and then reloading the catalogue, is distracting the process of creating objects.

Now, all these issues are, I believe in the wish-list / feature requests, and I feel a bit guilty for discussing them again. After all, whenever eTeks releases new versions, one can tell that careful consideration has gone into the priorities.

But yes, these features would be very welcome also for me. And the good news is, that SH3D is clearly designed for such future capabilities.

ok

Posted by TNTDAVID at Sep 12, 2014, 12:45:19 PM
Re: Furniture Library Editor Beta released
The priority absolute for me is to make visible the price of the 3D objects.
Sweet home will be from then on, the best free 3D software for cuisinistes and many other Building trade.
If this function does not go out to the next version, the biggest sccès will then be put back.
----------------------------------------
On www.composant-dynamique.com create the kitchen of your dreams.

Posted by Puybaret at Sep 13, 2014, 2:15:59 PM
Re: Furniture Library Editor Beta released
Prices management is already more or less programmed in Sweet Home 3D and the Furniture Library Editor, but I don't feel like activating this feature in the default release.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Sep 14, 2014, 11:38:08 AM
Re: Furniture Library Editor Beta released
I must be missing something, because I am not sure I see the problem with lots of fields as long as the default furniture list does not reveal more than Name_Width_Depth_Height_Visible. What I think would be nice, though, is for the information# field to be carried over into the furniture list. That way I could look at the items from the plan - that is, with the hyperlink - without having to look up the original catalogue entry. ok

Posted by Puybaret at Oct 23, 2014, 12:49:47 AM
Re: Furniture Library Editor Beta released
The information property is stored in .sh3d files from version 4.2, but wasn't viewed in the furniture list until Sweet Home 3D 4.5 that now displays a clickable icon at the right of the name column for the pieces which have such information available.



Hope you'll like it smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Oct 23, 2014, 8:52:25 AM
Re: Furniture Library Editor Beta released
Thank you! Clever solution with the non-changeable, linkable reference. This is bound to be a great improvement for interior designers and anyone who wants to provide model libraries for SH3D. Design a room, provide the file and link each item. Also, it will let a creator maintain some control over models in terms of copyright etc. Very good.

Basic HTML seems to work beautifully (font colours, links). However, I suspect one should keep it simple. For instance, by using HTML entities (basic character set): did not work, but &euro; does. Which means you get a link to your model (and could even quote the price in the link).

Tried this entry which showed up beautifully in catalogue and furniture list:

information#5=<font color="GREEN"><a href="https://www.google.no/search?q=washing+machine" >Washer Dryer, &euro; 1000</a></font>

Even if this does not answer to a wish for having price as an optional Furniture column (so you can put it in a spreadsheet and get totals), but that is a different question. And this is, methinks, more important.

ok

PS - I still have the SF Bugs 499 problem that my editor seems to corrupt the item I work on in PluginFurnitureCatalog.properties, so the item does not import correctly to SH3D. However, if I open same file with Furniture Library Editor and save, the file appears fixed. I have not figured out what this might be, but Furniture Library Editor appears to have a greater tolerance of sh3f files than SH3D - go figure.

Posted by okh at Oct 23, 2014, 5:28:11 PM
Re: Furniture Library Editor Beta released
For the record - by "..this is more important..." - I mean that the new display of information is more important than price (or other optional columns). So all cred for an elegant solution implemented. Really a nice improvement. Very happy. ok

Posted by Moving at Jul 8, 2015, 8:23:52 AM
Re: Furniture Library Editor released
Awesome.

Is there a way I can duplicate an item? I have several similar object in my house for which I would like to have a separate object in my library.

Thanks!

Norbert

Posted by Zsoltsalamon at Jul 26, 2015, 5:36:02 PM
Re: Furniture Library Editor released
Hello my name is Zsolt, I have some questions about this program. How can I use it? I just download it, but I can't run it. Any help?

Posted by Voytkostudios at Aug 21, 2015, 1:57:56 AM
Re: Furniture Library Editor released
Hello,

I'm having an issue with the Library Editor. I can save files, but these .sh3f files can only be opened in the Library Editor and are only visible when opening files in this program. They are not visible in windows explorer or Sweet Home 3D. Is this a known issue? I'd appreciate any help.

Thanks!

Posted by Puybaret at Aug 21, 2015, 7:59:21 AM
Re: Furniture Library Editor released
If the .sh3f files you created are not visible in Windows explorer, how could you choose them in Sweet Home 3D to import them?
You probably saved them in a folder that is not the one you expected.
If you want, you can also send me a .sh3f file to test it on my side, but as you can't find them, it's going to be difficult for you to attach one of them to an email!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by LunaC at Jan 20, 2016, 12:05:44 PM
Re: Furniture Library Editor released
I LOVE this program! Thanks so much for publishing. However is it possible to make it use a standard language for all sh3f files? The preferences lets me set it to english but there is more than one english (AE, BE,...) and I wish it would just stick to the same whenever I load a file.
Thanks!

Posted by LunaC at Jan 21, 2016, 1:44:36 PM
rose   Re: Furniture Library Editor released
Hi, I have some feature request to the plugin:
- add a simple search box for larger databases
- show number of files in database
- make the preview image bigger e.g. when changing the column size
- a possibility to choose which columns to show
- make it remember the last path used or a possibility to add a standard folder
-some kind of search for duplicates (posted that in the request area for the program itself already)

Well hats it (for now) I have no idea how complicated it is but I would really love to see any those features rose

Posted by Puybaret at Jan 22, 2016, 1:06:43 PM
Re: Furniture Library Editor released
LunaC, don't use preferences settings to give the translation of the 3D models you added to your library. The language setting in preferences is used just to change the language used in the user interface of the Editor, nothing else.
You should rather choose the language in the dropped down list shown in the tool bar of the icon. This list provides all kind of languages, possibly with their variant in some countries. When you select a language different from the Default language, the Editor prepares an additional properties file in the sh3f file for that language, suffixed by language + country codes (for example, PluginFurnitureCatalog_en_GB.properties for English UK variant, or PluginFurnitureCatalog_de.properties for default German). Then, all the modifications you make on the name, category, keywords and information of the edited models will be considered to be in the selected language (and stored in that suffixed file). If you want to edit the models in the default language again, just select Default language. See the simple example attached to this post.
You can prepare how many translations and variants as you want for your library. For example, Sweet Home 3D models libraries are proposed in 21 languages, with country variants for Chinese and Portuguese languages. When a library is translated in a certain language, it appears in bold in the language dropped down list.

Note that if you want to force a country in Sweet Home 3D that is not yours, you can use the Java -Duser.country option followed by 2 capital letters ISO 3166 country code. For Australia, it will be:
-Duser.country=AU


About your feature requests, note that you can find more easily a model in the current version by sorting the library by name, category... when you click on its column header.
If the icon got bigger when you enlarge its column, the row should grow accordingly, a reason why I don't think I'll program this feature. Nevertheless, keep in mind that a tool tip displays the icon of a model at a bigger size when you place the mouse on its icon.
----------------------------------------
Attachment Box.sh3f (2349 bytes) (Download count: 369) (A simple library with UK variant)

----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by LunaC at Jan 28, 2016, 1:08:40 PM
Re: Furniture Library Editor released
Thank you for explaining this all to me.
Id love to use the Java-Duser but how do I do that? I don't have a program to work with java. As far as I could see from the iso codes there's none for just general english but GB would be ok for me too. Could you maybe send me that file that I need or explain/point me to a source that shows how to do this?

Thanks for your Box.sh3f but it still doesn't solve the problem I have. When I open it in Furniture Library Editor the dropdown has set "default language" when I edit the file now e.g. adding keywords and then safe it and reopen it again those keywords are visible under "default language" but not under "english (uk)" or in case of my other files under "english" without country specification.
So whenever I want to edit a file in Furniture Library Editor I have to remember to set the drop down to the language I want. If I forget it I sometimes add keywords for hours and then see I can do it all over again because it saved it to whatever it thinks is the default language.
My computer is set to german but I use the program in english (I use many programs in english because tutorials are often only written in that language).

If I would have a -Duser.country=GB would it tell the Furniture Library Editor that this is my default language and I could work with it without always having to choose from the dropdown first?

Posted by XroM at Jun 24, 2016, 10:17:04 AM
Re: Furniture Library Editor released
Crash after import new furniture or open a library sad
C:\Users\Roman\Downloads>java -jar FurnitureLibraryEditor-1.19.jar июн 24, 2016 11:54:40 AM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Java 3D: implicit antialiasing enabled Java 3D ERROR : wglGetExtensionsStringARB not support ! - ═х эрщфхэр єърчрээр яЁюЎхфєЁр. Fallback to use standard ChoosePixelFormat. Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1) javax.media.j3d.IllegalRenderingStateException: GL_VERSION at javax.media.j3d.NativePipeline.createNewContext(Native Method) at javax.media.j3d.NativePipeline.createNewContext(NativePipeline.java:2775) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4914) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2440) at javax.media.j3d.Renderer.doWork(Renderer.java:917) at javax.media.j3d.J3dThread.run(J3dThread.java:275) DefaultRenderingErrorListener.errorOccurred: CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context graphicsDevice = Win32GraphicsDevice[screen=0] canvas = com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas0,0,0,128x128]

Can anybody help me please?
Windows 10 x64
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)


Posted by Puybaret at Jun 24, 2016, 1:15:14 PM
Re: Furniture Library Editor released
I wonder if you don't have the same issue as some Windows 10 users who tried Sweet Home 3D installer 5.2. Then the solution would be to install and use Java 8u51, or to use the Java version which comes with Sweet Home 3D 5.3 with a command similar to:

"C:\Program files\SweetHome3D\jre8\bin\javaw.exe" -jar path\to\FurnitureLibraryEditor-1.19.jar

Just be sure to check the path of javaw.exe and FurnitureLibraryEditor-1.19.jar. The easiest way would be to drag and drop these files from the Windows explorer window to the cmd window.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Puybaret at Jan 19, 2017, 9:23:16 AM
Re: Furniture Library Editor released
Here's the special version 1.20 of the editor with IDs. It fixes an issue that generated an invalid SH3F file as soon as an icon or model file was referenced more than once in the edited catalog (issue fixed in version 1.18 of the standard editor).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Mar 22, 2017, 4:59:55 PM
Re: Furniture Library Editor released
Never said thanks for this. ID field is greatly appreciated. So thanks.

But also - a special thanks for the SVG input field. It is ever so nice to have the SVG path light up in red to tell you about typos. Actually, I would really have wished for that in my normal editor. Not that I ever make typos, of course ... smile

ok

PS It really would be nice if the FurnitureLibraryEditor (also with the extra fields for doors/windows/light-sources) at some point were included as an Advanced Model Option in SH3D itself. It would save some model-making time and would increase the power of SH3D enormously. But I also understand your hesitation when it comes to the interface. And I guess I am repeating myself...

Posted by jrr at Apr 8, 2017, 8:54:04 PM
Re: Furniture Library Editor released
The editor is a big help, but how do I rename or create categories?
Thanks!

Posted by Puybaret at Apr 11, 2017, 12:30:07 PM
Re: Furniture Library Editor released
The category of a 3D model is edited with an editable drop down list. Thus, if you want to rename or create a new category, just type the category name of your choice in the text field of this drop down list. If it doesn't exist, it will be created.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by coguaro at Apr 18, 2017, 1:51:19 PM
Re: Furniture Library Editor released
how is possible merge some library and single furniture is possible download from sweet home 3d site automatically with all information image and other?

sorry for my english

Posted by Puybaret at Apr 19, 2017, 12:38:46 PM
Re: Furniture Library Editor released
From version 1.12, you can merge a library with another one with the 3rd button in the toolbar of the editor.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by suedinym at Jun 28, 2017, 3:21:15 AM
Re: Furniture Library Editor Beta released
I should deliver the default catalog as a SH3F file too. smile

At the moment, you can quite easily get rid of the default furniture catalog of Sweet Home 3D, by following these steps:
- Ensure you installed Sweet Home 3D from its installer (not with Java Web Start).
- Remove the file named Furniture.jar from Sweet Home 3D installed files. Under Windows and Linux, this file can be found in the lib subdirectory of Sweet Home 3D installation directory



I'm running xubuntu 16.04, with Java 8. I can't get the downloaded file to run by double clicking or with the command line, so I installed it through the software manager, and it's running great. However, I have searched everywhere and can't find the Furniture.jre file to delete.

(I can find it easily in the downloaded files - but not in the version that installs and runs.)

Posted by edusson at Jul 9, 2017, 6:59:04 PM
Re: Furniture Library Editor released
Hi,

To the post about crashing, from XroM ... I had the exact same problem. As Puybaret mentioned, I also suspected that it was the same graphics issue as launching the SH3D, which is solved using the 2nd script (which pulls different Java graphic libraries, I think).

So, I created a similar script for the furniture editor. Sorry if this was obvious (I'm newbie biggrin). Copy this script in the application directory where the other 2 SweetHome3D scripts are. And copy the FurnitureLibraryEditor-1.20.jar in the lib directory (of the same application directory).
#!/bin/sh
# Retrieve Sweet Home 3D directory
PROGRAM=`readlink "$0"`
if [ "$PROGRAM" = "" ];then PROGRAM=$0
fi PROGRAM_DIR=`dirname "$PROGRAM"`

# Run Sweet Home 3D exec
exec "$PROGRAM_DIR"/jre8/bin/java -Xmx1024m -classpath "$PROGRAM_DIR"/lib/FurnitureLibraryEditor-1.20.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1b.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/j3dcore.jar:"$PROGRAM_DIR"/lib/j3dutils.jar:"$PROGRAM_DIR"/lib/vecmath.jar:"$PROGRAM_DIR"/jre8/lib/javaws.jar -Djava.library.path="$PROGRAM_DIR"/lib com.eteks.furniturelibraryeditor.FurnitureLibraryEditor -open "$1"

Now it doesn't crash. Things seem to work fine except that I get an error:
com.eteks.sweethome3d.model.RecorderException: Invalid furniture library file
at com.eteks.furniturelibraryeditor.io.FurnitureLibraryFileRecorder.readFurnitureLibrary(Unknown Source)
at com.eteks.furniturelibraryeditor.io.FurnitureLibraryFileRecorder.readFurnitureLibrary(Unknown Source)
at com.eteks.furniturelibraryeditor.viewcontroller.EditorController$3.call(Unknown Source)
at com.eteks.furniturelibraryeditor.viewcontroller.EditorController$3.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Can't copy file to /tmp/furniture3331676379223917287.sh3f
at com.eteks.furniturelibraryeditor.io.FurnitureLibraryFileRecorder.copyFile(Unknown Source) ... 11 more

It does create the sh3f file in /tmp (I am in Linux) but get the error... If I ignore and keep going everything seems fine but not sure I'll see other errors down the road. I just started using it...

Regardless, thanks a lot for SH3D and the furniture editor. Should invite you one day to the place I am remodeling with it biggrin

Posted by Vcky at Aug 9, 2017, 7:42:42 PM
Re: Furniture Library Editor released
help. I have downloaded the furniture library editor and the software simply doesn't run. i tried opening it with JAVA. there is a very quick blink on the screen but then nothing. i have windows 7 installed. please help.
I have tried all methods listed here:
The easiest way to launch it is to double-click on the file. If this method fails, choose open or launch with Java in its contextual menu, or open a Terminal window and run the command:

java -jar FurnitureLibraryEditor-1.0.beta.jar

Posted by ndorigatti at Sep 8, 2017, 1:54:33 PM
Re: Furniture Library Editor released
Hello, i have used version 1.20 of the library a bit on a Mac Osx system (Sierra) with both java 1.6 and 1.8 installed (1.8 as default) and i continue to see in console issue of null pointer exception when clicking. I can use the library for a single operation (add a new 3d model, or rename, or delete). At each operation I have to save, close, reopen and go on, which is very tedious... is there a fix or there will be a fix for this? Do you need further logs/info?

Posted by Puybaret at Sep 8, 2017, 2:10:06 PM
Re: Furniture Library Editor released
Please post the stack trace that appears in the console, that could be useful.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by ndorigatti at Sep 8, 2017, 3:22:34 PM
Re: Furniture Library Editor released
Hello,
this is what happens with 1.21 when:
Open the editor, import a 3ds model I already use in my house (and in another library), double click on it in the list of items.

From what i can see, is a problem of the table render, shame on you old swing! laughing

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.eteks.furniturelibraryeditor.swing.FurnitureLibraryTable$FurnitureLibraryTableColumnModel$6.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7031)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7418)
at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6933)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
at javax.swing.JTable.changeSelectionModel(JTable.java:2389)
at javax.swing.JTable.changeSelection(JTable.java:2456)
at javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(BasicTableUI.java:1115)
at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1038)
at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mousePressed(BasicTableUI.java:798)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6532)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.eteks.furniturelibraryeditor.swing.FurnitureLibraryTable$FurnitureLibraryTableColumnModel$6.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7031)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7418)
at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6933)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154)
at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685)
at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(BasicTableUI.java:955)
at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1166)
at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mouseReleased(BasicTableUI.java:802)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.NullPointerException
at com.eteks.furniturelibraryeditor.swing.FurnitureLibraryTable$FurnitureLibraryTableColumnModel$6.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:6990)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:414)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:393)
at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:597)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.NullPointerException
at com.eteks.furniturelibraryeditor.swing.FurnitureLibraryTable$FurnitureLibraryTableColumnModel$6.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:6990)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:414)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:393)
at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:597)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.NullPointerException
at com.eteks.furniturelibraryeditor.swing.FurnitureLibraryTable$FurnitureLibraryTableColumnModel$6.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:6990)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:414)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:393)
at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:597)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.NullPointerException
at com.eteks.furniturelibraryeditor.swing.FurnitureLibraryTable$FurnitureLibraryTableColumnModel$6.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:6990)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:414)
at sun.lwawt.macosx.CAccessibility$23.call(CAccessibility.java:393)
at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:597)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


Posted by Puybaret at Sep 25, 2017, 10:58:35 AM
Re: Furniture Library Editor released
I couldn't reproduce this issue on my side, but maybe I didn't test correctly your "import a 3ds model I already use in my house (and in another library)" suggestion. There should be no difference in how the Furniture Library Editor manages completely unknown 3DS models or the ones you used once in a Sweet Home 3D project. What detail could I have missed?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by ndorigatti at Sep 25, 2017, 11:14:31 AM
Re: Furniture Library Editor released
Hi, I think I did not explain correctly what the issue is!
The error is not related to what model I use (it was just a specification).
This is an issue with Java, AWT/SWING and OSX Sierra.
The problem is completely UI related, clicks do not work correctly, events duplicated.... I did the same the other day on a Windows 7 machine and it works perfectly.
Currently I'm running java build 1.8.0_91-b14 on OSX 10.12.6
I tryed to force running with the legacy java 1.6 but it did not change anything.
I'm quite sure it is something related to OSX, but can't understand what...

Posted by Puybaret at Sep 25, 2017, 12:02:14 PM
Re: Furniture Library Editor released
My attempt was made under macOS 10.12.6 with Java 8u144. Maybe it could worth that you try with a more recent Java version?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by ndorigatti at Sep 25, 2017, 1:15:04 PM
Re: Furniture Library Editor released
Hi, even with 8u144 it gives the issue when double clicking on an imported forniture. Imported 2 forniture and double clicked on one of the two.... Gives the issue.

Is the jar code opensource? Maybe I can try to compile and debug when I have a couple of hours!

Posted by sclee at Sep 25, 2017, 1:47:26 PM
Re: Furniture Library Editor released
I use Windows system for a few days ago, I can't enter the furniture Library Editor's work, I will try to remove all JAVA and install JDK-8u144-Window, OK.

Posted by DonaS at Oct 14, 2017, 6:11:34 PM
Re: Furniture Library Editor released
I cant get my new created library to save. I just get an error saying "cant save SH3F file" I have tried changing the name and still wont save.

I also cant open any of the libraries that came with the software. Sweet Home 3D.

I really enjoy this software and I have had it for a Long time, never had the library editor until recently.

Thank you

Posted by hansmex at Oct 14, 2017, 6:30:05 PM
Re: Furniture Library Editor released
Which operating system do you use ?
Which version of SH3D ?
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by DonaS at Oct 14, 2017, 8:44:18 PM
Re: Furniture Library Editor released
windows 10 and version 5.5.3

Posted by DonaS at Oct 14, 2017, 8:46:31 PM
Re: Furniture Library Editor released
and version 1:21 furniture library editor

Posted by DonaS at Oct 14, 2017, 8:55:23 PM
Re: Furniture Library Editor released
I should mention these items I want to add or create a library are items I have downloaded from 3D warehouse sketchup site for designing my office items, would that effect this?
And, sorry, I have a couple different folders with my 3D items. One is from years ago that I just kept adding to and now I have added the new version of SH3D, which I see there are new libraries in my C:programs\Sweet Home 3D.
I only have the new version installed

Any of this have a reason to do with this?

Posted by DonaS at Oct 15, 2017, 1:43:57 AM
Re: Furniture Library Editor released
I cant get my new created library to save. I just get an error saying "cant save SH3F file" I have tried changing the name and still wont save.

I also cant open any of the libraries that came with the software. Sweet Home 3D.

I really enjoy this software and I have had it for a Long time, never had the library editor until recently.

Thank you

Posted by DonaS at Oct 15, 2017, 1:50:23 AM
Re: Furniture Library Editor released
I figured it out!!!! The libraries need to be in a different folder, AKA my designs, house

perfect!!!!

Posted by NotMeNotYou at Oct 20, 2017, 10:33:41 PM
Re: Furniture Library Editor released
Hi,
I'm new here so excuse me if this is an old problem, I did search but found no answer -:(
is there a fix for high res screens for the furniture library editor my eye sight is not what it used to be and I need the big fonts.
thanks and sorry if this is the wrong place to ask

Posted by Puybaret at Oct 24, 2017, 3:11:44 PM
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 developer

Posted by captainstarbuck at Jan 6, 2018, 5:53:28 AM
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!!

Posted by Puybaret at Jan 7, 2018, 2:20:47 PM
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 developer

Posted by okh at Jan 30, 2018, 7:51:55 AM
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

Posted by okh at Jan 30, 2018, 8:01:52 AM
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

Posted by Puybaret at Jan 30, 2018, 11:08:07 AM
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 wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Jan 30, 2018, 3:06:26 PM
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

Posted by dorin at Jan 31, 2018, 11:05:53 AM
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 (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by okh at Jan 31, 2018, 1:27:25 PM
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


Posted by dorin at Feb 14, 2018, 10:21:06 AM
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 (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by rontant at Jul 7, 2018, 5:46:10 AM
Re: Furniture Library Editor released
It would be great if this furniture library editor also has the option to change material color or textures.

Posted by Larz2 at Jul 31, 2018, 7:31:16 PM
Re: Furniture Library Editor released
It would be great if this furniture library editor also has the option to change material color or textures.

I agree with this suggestion (add same options as "Modify Furniture").

Or an option where it is possible to save changed/updated furniture into a furniture library.

Posted by Kotbsikcom at Feb 1, 2019, 6:58:15 PM
Re: Furniture Library Editor released
Hello. How to implement it? (or reuse the Java version embedded with Sweet Home 3D installer).Thanks!

Posted by ctn00 at Jun 4, 2019, 3:42:38 AM
sad   1.24 Mac OS Release (Crashing!)
Hi,

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.

Posted by Puybaret at Jun 4, 2019, 9:22:55 AM
Re: 1.24 Mac OS Release (Crashing!)
Under macOS, you should run the Furniture Library Editor with Java 8 or Apple Java 6. It doesn't work with more recent versions of Java yet.
By the way, no need to double post!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by ciberyan at Aug 28, 2019, 1:01:30 PM
Re: 1.24 Mac OS Release (Crashing!)
Hello All
Hope to be in the right place ...
Is there a way (ini file ?) to start the editor in always the same directory ?
When I launch the Editor to open a library, it always look in My Documents and would like to redirect to another more convenient folder
Thanks in advance

Posted by xyzzy at Oct 5, 2019, 6:29:32 PM
Re: 1.24 Mac OS Release (Crashing!)
Hi, I am having trouble opening the furniture library that comes with the store version of Sweet Home 3D on Windows. I would like to sort and filter the items and use the library editor to make it easier to find things. When I open the Furniture.jar file in the lib folder only one item is imported -- an aquarium.
Thank you!

Posted by Puybaret at Oct 11, 2019, 8:29:16 AM
Re: 1.24 Mac OS Release (Crashing!)
Sorry, the Furniture.jar file isn't editable with the Furniture library editor.
[Update: from version 1.26, the editor is able to open Furniture.jar file that you can save as a furniture library]
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by YGYL at Apr 17, 2020, 2:41:11 PM
Re: 1.24 Mac OS Release (Crashing!)
Nice to see the new version, but V1.25 Will still change the format of the imported file~

Posted by Puybaret at Apr 17, 2020, 4:02:23 PM
Re: 1.24 Mac OS Release (Crashing!)
@YGYL, I wanted to improve the handling of KMZ files, but this would have required some deeper changes in the organization of SH3F files. At the moment, if you want to keep Collada files at their original format, the DAE file should be at the root of the ZIP imported file (this is the case for 3D Warehouse models at Collada format).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by YGYL at Apr 18, 2020, 6:03:17 AM
rose   Re: 1.24 Mac OS Release (Crashing!)
Thank you very much, waiting for your good news
Wish you good health~

Posted by T3NZ3N at Apr 21, 2020, 7:08:05 PM
Re: Furniture Library Editor released
For anyone Interested in making this work in the Portable Version:

1. Download JavaPortable8 and install it into your SH3D Portable Directory, into a new folder called "Common"Files", which will create a directory structure that looks like this: (My Program Location Directory)/SweetHome3D-6.3-portable/Common"Files/Java

2. Download JavaPortableLauncher and install it in the SH3D Portable Directory, so it looks like this: (My Program Location Directory)/SweetHome3D-6.3-portable/JavaPortableLauncher

Note: So wherever the JavaPortableLauncher is located, there needs to be a folder int eh same directory named "CommonFiles" and inside that a Folder named "Java", which was created when you installed JavaPortable8

3. Put FurnitureLibraryEditor-1.25.jar into the same Portable6.3 folder

4. Right-click FurnitureLibraryEditor-1.25.jar, select "Open With" > Always use this program to open this file type > Choose another program > Browse to the JavaPortableLauncher.exe file in the JavaPortableLauncher folder > OK

5. Right-click FurnitureLibraryEditor-1.25.jar > Send to > Desktop(create shortcut)

Drag & Drop your shortcut to Quicklaunch, or wherever you want it.

This should now enable you to launch FurnitureLibraryEditor & TexturesLibraryEditor from your Portable Install Folder, which could also be a USB Thumb Drive or something, but can also be anywhere on your Computer.

Posted by Bekhadda at Jun 29, 2020, 8:27:41 PM
Re: Furniture Library Editor Beta released
Bonsoir
Comme c'est un fichier compressé...
Comment l'installer svp
Merci d'avance

Posted by NikkiSevven at Aug 27, 2020, 5:20:25 PM
Re: Furniture Library Editor released
I'm having some issues with the Furniture Library Editor (Mac OS 10.11.6 and Java 1.8). Here's what I did:

1. Launched the editor.
2. Opened the Contributions library.
3. Changed the categories of some of the models, specifying new category names.
4. Tried to save the modified library, but got an error message that the library couldn't be saved.
5. Changed the name of the file and tried to save it to my desktop instead, which worked.
6. Launched SH3D and imported the modified library. However, while all my newly created categories appeared in the list, most did not contain the models I'd specified.

I have no idea what I'm doing wrong or even if I'm doing something wrong. Perhaps someone could walk me through the steps? Or point me to some instructions or a tutorial? Thank you in advance!

Posted by riribreizh at Oct 11, 2020, 3:36:43 PM
Re: Furniture Library Editor released
Bonjour

J'ai un problème avec FurnitureLibraryEditor. Il crash dès que je veux modifier quelque chose.

Pour être sûr, j'ai chargé la bibliothèque Contributions téléchargée depuis le site, enregistré sous test.sh3f.

https://i.imgur.com/Z8nwTIz.png

Si je fais Modifier sur un élément ou si j'importe autre chose, ça plante avec le message suivant :

https://i.imgur.com/zvYDlsH.png

Posted by Thops_of_Kenya at Nov 16, 2020, 9:39:40 AM
Re: Furniture Library Editor released
Hi
Thanks for a great editor. At last i can get some order in my library :)
I have one problem though, i cant open the furniture library, i get a message about that it's not a valid SH3F file, i also get that when the file i exported (all imported objects).
I don't know if it, for some reason above my knowledge, is supposed to be like this.

If it's not, it could be my fault as i, in a dark moment, added a folder with a swedish letter ( ö ), can it be that?
Especialy that folder creates a problem as the last of the objects in that can't be moved or deleted.

Can i solve this somehow ?

/Thops

Posted by hansmex at Nov 16, 2020, 10:39:44 AM
Re: Furniture Library Editor released
The editor is a standalone application, not a plug-in.

H
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by Thops_of_Kenya at Nov 17, 2020, 5:57:11 AM
applause   Re: Furniture Library Editor released
Thanks for the correction of my definition.

/Thops

Posted by gr1nch at Apr 22, 2021, 12:48:20 AM
Re: Furniture Library Editor released
Am really enjoying using SH3D but I've been butting my head against a problem for a few hours.

I'm not getting anywhere with an L shaped SVG hole for stairs using the Furniture Library editor on Ubuntu 20.04.2 LTS.

Even the supplied example is not working (M0,0 v0.8 h0.5 v-0.3 h0.5 v-0.5 z) from the "L shape(d staircase)" section at http://www.sweethome3d.com/SVGPathMiniManualForSweetHome3D.pdf

This is just giving the usual rectangular hole. I've followed the instructions in the PDF - is there something that is missing there or out of date?

I've also tested with L code, e.g. M0,0 L0.5,0 L0.5,0.3 L0.3,0.3 L0.3,1.0 L0,1.0 L0,0 which works just fine in an SVG file, but again, not in an SH3D file. Any ideas?

Posted by Puybaret at Apr 22, 2021, 3:29:50 PM
Re: Furniture Library Editor released
I just tried both shapes under Ubuntu 18 and macOS 10.14 and they worked as expected.
Did you try with Sweet Home 3D version available at SourceForge.net?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Mike53 at Apr 22, 2021, 9:55:56 PM
Re: Furniture Library Editor released
I have not yet tried what happens with the code you have shown, but from what i see here :-

M0,0 v0.8 h1 v-0.8 z (example is anti clockwise)

M0,0 Moveto co-ordinates 0,0
v0.8 Cut 0.8 vertically
h1 Cut 1 horizontally
v-0.8 Cut -0.8 vertically (- means up)
z Cut to start (closes)

for a rectangle you would need v and h + a z to close

Posted by gr1nch at Apr 23, 2021, 12:39:19 AM
Re: Furniture Library Editor released
I just tried both shapes under Ubuntu 18 and macOS 10.14 and they worked as expected.
Did you try with Sweet Home 3D version available at SourceForge.net?


That's encouraging, so I spent another hour trying everything possible to produce an L-shaped hole in the ceiling for my staircase - without success. I've tried VH encoding, L encoding, my required measurements, the example measurements and a simplified rectangular hole - all to no effect. Always, the ceiling hole is the full rectangular base dimensions. It is not possible to make it smaller. The SVG encoding seems fine. It looks like a bug at the moment. Maybe because the design file is too big? I'm at a loss to explain this lack of custom hole ability.

I'm using the latest version of SH3D, i.e. 6.5 and I've looked inside the SH3F zip file and the SVG line is preserved as expected.

Can you see if you can make an L-shaped hole in this SH3D file with this SH3F staircase?

sh3f file
https://drive.google.com/file/d/1jIwirVIzb22e...2J2FQqwA/view?usp=sharing

sh3d file (this is crazy big, even though it is basically one floor of 5 rooms).
https://drive.google.com/file/d/1w8UFLfnBV1VV...IXVNOWjW/view?usp=sharing

Posted by dorin at Apr 23, 2021, 9:32:20 AM
Re: Furniture Library Editor released
Few advises:
1. When you make staircase in real life watch your head!
That's why:

Look at the head of man (184.5cm tall)
Unfortunately I've see this in real life.

staircaseCutOutShape#1=
M0,0 v0.645 h0.5 v-0.382 h0.5 v-0.258 z

The second:


staircaseCutOutShape#1=
M0,0 v0.789 h0.5 v-0.532 h0.5 v-0.258 z

2.For a precise cut out you have to make some calculations

- the red lines represent cut out
- to calculate you need to divide the needed dimension to total dimension (vertically or horizontally)
For second cut out to find first v0.789 I do 300/380 and so on.

3. When use Furniture Editor and modify a furniture move the preview a little until the program take a new shoot.
In this way you avoid the dark background.

4. Here is the modified furniture

5. In future you will have to learn how to make round corners.
Good luck cool
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by gr1nch at Apr 23, 2021, 9:23:08 PM
Re: Furniture Library Editor released
Really appreciate the work you've done on this and I understand about stair heights, but the file you created when imported into my version of SH3D it still does not create an L-shaped opening, just the usual rectangular opening. If the L-shaped opening works for you, then the file is fine and it must, therefore be either:
* SH3D program (v6.5 on Linux) has a bug
* I'm doing something wrong with the furniture import (I choose "Staircase")

Posted by UbuntuBirdy at Apr 23, 2021, 9:41:36 PM
Re: Furniture Library Editor released
I can confirm, that the staircase posted by dorin does not cut a L-shaped opening (SH3D 6.5 - Ubuntu 20.04).
But the L-shaped staircases from the library do exactly what they should do - a L-shaped opening.
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 20.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by dorin at Apr 24, 2021, 7:35:09 AM
Re: Furniture Library Editor released
(I choose "Staircase")
Why?
1. I use only linux (pure debian).
2. The file I've send is a sh3f file not only a simple furniture so you don't need to chose the category.
Menu -> Furniture -> Import furniture library...
(Is next after Import furniture...)
All you need is to import furniture library not only the object.
I don't find any other reason to don't work.
Try!
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by hansmex at Apr 24, 2021, 8:01:55 AM
Re: Furniture Library Editor released
@Birdy - I downloaded the file, it installs and works as it should. Nice L-shaped cut-out.

@Dorin - Give your models the same name as the file and/or include your own name as creator. I had to try 5 stairs before I found yours.

H
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by dorin at Apr 24, 2021, 8:20:32 AM
Re: Furniture Library Editor released
@hansmex You're rigth but in this particular case is not my model.
All I've do was to modify the library made by gr1nch and was destined to him.
It was a test file and I don't want to sine others work.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by UbuntuBirdy at Apr 24, 2021, 12:19:18 PM
Re: Furniture Library Editor released
(I choose "Staircase")
Why?

Because this is what humans intuitively do! I want to import ONE piece of furniture, so I choosed "import furniture". This is totally logical behavior (it seems gr1nch did the same)!

But you're right, I should have known that a library can also have only one piece in it. I should have known as an experienced user that the .sh3f file should be imported via "import furniture library". But even my experience did not overdrive my intuitively behavior.

So, let's say this is not really a bug but a week point of SH3D. Or a point for the "to do list"...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 20.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x

Posted by dorin at Apr 24, 2021, 3:45:47 PM
Re: Furniture Library Editor released
@Birdy
You're also right BUT was my fault to don't be more specific when I post my reply; I've induce error!!
So, let's say this is not really a bug but a week point of SH3D. Or a point for the "to do list"...

Well, make a proposal.
Is not very intuitive but for me is enough.
Anyway, could be improve with our contribution.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law

Posted by gr1nch at Apr 24, 2021, 8:08:01 PM
Re: Furniture Library Editor released
Guys, that was it! Importing the file as a Library worked. I removed all previous related articles and libraries, before I did so. Now a lovely L-shaped hole in the floor. Bit odd that I can't get rid of a strip of carpet where the stairs touch the wall (despite the lower wall being raised higher than necessary and the stairs moved as close to the wall as permitted). I'm happy with the result though and look forward to getting this into my Home Assistant (automation) set up.

Thanks all!

Posted by LunaCrescent at May 30, 2021, 12:40:39 PM
Re: Furniture Library Editor released
Hello,
I have a problem with the editor, it's like it's stuck or something whenever I change anything so if I choose a different language or try to adjust the column width the top and the toolbar will be stuck. The actual rows will change with scrolling to the new view but I can't change the top with anything, I tried resizing the window and minimizing/maximizing (that just ended me up with all being black)

This is how it looks, you can see where I haven't scrolled yet (starting at line 13)


I have win 10, 64-bit, latest java update and latest version of this 1,27 although the older versions show the same problem. It used to work fine for me about a year ago (I didn't need it again till now)

Is this a program bug or something on my end?
Also, offtopic, is there any program to edit these furniture libraries in some kind of texteditor, like html with it all being just code?

Thanks in advance!

Posted by Puybaret at Jun 3, 2021, 10:29:30 AM
Re: Furniture Library Editor released
This sounds a little like bug #684 but I don't remember someone reporting it for the Furniture Library Editor. Depending on your system, try to turn off Nahimic service or MSI afterburner / Riva Turner / Discord / NVidia Experience monitoring display software.

About editing furniture libraries with a text editor, read the More editing: PluginFurnitureCatalog.properties section in this document.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by LunaCrescent at Jun 3, 2021, 3:02:59 PM
Re: Furniture Library Editor released
Hello and thanks for your help!

The main program is working fine for me (as do other programs like Blender, Sims 2 and such) it's just this one with a problem. I checked out the link to the bug and tried some things uninstalled java completely, restarted and reinstalled but that didn't change anything.
I also checked the permissions for those files and the folder everything is in and I have full access to everything (just saying since win10 loves to make problems there).
I can't find any of the things mentioned there (or by you) on my computer I checked the task processes and tried turning everything off that could be it but still no change
I have a Intel(R) HD Graphics 4600 and Realtek High Definition Audio (Realtek HD Audio-Manager) and NVIDIA DDS Utilities.
I'm not sure what else to try, if it were the main programm I could use compability mode but with a java app I can't select anything like that.

I also just realized this only happens with a library being open.
-If the program is just started everything is fine.
-If I add one or more objects its' fine.
-If I save those objects into a library the problem is back. Don't even have to reopen it, just saving it as a library breaks the program. (I also tried with unchanged libraries that I downloaded like Scopia, Klicker and Archibit giving the same problem)

The link how to edit the raw text is very useful and at least a backup method if I can't get this to run again thanks for that!

Posted by enkonyito at Aug 12, 2021, 4:29:29 AM
Re: Furniture Library Editor released
@Puybaret
For interested programmers, source code is committed in the FurnitureLibraryEditor SVN module separated from SweetHome3D one.
Furniture Library Editor project is derived from Sweet Home 3D project and uses a similar MVC architecture.
Project contains a README.TXT file with compilation directions.

Is there a javadoc to view online or download?
----------------------------------------
standby before shutdown

Posted by Puybaret at Aug 13, 2021, 2:37:27 PM
Re: Furniture Library Editor released
No but you could generate the javadoc if needed. Just look at the javadoc target in Sweet Home 3D project to see how.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by kotbasikcom at Aug 14, 2021, 11:05:28 AM
Re: Furniture Library Editor released
Good afternoon. Please tell me how to add a choice of language in the program settings. I translated the .properties files, inserted them into the program, but in the choice of language, all the same, only English and French. Thanks.

Posted by Puybaret at Aug 14, 2021, 5:04:30 PM
Re: Furniture Library Editor released
The list of languages supported by the editor is returned by the getSupportedLanguages method in FurnitureLibraryUserPreferences class. Just add the language code you want to the array returned by this method.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by kotbasikcom at Aug 14, 2021, 9:27:51 PM
Re: Furniture Library Editor released
Thank you very much

Posted by enkonyito at Aug 17, 2021, 4:36:26 AM
Re: Furniture Library Editor released
No but you could generate the javadoc if needed. Just look at the javadoc target in Sweet Home 3D project to see how.

After adding the "javadoc" target in the build.xml file of the FurnitureLibraryEditor project,
"<!-- addition start (EnkoNyito) -->
<!-- Builds FurnitureLibraryEditor-version-javadoc.zip archive that contains
the generated Javadoc of Java files found in FurnitureLibraryEditor-version-src -->
<target name="javadoc"
description="Builds FurnitureLibraryEditor-version-javadoc.zip archive">
<mkdir dir="build/javadoc/FurnitureLibraryEditor-${version}-javadoc"/>
<javadoc sourcepath="src" destdir="build/javadoc/FurnitureLibraryEditor-${version}-javadoc"
encoding="ISO-8859-1" version="true" author="true" use="true"
windowtitle="Furniture Library Editor ${version} API">
<doctitle><![CDATA[<img src='http://www.sweethome3d.com/SweetHome3DIcon.gif' width='48' height='48' alt='Sweet Home 3D' align='absmiddle'> Sweet Home 3D ${version} API]]></doctitle>
<header><![CDATA[<a href='http://www.sweethome3d.com' target='_parent'><font size='+1'>Sweet Home 3D ${version}</font></a>]]></header>
<footer><![CDATA[<a href='http://www.sweethome3d.com' target='_parent'><font size='+1'>Sweet Home 3D ${version}</font></a>]]></footer>
<bottom><![CDATA[<table align='center'><tr>
<td><a href='http://www.eteks.com' target='_parent'><img align='absmiddle' src='http://www.sweethome3d.com/images/eteks.gif' border='0'><a></td>
<td>&copy; Copyrights 2006-2021 Emmanuel PUYBARET / <a href='http://www.eteks.com' target='_parent'>eTeks</a>
<br>Distributed under <a href='http://www.gnu.org/licenses/gpl-2.0.html' target='_parent'>GNU General Public License</a></td></tr></table>]]></bottom>
<link href="http://docs.oracle.com/javase/1.5.1/docs/api/"/>
<link href="http://download.java.net/media/java3d/javadoc/1.5.3/"/>
<group title="Base classes" packages="*"/>
</javadoc>

<zip destfile="FurnitureLibraryEditor-${version}-javadoc.zip" basedir="build/javadoc"
includes="FurnitureLibraryEditor-${version}-javadoc/**" />

<!-- Clean build directory -->
<delete dir="build"/>

<echo message="FurnitureLibraryEditor-${version}-javadoc.zip ready for ftp"/>
</target>
<!-- addition end (EnkoNyito) -->"


I get this message in the console:
Buildfile: C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\build.xml

javadoc:
[mkdir] Created dir: C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\build\javadoc\FurnitureLibraryEditor-1.28-javadoc
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] javadoc: error - Illegal package name: ".project"
[javadoc] javadoc: error - Illegal package name: ".settings"
[javadoc] javadoc: warning - No source files for package build
[javadoc] javadoc: warning - No source files for package build.xml
[javadoc] Loading source files for package build...
[javadoc] javadoc: warning - No source files for package COPYING.TXT
[javadoc] Loading source files for package build.xml...
[javadoc] javadoc: warning - No source files for package LICENSE.TXT
[javadoc] Loading source files for package COPYING.TXT...
[javadoc] javadoc: warning - No source files for package README.TXT
[javadoc] Loading source files for package LICENSE.TXT...
[javadoc] javadoc: warning - No source files for package src
[javadoc] Loading source files for package README.TXT...
[javadoc] Loading source files for package src...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.io...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.model...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.swing...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.viewcontroller...
[javadoc] 2 errors
[javadoc] 6 warnings
[zip] Building zip: C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\FurnitureLibraryEditor-1.28-javadoc.zip
[delete] Deleting directory C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\build
[echo] FurnitureLibraryEditor-1.28-javadoc.zip ready for ftp

BUILD SUCCESSFUL


but the FurnitureLibraryEditor-1.28-javadoc folder is empty.
----------------------------------------
standby before shutdown

Posted by Puybaret at Aug 17, 2021, 9:36:58 AM
Re: Furniture Library Editor released
I just tried your target on my side and it worked with JDK 1.8. There were some errors because the classpath wasn't complete but FurnitureLibraryEditor-1.28-javadoc.zip was generated and usable.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by enkonyito at Aug 28, 2021, 5:00:55 AM
Re: Furniture Library Editor released
By modifying the source code, I was able to add 2 new properties (LIGHT and LIGHT_SOURCES).
This adds a 'Light' column and a 'Light sources' button.
FurnitureLibraryEditor-1.28_derived.jpg

For certain color (#44371B), this one is not taken into account in the PluginFurnitureCatalog.properties file and the console returns the message
java.lang.NumberFormatException: For input string: "FF44371B"
when the library created is imported back into the editor.
----------------------------------------
standby before shutdown

Posted by enkonyito at Aug 29, 2021, 11:34:09 PM
Re: Furniture Library Editor released
By applying a mask (0x00FFFFFF), the 'Color' button returns the correct int value that is taken into account by the FurnitureLibraryFileRecorder class for writing the LIGHT_SOURCE_COLOR property.
----------------------------------------
standby before shutdown

Posted by harbinger at Aug 30, 2021, 11:42:34 AM
Re: Furniture Library Editor released
Can you link to the version history of the FLE? I'm not finding what's new with the latest version?

Posted by Puybaret at Aug 31, 2021, 2:27:26 PM
Re: Furniture Library Editor released
There's no separated version history for the Furniture Library Editor. The version 1.28 only brought some icon changes.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by enkonyito at Sep 2, 2021, 3:12:02 AM
Re: Furniture Library Editor released
For building the FurnitureLibraryEditor-version.jar file with the furnitureLibraryEditorJarExecutable target, the Color button does not open any panel and displays this message in the command prompt:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(Unknown Source)
at com.eteks.sweethome3d.swing.SwingTools.createCustomCursor(Unknown Source)
at com.eteks.sweethome3d.swing.ColorButton$RecentColorsPanel.<init>(Unknown Source)
at com.eteks.sweethome3d.swing.ColorButton$RecentColorsPanel.<init>(Unknown Source)
at com.eteks.sweethome3d.swing.ColorButton.createColorChooser(Unknown Source)
at com.eteks.sweethome3d.swing.ColorButton.access$300(Unknown Source)
at com.eteks.sweethome3d.swing.ColorButton$2.actionPerformed(Unknown Source)
...
at com.eteks.furniturelibraryeditor.swing.ModelLightSourcesComponent$ModelLightSourcesPanel.displayView(Unknown Source)
at com.eteks.furniturelibraryeditor.swing.ModelLightSourcesComponent$1.actionPerformed(Unknown Source)
...
at com.eteks.sweethome3d.swing.SwingTools.showOptionDialog(Unknown Source)
at com.eteks.sweethome3d.swing.SwingTools.showConfirmDialog(Unknown Source)
at com.eteks.furniturelibraryeditor.swing.FurniturePanel.displayView(Unknown Source)
at com.eteks.furniturelibraryeditor.viewcontroller.FurnitureController.displayView(Unknown Source)
at com.eteks.furniturelibraryeditor.viewcontroller.FurnitureLibraryController.modifySelectedFurniture(U
nknown Source)
at com.eteks.furniturelibraryeditor.swing.FurnitureLibraryTable$3.mouseClicked(Unknown Source)


In Eclipse, the Color button opens the color modification panel.
----------------------------------------
standby before shutdown

Posted by Puybaret at Sep 4, 2021, 9:32:35 AM
Re: Furniture Library Editor released
Many files of Sweet Home 3D are excluded from the JAR executable file of the Furniture Library Editor, to build a JAR file as small as possible.
If you change the features of the editor, you'll have to check which files you should not exclude anymore. In your case, I guess you need the pipette cursor icons found in com/eteks/sweethome3d/swing/resources/cursors folder.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by enkonyito at Sep 5, 2021, 10:17:55 PM
Re: Furniture Library Editor released
Indeed, the problem is solved by including the pipette cursor icons.


Here is the derived version that allows to create lights and modify their sources.
FurnitureLibraryEditor-1.28_derived.jar
FurnitureLibraryEditor-1.28-src_derived.zip

Note: As it is not possible to attach the files because apparently their sizes exceed the maximum allowed, I put links to SourceForge.
----------------------------------------
standby before shutdown

Posted by harbinger at Sep 20, 2021, 2:39:17 PM
Re: Furniture Library Editor released
The derived version works well, but i'm leery of those icons. Yuk!

Would be great if the light editor would draw where the light source is in relation to the model, using the XYZ we enter. I love the fact that i can adjust the color right there!

Posted by enkonyito at Sep 20, 2021, 5:35:06 PM
Re: Furniture Library Editor released
@harbinger

The derived version works well, but i'm leery of those icons. Yuk!
The standard version of the FurnitureLibraryEditor-1.28 tool uses the new icons of Sweet Home 3D 6.6 .

Would be great if the light editor would draw where the light source is in relation to the model, using the XYZ we enter. I love the fact that i can adjust the color right there!
It would be interesting but this problem does not yet have a solution.
----------------------------------------
standby before shutdown

Posted by davidzhghenti at Oct 23, 2021, 8:10:02 PM
Re: Furniture Library Editor released
Good day all..
I download this program... In YouTube I saw Up panel is "Tools". near the File, EDIT, Plan, Help. in this How I add "TOOL"?
thanks,,,

Posted by Puybaret at Oct 23, 2021, 10:16:45 PM
Re: Furniture Library Editor released
I don’t know what you saw but the Furniture Library Editor is a separated application as explained in the first message of this thread.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by enkonyito at Oct 27, 2021, 11:11:01 PM
Re: Furniture Library Editor released
FurnitureLibraryEditor-1.28.1_derived

  • added light sources 3D preview (transparent light, opaque source)


executable jar
source code
----------------------------------------
standby before shutdown

Posted by Andrew_Somovo at Dec 1, 2021, 5:57:43 AM
Re: Furniture Library Editor released
Hello! I would really like it to be possible to edit and save the price in the FurnitureLibraryEditor, so that when importing in the library, the price is linked to the model! Is there a way to do this? Our company is ready to pay for it, how much will it cost?

Posted by Puybaret at Dec 1, 2021, 10:24:56 AM
Re: Furniture Library Editor released
Hello Andrew,

You'll find a version with the additional Price / VAT / Resizable / Texturable fields at
https://www.sweethome3d.com/downloads/FurnitureLibraryEditorWithPrice-1.28.jar

I also added Resizable and Texturable check boxes which prevents from resizing an object and changing its color / texture in Sweet Home 3D, when unchecked. If you want to preset the price of an object, I guess it's for real products which can't be resized or colored, right? I would be happy to know your actual use case.

The management of these fields was already programmed but disabled in the default version.
If you like it, I'll add a Price option in the preferences of a future version of the Furniture Library Editor to enable them and avoid keeping this special version.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Andrew_Somovo at Dec 1, 2021, 11:16:47 AM
Re: Furniture Library Editor released
Emmanuel, that's Great! Thank you very much, I will test it now!

Posted by Andrew_Somovo at Dec 1, 2021, 12:00:38 PM
Re: Furniture Library Editor released
Emmanuel, everything works, you are God! How much money does it cost, where to transfer it?

Posted by Puybaret at Dec 1, 2021, 1:18:56 PM
Re: Furniture Library Editor released
It's great that you like it smile
You can make a donation if you want.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer