The SH3D file failed to load on the web using Sweet Home 3D Viewer

This topic has been viewed 9198 times and has 19 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
yizhou
Posts: 13
Joined: Sat Apr 16, 2011 4:23 pm

The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by yizhou »

Hi all, while open the file "SweetHome3DViewer.html" in the web browser to check if it works correctly, the message like this:正在加载家具模型...,but the SH3D file wasn't loaded successfully in the past 12 hours. What can I do? Thanks a lot~
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by Puybaret »

I don't know if your problem is bound to the same problem as the one mentioned in this thread, but the version 3.1 of the viewer is buggy. Please, use the previous version 3.0, until the version 3.2 is released.
By the way, a translation of 正在加载家具模型 (even if partially accurate) would be helpful. [;)]
Emmanuel Puybaret, Sweet Home 3D creator
yizhou
Posts: 13
Joined: Sat Apr 16, 2011 4:23 pm

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by yizhou »

Thanks a lot Puybaret. Everything is fine now.
BTW, I want to edit the she3d file online, what can I do?
yizhou
Posts: 13
Joined: Sat Apr 16, 2011 4:23 pm

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by yizhou »

Ping...
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by Puybaret »

Editing the SH3D file is more complicate, because you have to decide how to load the file from the server, how to save it and who should be allowed to do these operations (that's why I don't distribute a compiled version Sweet Home 3D applet until now).
I can give you some hints but if you have no knowledge about web server programming technologies like PHP, JSP or ASP, this is going to be very difficult for you.
Emmanuel Puybaret, Sweet Home 3D creator
yizhou
Posts: 13
Joined: Sat Apr 16, 2011 4:23 pm

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by yizhou »

Hi Puybaret, thanks for your response~ Hmm,I think I have knowledge about web server programming technologies like PHP, JSP and ASP,so could you give me some hints? thanks again~
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by Puybaret »

You should download Sweet Home 3D source code, read its README.TXT file, run applet Ant target, test SweetHome3DApplet.html script, adapt readHome.php and writeHome.php files to your needs after reading SweetHome3DApplet parameters.
Reading also this thread and that one should be useful.
Emmanuel Puybaret, Sweet Home 3D creator
yizhou
Posts: 13
Joined: Sat Apr 16, 2011 4:23 pm

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by yizhou »

Thanks a lot Puybaret. Will do.
yizhou
Posts: 13
Joined: Sat Apr 16, 2011 4:23 pm

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by yizhou »

Hi Puybaret, while building Sweet Home 3D(http://prdownloads.sourceforge.net/swee ... .1-src.zip) with Ant,here no SweetHome3DApplet.jar in deploy/lib but SweetHome3D.jar. While testing SweetHome3DApplet.html, the error message like this:can't find class com.eteks.sweethome3d.applet.SweetHome3DViewer.Look like the class "applet" is missing in SweetHome3D.jar,right?

Thanks a lot~
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: The SH3D file failed to load on the web using Sweet Home 3D Viewer

Post by Puybaret »

You have to run applet Ant target to build SweetHome3DApplet.jar file, for example with the command:

Code: Select all

ant applet
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests