Download

Online

Gallery

Blog

  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: 141
Posts: 141   Pages: 15   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1667107 times and has 140 replies Next Thread
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

Hello!
This is a great tool, thank you very much!

I have some problem in HTML-view, could you please help me
1. Choose levels box in aerial view is inactive, so I always can see only whole house, no way to see only fist floor. I've even copied all the script settings from your example at http://www.sweethome3d.com/blog/2017/09/06/sweet_home_3d_5_5.html, but no way

Inactive box: http://regard-house.ru/3dplan/test/Tutorial.html

The second problem (may be it all the one case): I cannot use for html-view .sh3d file like you do ("viewerCanvas2", "SweetHome3DExample7.sh3d"), I can use only exported zip-file (("viewerCanvas2", "SweetHome3DExample7.sh3d",)), otherwise I get "Error: ReferenceError Ground3D is not defined"

ReferenceError: http://regard-house.ru/3dplan/test/Tutorial-sh3d.html

Thank you!
Yours, Daniel
[Oct 9, 2017, 9:53:42 AM] 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Until version 1.2 of the Export to HTML5 plug-in, the levels drop down list was active only in virtual visit mode on purpose.
It's not the case in the version 1.3 that was released tonight. This new version supports also rotation of objects around an horizontal axis, and other new features proposed in Sweet Home 3D 5.5.

Note that this plug-in is less useful now since it's possible to view a sh3d file directly with Sweet Home 3D JS Viewer. Both viewers use the same JavaScript code available in SweetHome3DJS project. The additional processing performed by the Export to HTML5 plug-in reduces the home data handled by the viewer by removing plan icons and reducing the textures larger than 256x256 pixels.

For those interested, I also updated Export to XML/OBJ plug-in to version 1.3.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Oct 10, 2017, 10:19:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
fsaintl
Newbie



United States
Joined: Oct 12, 2017
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

I tried to install this Plug-in and then restarted SweetHome, but the option never appeared under the TOOL menu. I tried to re-install, and got the message that it was already installed. If I go to "About Sweet Home 3D" and click on "Libraries", it is not listed in the Plug-Ins. I downloaded version 1.3 of the tool, with Sweet home 5.3.1 with OSX 10.11.6 . It's strange, there are no error messages, and it completes the install successfully with the message about it being available after the next launch. I'm using the Viewer for now, but thought you might want to know.
[Oct 12, 2017, 4:24:51 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

The version 1.3 of the plug-in requires Sweet Home 3D 5.5.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Oct 14, 2017, 6:24:48 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

I just released the version 1.3.1 of Export to HTML5 plug-in and the version 5.5.2 of Sweet Home 3D JS Viewer to fix an issue that could prevent viewing SH3D files containing 3DS or DAE files.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Oct 20, 2017, 5:36: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 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

..almost all browsers except Firefox (until now) don't allow to read local files by default, for security reasons!!!
In case anyone wondered, off-line view still works with the apparently re-written Firefox Quantum. Alas, I have yet to find any other browser (except Seamonkey) that will display a test website with the html5 plugin. ok
[Nov 23, 2017, 8:13:03 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dubbyconqueror
Newbie



Germany
Joined: Nov 23, 2017
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Thank you so much for providing the HTML5 plugin! Would you mind uploading the unminified sources to Github/Gitlab/Bitbucket etc.? That way other people might contribute to the development more easily.
[Nov 23, 2017, 11:20:47 AM] 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

I'm happy you like it smile
You can generate the unminified files with the generatedLibraries Ant target of the build.xml file available in the source code of SweetHome3DJS. I won't copy these files in another repository myself, because this would require to update it too and managing the release of each version in one place is already a quite heavy task.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Nov 23, 2017, 1:05:04 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
qythyx
Member



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

Hi,

I tried to use your Blender import script, but it failed. The error was that it couldn't find a file. I'm guessing it was because the file has a space in the name. The error message said it couldn't find "Grand%20Piano.dae.obj". That file does exist, but %20 is a space instead.

Any ideas?
[Nov 27, 2017, 12:29:16 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

I'm not the author of the Blender import script, but when you know that the 3D model of a piece of furniture is stored in its model attribute, it shouldn't be difficult to find the place in the script where the path of a model is used and adapt its urlencoded notation to the one required by Blender. Then don't forge to contribute your fix in the https://github.com/lcgamboa/sh3dtoblender project smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Nov 28, 2017, 12:47:39 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: 141   Pages: 15   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | 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 2006-2024 eTeks - All rights reserved