Export to HTML5 plug-in

This topic has been viewed 4959060 times and has 152 replies
Thread status: Active
Test the features and bug fixes of future versions [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
Gildaniel
Posts: 135
Joined: Fri Aug 11, 2017 10:57 am
Country: Russia

Re: Export to HTML5 plug-in

Post by Gildaniel »

Here are your files placed on ftpImage
User avatar
Gildaniel
Posts: 135
Joined: Fri Aug 11, 2017 10:57 am
Country: Russia

Re: Export to HTML5 plug-in

Post by Gildaniel »

To show another file with this this html, you need to change not only html name, but also name inside the html, using any text editor

Image
alexsmol32
Posts: 1
Joined: Fri Aug 16, 2019 9:55 am
Country: Russia

Re: Export to HTML5 plug-in

Post by alexsmol32 »

Hi, everybody!
1. I'm trying to use SweetHome3DJSViewer with default all and find error. So i truing to use suggestion about chrome reading from file and it is still error 0 while requesting default.sh3d
2. Also i trying to use honomobo.html with presented recommendation and the result is same error.
3. At last i trying to use export tools from sweet home and after unzipping file i use viewhome and find Error: Error End of data reached (data length = 0, asked index = 4). Corrupted zip ?
for all of this i had try to use in local machine not on web? because some times it is useful to send files for local using
User avatar
Gildaniel
Posts: 135
Joined: Fri Aug 11, 2017 10:57 am
Country: Russia

Re: Export to HTML5 plug-in

Post by Gildaniel »

Dear Emmanuel!

Cannot understand what the problem with velocity of this project.
It's very light weight, only 1,5Mb, but react on level change very slow, and it's only project my smartphone is impossible to play through web-page (just closes browser)

https://woodmouse.ru/takedom/nb/2i.html

The file is https://woodmouse.ru/takedom/nb/nb.sh3d
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Export to HTML5 plug-in

Post by Puybaret »

Gildaniel, Sweet Home 3D JS is slow when changing levels because it recomputes all door and window holes in the walls, and the computing of these holes is much slower with JavaScript than with Java.
But there's surely some place to optimize this process, even if it's not simple.

I released version 1.6 of the plug-in today to include the improvements available in the new Sweet Home 3D JS 6.4 Viewer, like a better management of superimposed transparent objects and a fix for a bug which prevented to pinch under iOS.
I also included some comments in the [font=courier new]viewHome.html[/font] exported file to explain how to simply display the viewer in full screen.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Gildaniel
Posts: 135
Joined: Fri Aug 11, 2017 10:57 am
Country: Russia

Re: Export to HTML5 plug-in

Post by Gildaniel »

Dear Emmanuel, thank you!
With new viewer layers seems to change faster on desktop, but https://woodmouse.ru/takedom/nb/2i.html still crashes mobile Chrome

Did't find viewHome.html in the archive
gr8
Posts: 2
Joined: Fri Mar 05, 2021 4:30 pm

Re: Export to HTML5 plug-in

Post by gr8 »

Hi

I'm new to Sweet Home 3D.

I bought Sweet Home 3D for my Mac and created our new flat.
Then I installed the 'export to HTML 5' plugin and created the zip file of the flat.
On my Mac browser the display of the flat works fine, after I allowed local files access...
Now I try the same on my iPad but nothing is shown.... It's just a white page and the 'view home' button.

I would be grateful for some help.
Thanks.
[email protected]
Posts: 1
Joined: Fri Mar 05, 2021 2:28 pm

Re: Export to HTML5 plug-in

Post by [email protected] »

BTW I try to open viewHomeInOverlay.html on my iPad in Safari. If I try chrome I get this error: https://ibb.co/4PX5D1G
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Export to HTML5 plug-in

Post by Puybaret »

Similar error: I don’t think you can open a local HTML file on an iPad, moreover if it references other local files. You’ll have to run a HTTP server on your computer or host the HTML files on a server somewhere. If it’s too complicated, try Exported homes manager.
Emmanuel Puybaret, Sweet Home 3D creator
gr8
Posts: 2
Joined: Fri Mar 05, 2021 4:30 pm

Re: Export to HTML5 plug-in

Post by gr8 »

Perfect, thank you
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest