Print at Jan 30, 2026, 2:09:30 AM

Posted by Keet at Dec 3, 2024, 12:20:15 AM
Re: Help creating new object & light source from scratch
You're struggling with several basic concepts of Sweet Home 3D because you are trying to create a piece of furniture with several advanced aspects before you went through the more sedate process of learning Sweet Home 3D. No problem, kudos for what you already have achieved!

Concerning the levels you should read the manual available at the manual page on Dodecagon.nl. That explains what levels do and how they are related to heights and floor thicknesses.
The initial dimensions you get for a new level come from values in your preferences. Check them and you will recognize the values as they appear when you add a level. You can change those initial values by double clicking the level tabs to get to the Modify level dialog.

For your situation start with renaming your Level 0 where I assume you have your walls and room to "Brace". Rename your level 1 to level -1. Change that level with an elevation -100 and height 94. The actual numbers don't matter in this case, they are just to create space for the floor on your Brace level. If you read the levels manual you will remember "A floor extends downward below the set elevation", i.e. it "sinks" into the level below. (If you were to export the walls again the resulting object will be 6" higher because walls too sink into the lower level. The extra 6" are added to the bottom of the walls so the top of the walls remain where they are.)
Double click your Brace level and set the elevation to 0 if it's not already 0. Because of the -1 level you should be able to set the floor thickness to 6".

Assuming you already have the brace itself we will recreate the light panels.
Export the room. (With a floor thickness set to 6" it should produce an object 6" thick.)
Edit the obj file to set the material name 'light' like you did before.
Import the object. It should be as thick as the floor thickness: 6". If not you can still change the thickness to 6".
Place the panel in the brace and export both brace and panel together. Import and rotate/tilt/resize/set colors and export the finished brace-with-panel.

Using the Furniture Library Editor open the library with the old brace and delete the existing brace. Import the new brace.
Still in the Library Editor double click the new brace to get the object properties.
Set the following properties:
Name: Brace (This is the name you will see in the catalog pane)
Description: Your Library Name (The Description is shown in the catalog tooltip when you hover over an object in the list, this helps to show in which library your object resides)
Keywords: Brace Panel Light (these are keywords you can use in the search box of the catalog)
Creator: YourCreatorName (The creator name will show in the tooltip like "created by YourCreatorName").
License: add a license if you want but you can leave it empty.
Category: you can choose one of the existing categories but you can also type a new category name. This is useful if you create a library with multiple objects that belong together and you want them to show in a special category. If you have imported my Shapes library you will see that a new category "Shapes" is added to the category list. This is how I created it.
Adjust the size with the buttons if necessary.
Elevation: you can optionally set a default elevation. Of course it can always be changed in your Sweet Home 3D project.
In the list set the value for lightSourceMaterialName to light (assuming you changed the material name "room_1_1" to "light")
Save the changes, save the library.

In Sweet Home 3D right click on the three 'wrong' braces. You will probably see a "delete" option with two of the three objects. Delete them.
The third is the one from your library. You can only delete that one by importing your new library and choose "Replace" in the import dialog. The old one will disappear and the new one should show.

That should be it. Try it and let us know how it worked out.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects