|
Sweet Home 3D Forum » List all forums » » Forum: 3D models and textures » » » Thread: Door with two panels » » » » Post: Re: Door with two panels |
Print at Dec 19, 2025, 10:27:04 AM |
| Posted by Keet at May 22, 2025, 9:19:26 PM |
|
Re: Door with two panels @Keet: I have an intermediate state of the door. This was changed from the original door by changing the width, height and depth of the frame and the location of the hinges and the panel in an editor. The handles have been left in its original place. This intermediate door will have cut out for the frame, the panel and the handle. I can see the handle from the rear. The rest is wall. It is much easier to first isolate the handle as a separate object: make everything on the door invisible except the handle. Export the handle and import it. Then make everything visible again but make the handle invisible. Now export the door without handle. Import in Blender and do your adjustments and export. Import in Sweet Home 3D and add the handle(s) again. Export and fix your OBJ file so opening the door includes the handle(s).Since there are a lot of vertices for the handle objects and I needed to delete parts and duplicate others I decided to use Blender. This exported door will not have a cut out. I don't see the panels and the handles from rear. This is reproducible by just exchanging the obj file in the library. I started to compare both versions manually (currently I have not installed the compare extension in Visual Studio Code) and found that there are some rounding differences in the frame I did not move. Sometimes 0.0 is now -0.000001. I changed that and now I get a complete cut out so I can see the door from rear. 0.0 <> -0.000001 is a common occurrence when exporting/importing between Sweet Home 3D and Blender. Sometimes the difference is even bigger. Sweet Home 3D doesn't have the accuracy that Blender has, it's not a 3D modeling program after all but an interior design program.What you can do in Blender is select two vertices that should be at the same position but are a tiny bit off and merge them (mesh>vertices>merge). Merged vertices can fix the "not closed circuit" that breaks the automatic cutout. The door was displayed in the location where the cube is when you open Blender. I need to change any g-line to a 0-line to be able to move the different parts. On export I got the g-lines again. To the group name a number was added. You don't need to change the g lines to o lines. When importing in Blender you can select how you split the import, by object and/or by group. Even then you can deselect everything, switch to edit faces and select by material. Then you can move that selection. If you import by group you can manipulate them as if each is a separate model but you can't select parts from two different groups. You can join groups together into a single group to fix that.When editing an OBJ file you can remove all numbers after a group name as long as the group name is unique in the model. That is the only reason for the numbers. You can even completely remove every g line but leave the usemtl lines and you can still import it in Sweet Home 3D. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 19, 2025, 10:27:04 AM |