Print at Aug 10, 2020, 12:22:08 PM

Posted by Puybaret at Sep 12, 2011, 7:08:38 AM
Re: Problem with DAE model
You should make two changes:

  • add the following line to the properties file:
    When multiPartModel is set to true, Sweet Home 3D saves in the .sh3d file the 3D model file and all the other files found in the model folder. This means here that it will save the file /com/eteks/sweethome3d/io/resources/openwooddoor/models/openwooddoor.dae and all the files found in /com/eteks/sweethome3d/io/resources/openwooddoor/models.
  • move images folder containing the model textures in the /com/eteks/sweethome3d/io/resources/openwooddoor/models folder and edit the .dae file with a text editor to remove the "../" text in front of images/texture0.jpg and images/texture1.jpg.

Sorry, if the multipart property isn't very convenient to include dae files proposed by Google Warehouse. When I added multiPartModel property, I didn't want to parse the saved model to find the dependent files and thought that including all the files found in the same folder as the model would be enough. I added support for dae format a long time after that.
Emmanuel Puybaret, Sweet Home 3D developer