SweetHome3DJS model not saved in sh3d file
by bernard_s » Sat Oct 29, 2022 11:43 am
Hi
I have a problem where the online version does not store models chosen correctly. If I add a desk from the furniture list to the plan, when I download and examine the unzipped sh3d file, the object file is not present. In addition, in Home.xml, the model attribute points to a url which contains the domain name of the server. eg
model=jar:
http://18.135.111.130:8080/SweetHome3DJ ... !/desk.obj'
No ContentDigests file with SHA-1 key exists either. The problem is this sh3d file is no longer portable. If I try to open it in the desktop version, the desk cannot be referenced and shows as a red box instead.
I compiled (successfully) and deployed v7.0.2 on tomcat. I note that if I use the hosted version on
https://www.sweethome3d.com/SweetHome3D ... anager.jsp I can add the desk, download the sh3d file and see the link is correct and a ContentDigests file with SHA-1 key correctly created.
Using Debian 10, and OpenJDK 11. I believe the same applies
to 6.6.4 which I was using and where I found this issue.
Any help gratefull received.