Print at Jan 30, 2026, 9:56:51 AM

Posted by Wendell_Burke at Dec 1, 2024, 5:21:55 AM
Re: Help creating new object & light source from scratch
Ok, so I did finally manage to get the Furniture Library Editor to open, and went back to your list of instructions, but this did lead me to another question.

The brace (The object the light will be mounted in) is 6" wide. I wanted to make the light panel so that it illuminated both sides of the opening in the frame. I wasn't sure if this would work automatically like most bulbs in a normal socket, or if I had to change something to make it directional? Also, I wanted the light itself to sit flush with the brace on both sides, which would imply that I just make it 6" wide also. Would this be the proper approach?

I went ahead and experimented before writing this and I thought that the ceiling and floor checkboxes may have something to do with this since it seemed relevant when I was building the light shape to start. I made two different light shapes, one ceiling and one floor. I followed all the other instructions.

When I had both lights set in place in the brace, exported them as an object, them imported them as furniture, then finally imported them into the Furniture Library Editor, I couldn't drag and drop the brace. I had to import it with the button in the menu, but then it did appear. The "lightSourceMaterialName" was in the menu under preferences, but when I tried to check the 'displayed' box, it wouldn't let me.

I saved the item as a library and imported it into Sweet Home 3D, and it said it worked, but when the brace appeared in my file, it scaled way too large and out of the alignment I thought I'd set for it in the other files. I know I had scaled it much smaller (The same size as the old brace I was using), so I'm not sure what's going on there? It was very difficult to manipulate into size and position and I eventually called it off because these other issues where starting to pile up, as no light setting control appeared on the newly imported library/ file.

I was as careful with all of this as I could be so I'm not sure where I went wrong?

When you said, "You can use a different name for 'light', just make sure you replace the same name in both the obj and mtl file and set that name for the lightSourceMaterialName in the Library Editor." I understood this with the obj. and mtl. files, but did you mean that I should change 'lightSourceMaterialName' to the name of each light, or one light if that's all I need? That seemed to be the name of the option so I didn't change that yet, but I didn't think this was the reason for the other problems I'm having. I didn't even get to taking a higher res pic of it in place yet.