Download

Online

Gallery

Blog

  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: 166
Posts: 166   Pages: 17   [ Previous Page | 8 9 10 11 12 13 14 15 16 17 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 758929 times and has 165 replies Next Thread
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 550
Status: Offline
Reply to this Post  Reply with Quote 
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?
----------------------------------------
EnkoNyito
[Aug 12, 2021, 4:29:29 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: 7841
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 13, 2021, 2:37:27 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
kotbasikcom
Newbie



RF
Joined: Feb 1, 2019
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Aug 14, 2021, 11:05:28 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 7841
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 14, 2021, 5:04:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
kotbasikcom
Newbie



RF
Joined: Feb 1, 2019
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Furniture Library Editor released

Thank you very much
[Aug 14, 2021, 9:27:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 550
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
EnkoNyito
[Aug 17, 2021, 4:36:26 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: 7841
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 developer
[Aug 17, 2021, 9:36:58 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 550
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
Member's Avatar


Joined: May 28, 2015
Post Count: 550
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    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 166   Pages: 17   [ Previous Page | 8 9 10 11 12 13 14 15 16 17 | 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 2006-2021 eTeks - All rights reserved