Search found 5 matches

by Sweeto
Fri Nov 27, 2015 5:02 pm
Forum: Developers
Topic: JAVA: How to change the default furniture catalog?
Replies: 7
Views: 10154

Re: JAVA: How to change the default furniture catalog?

Hello digitaltrails,

thank you for your answer.

I have watched this video to understand how to build a project with ant: https://www.youtube.com/watch?v=qOhfl9gayB8

The options for an ant build are in the "build.xml"-file, which is located in this folder:

Path_To_Sweet_Home_3D\SweetHome3D-5.1 ...
by Sweeto
Thu Nov 26, 2015 2:55 pm
Forum: Developers
Topic: JAVA: How to change the default furniture catalog?
Replies: 7
Views: 10154

Re: JAVA: How to change the default furniture catalog?

At first I have added the obj- and png-files to this folder:

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\src\com\eteks\sweethome3d\io\resources

And edited the language property file and the normal property file (see above) in:

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\src\com\eteks\sweethome3d ...
by Sweeto
Thu Nov 26, 2015 1:34 pm
Forum: Developers
Topic: JAVA: How to change the default furniture catalog?
Replies: 7
Views: 10154

Re: JAVA: How to change the default furniture catalog?

The function readDefaultFurnitureCatalogs in Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\src\com\eteks\sweethome3d\io\DefaultFurnitureCatalog.java reads the default furniture catalog, the contributed furniture catalog and the additional furniture catalog:

private void readDefaultFurnitureCatalogs ...
by Sweeto
Thu Nov 26, 2015 10:00 am
Forum: Developers
Topic: JAVA: How to change the default furniture catalog?
Replies: 7
Views: 10154

Re: JAVA: How to change the default furniture catalog?

Ok, I've finally found the right file, where I can set the path of the default furniture files. Apparently all furniture files, that have been added in this file, have the extension ".obj" (exception: the light sources are also categorized as furniture, but they don't have an obj-file).

1. All ...
by Sweeto
Tue Nov 24, 2015 4:41 pm
Forum: Developers
Topic: JAVA: How to change the default furniture catalog?
Replies: 7
Views: 10154

JAVA: How to change the default furniture catalog?

Hello guys,

I want to modify the default folders and furniture, that are displayed on startup. I have set up Sweet Home 3D in Eclipse. I am fairly new to Java, I must confess.

What I have found so far is this post: http://www.sweethome3d.com/support/forum/viewthread_thread,2422#10982 , but it ...