Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status:
Offline
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
United States
Joined: Apr 28, 2020
Post Count: 12
Status:
Offline
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.
United States
Joined: Apr 28, 2020
Post Count: 12
Status:
Offline
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.
Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status:
Offline
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
United States
Joined: Apr 28, 2020
Post Count: 12
Status:
Offline
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.