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: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4284 times and has 6 replies Next Thread
binoc
Newbie




Joined: Sep 20, 2012
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
biggrin default.sh3d file not found

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 ?
[Sep 20, 2012, 5:05:30 PM] 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: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: default.sh3d file not found

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
[Sep 21, 2012, 12:59:10 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
binoc
Newbie




Joined: Sep 20, 2012
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: default.sh3d file not found

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)
[Sep 21, 2012, 2:54:58 PM] 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: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: default.sh3d file not found

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
[Sep 21, 2012, 3:38:31 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
binoc
Newbie




Joined: Sep 20, 2012
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: default.sh3d file not found

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 !
[Sep 21, 2012, 5:03:49 PM] 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: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: default.sh3d file not found

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
[Sep 21, 2012, 5:26:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
binoc
Newbie




Joined: Sep 20, 2012
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: default.sh3d file not found

Thank you for the tips : I will start my exploration by SweetHome3D ... on monday !-)
Have a nice week-end
[Sep 21, 2012, 5:38:18 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ 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