Print at Dec 19, 2025, 5:33:44 AM

Posted by Puybaret at Feb 8, 2022, 5:34:44 PM
Re: Export to HTML5 plug-in
You can modify the generated HTML file to add all the scripts you want.
The API of the JavaScript code exported from this plug-in is a subpart of Sweet Home 3D JS API. HomePreviewComponent object returned by viewHome function will let you access to all the data of the loaded home, with the ability to hide furniture objects with their setVisible method.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator