Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 789 times and has 2 replies Next Thread
Terrestre
Newbie



France
Joined: Jul 11, 2024
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
how can i export a 3D model made up of parallelepipeds (not separate planes)

Hello,

I've opened my .obj file in Unity. My model is composed of a multitude of planes (floors and ceilings are broken down into separate surfaces, listed in the model details). I'd rather see the walls, floors and ceilings displayed as components of my model, so that I can act on them.

Can I export a model made up of parallelepipeds, which are the walls, floors and ceilings, and not 6 surfaces for each of these elements ?

Thanks for your help!
[Jul 12, 2024, 5:00:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Terrestre
Newbie



France
Joined: Jul 11, 2024
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: how can i export a 3D model made up of parallelepipeds (not separate planes)

In fact it's the walls that I'm having trouble with: in the .obj exports, each one is made up of two walls (the two separate faces) plus the two slices, top and bottom.
Is it possible to create a 3D export with 'complete' walls ?
[Jul 12, 2024, 6:21:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1248
Status: Offline
Reply to this Post  Reply with Quote 
Re: how can i export a 3D model made up of parallelepipeds (not separate planes)

In fact it's the walls that I'm having trouble with: in the .obj exports, each one is made up of two walls (the two separate faces) plus the two slices, top and bottom.
Is it possible to create a 3D export with 'complete' walls ?
Unfortunately for you that is how walls are composed. A wall is a special type of object in Sweet Home 3D.
Like you said, it's like "two walls". Sweet Home 3D considers a left and right side where each side extends halfway on the sides, top, and bottom with the same material you assign to each side. That makes it seem like two thinner walls that are put together to create a thicker wall but it is actually a single object. What makes it seem like two walls is only the split faces of the object at the top, bottom, and sides. This system makes it possible to give a wall different textures on each side while retaining its special wall properties in Sweet Home 3D.

The only way to get a 'clean' object is to either use something else for walls (boxes) or edit the exported obj in Blender where you can replace the double faces with single faces. Using boxes is probably not an option because you can't place doors and windows in them.
In another post I advised to NOT use walls for furniture parts if another shape like a box can be used for exactly this reason. A wall is less efficient if you don't need the split faces.

By the way, faces are usually triangular. If you export a simple box each side is made up of two triangular faces. It is possible to create 4-point faces but most 3D software will split them into triangles when you import them. Why? Because a triangle is guaranteed to be in a single plane which is essential to being able to draw a face. I'm not 100% sure but I think Unity requires all faces to be triangular. If not rendering will take a lot longer.

TLDR; That is how a wall is, nothing you can do about it. Use another object in its place or edit the object file to replace the double faces.

ETA:
I forgot about floors and ceilings. Both are parts of the same room object. You can see that when you modify a room: floor and ceiling are both in the dialog. You normally would export a room with the ceiling made invisible if there is no level above the room. You can export with the ceiling visible. It just results in an object with the height of the level and a single face for the ceiling (0 thickness).

Check the manual page on Dodecagon.nl. There's a manual that explains about meshes, vertices, edges, and faces.
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
----------------------------------------
[Edit 2 times, last edit by Keet at Jul 12, 2024, 6:57:08 PM]
[Jul 12, 2024, 6:46:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved