Print at Dec 19, 2025, 11:29:12 PM

Posted by Keet at Nov 25, 2023, 10:22:48 AM
Re: Sweet Home 3D 7.0
Your .sh3d file is a zipped archive and the Home.xml file is one of the files in it. You can unzip the .sh3d file and edit the Home.xml file and then zip it again and rename .zip to .sh3d.

A light looks like this:
<light id='light-35ed9266-e2f8-4413-b267-4e2b292bf9bc' catalogId='Puybaret#lightPanel' name='Light panel' creator='Emmanuel Puybaret' model='1/lightPanel.obj' icon='0 ' x='25.0' y='0.0' elevation='10.0' pitch='1.5707964' width='50.0' depth='100.0' depthInPlan='0.0010043712' height='0.001' heightInPlan='100.0' modelSize='1096 'dropOnTopElevation='-999.99994' power='0.05'>
<lightSourceMaterial name='light'/>
</light>

Find your box in the Home.xml file, change "<pieceOfFurniture" at the start to "<light", and add the "power=" and "<lightSourceMaterial" parts. The name you use for the lightSourceMaterial is the material name you have for your box.
As I said before, it's better to go through a Furniture Library to avoid having to edit the Home.xml file. It could corrupt your whole project.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects