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: 153
Posts: 153   Pages: 16   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3486409 times and has 152 replies Next Thread
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Which browser are you using?
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[May 12, 2020, 9:54: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 
JoeSherer4
Newbie



United States
Joined: Apr 28, 2020
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Chrome Version 81.0.4044.138
[May 12, 2020, 10:32:57 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

If your OS is Windows try:

  • Close down your Chrome browser (make sure you close all instances if you have multiple windows open)
  • Go to Run and type the following command: chrome.exe --allow-file-access-from-file
  • Hit enter

For Mac users:

  • Run Terminal.app Type "open /Applications/Google\ Chrome.app --args --allow-file-access-from-file", no quotes.

This allows access to local files. But I'm not sure if the error is caused because this is disabled...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[May 12, 2020, 10:42: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 
JoeSherer4
Newbie



United States
Joined: Apr 28, 2020
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

I'm on a Mac and ran Terminal with the phrase: open /Applications/Google\ Chrome.app --args --allow-file-access-from-file

I did it both before and after closing Chrome.

When then double clicking on SweetHome3DJSViewer.html I get the same message: Error: Error 0 while requesting default.sh3d
[May 12, 2020, 11:12:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gildaniel
Advanced Member
Member's Avatar

Russia
Joined: Aug 11, 2017
Post Count: 135
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Joe, just download and use file https://woodmouse.ru/test/honomobo.html instead of SweetHome3DJSViewer.html, it scales your sh3d to browser window.

Before make sure you have appropriate js files unpacked from SweetHome3DJSViewer archive to your ftp folder



That's all you need to make it work
[May 13, 2020, 5:19:27 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gildaniel
Advanced Member
Member's Avatar

Russia
Joined: Aug 11, 2017
Post Count: 135
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Here are your files placed on ftp
[May 13, 2020, 5:26:22 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gildaniel
Advanced Member
Member's Avatar

Russia
Joined: Aug 11, 2017
Post Count: 135
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

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


[May 13, 2020, 6:25:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
alexsmol32
Newbie



Russia
Joined: Aug 16, 2019
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

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
[May 23, 2020, 11:56:21 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gildaniel
Advanced Member
Member's Avatar

Russia
Joined: Aug 11, 2017
Post Count: 135
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

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
[Jun 3, 2020, 6:20:27 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: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

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 viewHome.html exported file to explain how to simply display the viewer in full screen.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jul 22, 2020, 5:02: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 
Posts: 153   Pages: 16   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ 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