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 | 6 7 8 9 10 11 12 13 14 15 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3486273 times and has 152 replies Next Thread
kelleychambers
Newbie



United States
Joined: May 22, 2016
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

I
It includes also a bug fix that prevents crashes under macOS 10.14+ when the plug-in is used with the sandboxed version distributed in the Mac App Store.


Thank you for providing an update although, under 10.14.6 (MacOS), it's still beach balling, lagging and crashing. Can't even start a new file without the app stalling/beachballing then crashing. Happens under the SourceForge and the Mac App Store versions. Want my logs?
[May 9, 2020, 1:48:36 AM] 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

Quite strangely, the main difficulty for you at the beginning might be to find how to test these HTML files on your computer, because years after years, almost all browsers except Firefox (until now) don't allow to read local files by default, for security reasons!!! Of course, deploying the html files on a web server or removing security on local files will work, so be patient, success is never too far...



Yes, I cannot figure out how to use this to create an .html file with my SH3D model. I created the .zip file and have the lib/ folder, viewHome.html and viewHomeInOverlay.html.

I can't find anything to read or any way to turn these into a file that is useable by my WordPress website.

Please help!

Thanks
[May 11, 2020, 10:10: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 
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, answered to you mail.
Using 3DJSViewer instead, you do not need any convertions of your sh3d

https://sourceforge.net/projects/sweethome3d/...JSViewer-6.3.zip/download
[May 12, 2020, 8:54:56 AM] 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

Hey Joe!

Perhaps this one can solve your problem: https://wordpress.org/plugins/embed-sweethome3d/
----------------------------------------
Pascal

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

Pascal,

Thanks for the suggestion. I had already tried that, and had two issues.

First, I was hoping for a url to link to instead of short code. For example, Daniel's model (https://woodmouse.ru/takedom/us/2i.html) shows up perfectly with the nice choice of aerial and virtual visitor views, and I thought that should be easy. (NOTHING's easy!!!)

Second, when I tried the embed-sweethome3d plugin and inserted the short code, I got the message: "Error: ReferenceError Ground3D is not defined" at run time.

I now have also tried the SweetHome3DJSViewer-6.3 but can't get that to do anything for me either. I admit I'm lost at Step 4 of the ReadMe instructions. And not optimistic that I can do Steps 5 and 6 either.

I'm now using the Exported Homes Manager (http://www.sweethome3d.com/exportHomes.jsp) but my users get lost in SweetHome rather than staying focused on the models I want them to see in just a plain frame.
[May 12, 2020, 7:30:29 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

I'm so sorry to tell you, but you need some basic HTML knowledge (or someone who's willing to do it for you) to do this. It's absolutely not complicated, but you have to read some basic tutorials or look for some how-to clips on youtube.
----------------------------------------
Pascal

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

Daniel,

Thank you very much for your reply. However, I tried using the SweetHome3DJSViewer-6.3 but can't get that to do anything for me. I admit I'm lost at Step 4 of the ReadMe instructions. And not optimistic that I can do Steps 5 and 6 either.

4. Edit the "SweetHome3DJSViewer.html" or "SweetHome3DJSViewerInOverlay.html" file
and replace the "default.sh3d" viewed document by the file name of your SH3D file.
for example, if the URL of your SH3D file is "myhome.sh3d",
you should obtain the following line in "SweetHome3DJSViewer.html":
var homeUrl = "myhome.sh3d";
and the following line in "SweetHome3DJSViewerInOverlay.html":
<button onclick='viewHomeInOverlay("myhome.sh3d",

I know Puybaret speaks French and you speak Russian, so I REALLY appreciate staying with my limited English (and limited coding skills). I don't know where/what "you should obtain the following line" means. My model name is Origin1900.sh3d so I tried replacing SweetHome3DJSViewer.html with Origin1900.html. But that's not right, and I have no more ideas what to do. Sorry I am so bad at this, but I really want it to work, and feel I am pretty close.

And when I used your model (https://woodmouse.ru/takedom/us/2i.html) it shows up perfectly with the nice choice of aerial and virtual visitor views, and in a nice clean plain frame, with no SweetHome3D menus or distractions.

Thanks for any ideas, to either get the 3DJSViewer to work or how to convert my .sh3d files/models to web pages like you did.

Thanks!

Joe



Thanks for the suggestion. I had already tried that, and had two issues.

First, I was hoping for a url to link to instead of short code. For example, Daniel's model (https://woodmouse.ru/takedom/us/2i.html) shows up perfectly with the nice choice of aerial and virtual visitor views, and I thought that should be easy. (NOTHING's easy!!!)

Second, when I tried the embed-sweethome3d plugin and inserted the short code, I got the message: "Error: ReferenceError Ground3D is not defined" at run time.

I now have also tried
I'm now using the Exported Homes Manager (http://www.sweethome3d.com/exportHomes.jsp) but my users get lost in SweetHome rather than staying focused on the models I want them to see in just a plain frame.
[May 12, 2020, 8:13:02 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

Daniel,

Thank you very much for your reply. However, I tried using the SweetHome3DJSViewer-6.3 but can't get that to do anything for me. I admit I'm lost at Step 4 of the ReadMe instructions. And not optimistic that I can do Steps 5 and 6 either.

4. Edit the "SweetHome3DJSViewer.html" or "SweetHome3DJSViewerInOverlay.html" file
and replace the "default.sh3d" viewed document by the file name of your SH3D file.
for example, if the URL of your SH3D file is "myhome.sh3d",
you should obtain the following line in "SweetHome3DJSViewer.html":
var homeUrl = "myhome.sh3d";
and the following line in "SweetHome3DJSViewerInOverlay.html":
<button onclick='viewHomeInOverlay("myhome.sh3d",

I know Puybaret speaks French and you speak Russian, so I REALLY appreciate staying with my limited English (and limited coding skills). I don't know where/what "you should obtain the following line" means. My model name is Origin1900.sh3d so I tried replacing SweetHome3DJSViewer.html with Origin1900.html. But that's not right, and I have no more ideas what to do. Sorry I am so bad at this, but I really want it to work, and feel I am pretty close.

And when I used your model (https://woodmouse.ru/takedom/us/2i.html) it shows up perfectly with the nice choice of aerial and virtual visitor views, and in a nice clean plain frame, with no SweetHome3D menus or distractions.

Thanks for any ideas, to either get the 3DJSViewer to work or how to convert my .sh3d files/models to web pages like you did.

Thanks!

Joe
[May 12, 2020, 8:15:09 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

First let's test if the script works for you: rename your Origin1900.sh3d to default.sh3d and then open SweetHome3DJSViewer.html in your browser.
If this works, we can guide you through step 4,5 and 6.
----------------------------------------
Pascal

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

Pascal,

Thank you so much for trying to help me! I'm a pilot and just watched a video of a passenger in an airplane get instructions how to land the plane from Air Traffic Control after the pilot died shortly after take-off. He made, and so can we!

There is already a file named default.sh3d that opens up a small model when double clicking, but did not open up when double clicking on SweetHome3DJSViewer.html .

I renamed the default.sh3d to olddefault.sh3d, then renamed Origin1900.sh3d to default.sh3d (all files are in the SweetHome3DJSViewer-6.3 folder).

When I double click the "new" default.sh3d my model opens up fine. When I double click on SweetHome3DJSViewer I get the message: "Error: Error 0 while requesting default.sh3d"

Thanks, I've got plenty of fuel and the skies are clear.

Joe
[May 12, 2020, 9:46:50 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 | 6 7 8 9 10 11 12 13 14 15 | 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