Print at Jan 21, 2026, 8:11:57 AM View all posts in this thread on one page
Posted by kingoftailor at Jun 4, 2022, 9:17:49 AM
Saving by button click and reload online 3djs
I would like to save and reload the sh3d file by saving the file with the click of a button.

The latest version of 3djs online is running on my own server (https://megveszlak.hu/alaprajz-tervezo)

When starts the program, I want to offer a list from which to choose whether to load an empty sh3d or a previously saved one.

Similar to the free online of sweethome (after logging in).

Thanks, Gábor

Posted by Puybaret at Aug 12, 2022, 7:52:26 PM
Re: Saving by button click and reload online 3djs
You’ll have to manage a list of saved files for each user on your server.
Therefore it depends on how you manage the profile of your users on your server.
Here, these profiles and user’s login depends on the database bound to this forum. Not a very universal solution, the reason why I didn’t publish its source code on server side.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator