Serving a SweetHome file
View the result: https://hkienle.github.io/ose-sh2/wall48-9ft-left_corner/viewHome.html
- Install Export to HTML5 plug-in: http://www.sweethome3d.com/support/forum/viewthread_thread,6708
- Export model in SweetHome: Tools > Export to HTML5. This creates a ZIP file.
- Create a GitHub repository (like this one).
- Upload the contents of the unzipped ZIP file to the GitHub repository. You may want to create a folder that holds the files: For example: https://github.com/hkienle/ose-sh2/tree/master/wall48-9ft-left_corner
- Set up GitHube Pages: https://guides.github.com/features/pages/
- Got to Settings > Pages
- Branch:
master
- Folder:
/ (root)
- URL: https://USERNAME.github.io/REPOSITORYNAME/PATH/viewHome.html
Embedding with iframe
The served file can be embedded in and iframe. This is demonstrated with the index.html
file. View the result: https://hkienle.github.io/ose-sh2/