Print at Jan 29, 2022, 2:30:42 PM

Posted by Puybaret at Sep 26, 2021, 9:30:15 AM
Re: Add another 3D model to an existing 3D model?
Look in DefaultFurnitureCatalog how the subclass ResourceURLContent is used.
But as lightSource.obj may be in different places (in a file during development, then in Furniture.jar or SweetHome3D-x.y.jar during deployment and finally in a SH3D file when saved), I would suggest to use a copy of that file in your plug-in.
Emmanuel Puybaret, Sweet Home 3D developer