Print at Dec 21, 2025, 6:36:46 PM
Posts: 252   Pages: 26   [ Previous Page | 11 12 13 14 15 16 17 18 19 20 | Next Page ]
View all posts in this thread on one page
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?
----------------------------------------
EnkoNyito

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 creator

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 creator

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.
----------------------------------------
EnkoNyito

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 creator

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.
----------------------------------------
EnkoNyito

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.
----------------------------------------
EnkoNyito

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?

Posts: 252   Pages: 26   [ Previous Page | 11 12 13 14 15 16 17 18 19 20 | Next Page ]