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

Sweet Home 3D Forum



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

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

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 creator
[Aug 17, 2021, 9:36:58 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
EnkoNyito
[Aug 28, 2021, 5:00:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
EnkoNyito
[Aug 29, 2021, 11:34:09 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
harbinger
Member
Member's Avatar

US
Joined: Feb 27, 2014
Post Count: 87
Status: Offline
Reply to this Post  Reply with Quote 
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?
[Aug 30, 2021, 11:42:34 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

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

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 creator
[Aug 31, 2021, 2:27:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
EnkoNyito
----------------------------------------
[Edit 1 times, last edit by enkonyito at Sep 3, 2021, 4:49:58 PM]
[Sep 2, 2021, 3:12:02 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

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

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 creator
[Sep 4, 2021, 9:32:35 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
EnkoNyito
----------------------------------------
[Edit 2 times, last edit by enkonyito at Sep 5, 2021, 10:53:35 PM]
[Sep 5, 2021, 10:17:55 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
harbinger
Member
Member's Avatar

US
Joined: Feb 27, 2014
Post Count: 87
Status: Offline
Reply to this Post  Reply with Quote 
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!
[Sep 20, 2021, 2:39:17 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
EnkoNyito
[Sep 20, 2021, 5:35:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 252   Pages: 26   [ Previous Page | 12 13 14 15 16 17 18 19 20 21 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

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