Print at Jan 25, 2022, 11:00:27 AM

Posted by Puybaret at Sep 28, 2021, 7:14:10 PM
Re: Add another 3D model to an existing 3D model?
As said before, I would suggest not to rely on such a resource in Sweet Home 3D (they can change like icons recently), and would copy lightSource.obj in your plug-in.
You could even use your own shape naming it in the OBJ file with a prefix equal to ModelManager.LIGHT_SHAPE_PREFIX to ensure it has the same behavior as lightSource.obj.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer