Print at Aug 10, 2020, 12:10:09 PM

Posted by kbios at Sep 11, 2011, 6:45:38 PM
Problem with DAE model
Hi, the following is with sweethome3d 3.3 on ubuntu lucid 32 bit, java 1.6.0_26.
I'm trying to use the door at
http://sketchup.google.com/3dwarehouse/detail...4ccf1ce0968dae64bdf69b2ca
in my project. If I import it through the import furniture wizard, everything works fine, but I do not get the "occupation arch" in the 2d view (as expected). So instead I added it to Furniture.jar, setting the parameters as follows:

name#66=Open wood door
category#66=Doors and windows
icon#66=/com/eteks/sweethome3d/io/resources/openwooddoor.png
model#66=/com/eteks/sweethome3d/io/resources/openwooddoor/models/openwooddoor.dae
width#66=91.5
depth#66=68
height#66=208.5
movable#66=false
doorOrWindow#66=true
doorOrWindowWallThickness#66=7.5
doorOrWindowWallDistance#66=1
doorOrWindowSashXAxis#66=5
doorOrWindowSashYAxis#66=8.5
doorOrWindowSashWidth#66=81.5
doorOrWindowSashStartAngle#66=0
doorOrWindowSashEndAngle#66=-90

This way I can import the model as if it was a default one and everything works as expected (including the occupation arch and photo rendering).
BUT, if I save the project, exit from sweethome3d and reopen it, the door loses its texture (it is all white), both in the 3d view and in the photo rendering, and the only thing I can do to get it back is to delete it and add it again.

Any help? Thanks