biggrin default.sh3d file not found

This topic has been viewed 4469 times and has 6 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
binoc
Posts: 4
Joined: Thu Sep 20, 2012 4:11 pm

default.sh3d file not found

Post by binoc »

Hi, and thank you for your very interesting project !

I have encountered somes issues with the Eclipse run configuration (no j3dcore-ogl-chk in java.library.pat) I have finaly fixed when I write the complete path of the /lib in the VM option :
-Djava.ext.dirs=C:/Users/MAF/Documents/SweetHome3D-3.6-src/lib;C:/Users/MAF/Documents/SweetHome3D-3.6-src/lib/windows/i386

But now, I'm stopped by a new problems : "impossible to open the C:/Users/MAF/Documents/SweetHome3D-3.6-src/classes/default.sh3d" ...

Any suggestion ?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: default.sh3d file not found

Post by Puybaret »

The only place where default.sh3d file is expected, is within Sweet Home 3D Viewer. Do you use that program? Did you read the README.TXT file coming with it?
Emmanuel Puybaret, Sweet Home 3D creator
binoc
Posts: 4
Joined: Thu Sep 20, 2012 4:11 pm

Re: default.sh3d file not found

Post by binoc »

Hi, Thank U for your response !-)
Of course I reed the README.TXT !
I have followed the instructions : import the src package into an Eclipse project, then filled the VM arguments with the relative path to the lib & lib/windows/i386.
And I try to launch either the 3D applet or the viewer from the run menu but it doesn't works in both case ...
What do you mean by "is within Sweet Home 3D" ? From where exactly the program try to load this default file ?
(I use a Java 7 JDK under Windows 7 32bits)
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: default.sh3d file not found

Post by Puybaret »

What do you mean by "is within Sweet Home 3D" ?
within "Sweet Home 3D Viewer" applet and nowhere else. It's the file name of the document this applet is trying to open by default. Why are you trying to run the applet from Eclipse?
From where exactly the program try to load this default file ?
It's in ViewerHelper class which is actually used only in Sweet Home 3D Viewer applet.
Emmanuel Puybaret, Sweet Home 3D creator
binoc
Posts: 4
Joined: Thu Sep 20, 2012 4:11 pm

Re: default.sh3d file not found

Post by binoc »

Why are you trying to run the applet from Eclipse??
Because I would like to explore a good example of Java 3D implementation !
Thank you for the link to ViewerHelper : I will explore it !
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: default.sh3d file not found

Post by Puybaret »

Because I would like to explore a good example of Java 3D implementation !
Then run com.eteks.sweethome3d.SweetHome3D class from eclipse. It will be easier to follow because applets with Java 3D are more complex to run than applications, as they need a customized class loader to access Java 3D DLLs.
Emmanuel Puybaret, Sweet Home 3D creator
binoc
Posts: 4
Joined: Thu Sep 20, 2012 4:11 pm

Re: default.sh3d file not found

Post by binoc »

Thank you for the tips : I will start my exploration by SweetHome3D ... on monday !-)
Have a nice week-end
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests