Import .obj file to Blender

This topic has been viewed 30387 times and has 11 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Ferraro
Posts: 22
Joined: Wed Apr 16, 2014 6:25 pm

Re: Import .obj file to Blender

Post by Ferraro »

I have been looking into this as well. Ideally OBJ groups should be created by individual pieces of furniture. The OBJ writer appears to write g + objectName and then falls back to the nodeName. g being the obj files designation for group. Could it be that the nodeName being used for all furniture is simply "mesh" Line 344 of OBJWriter.java mentions a unique name that is "human readable". Ideally the furniture library name should be inserted here. However, on closer examination of the output file it appears it only writes groups by the textures used. As a workaround, I am thinking perhaps I should build my models with a single image texture map from now on. Any thoughts on an implementation that passes the furniture library name as nodeName?
unitedwewillwin
Posts: 4
Joined: Fri Dec 24, 2021 3:35 pm

Re: Import .obj file to Blender

Post by unitedwewillwin »

I was facing the same issue and found a great, efficient way to separate objects in Blender (only takes a few seconds!)

To do that, just select the imported object in Blender, go into Edit Mode (pressing the "tab" hotkey on your keyboard), then press "P" on your keyboard. A small tab opens and you can choose to separate the items either by Material or by Loose Parts.

Here is the Youtube tutorial I found that explains it: https://www.youtube.com/watch?v=P_C3xkVT044

The only downside is that in the Blender Outliner, the different parts don't take the name they had in Sweet Home 3D. For example "Table" is called "ProjectName.001", but this can be manually changed.

Hope this helped!
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests