Print at Dec 18, 2025, 1:38:55 PM
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by Mitsaki at Nov 4, 2011, 1:31:32 PM
Import .obj file to Blender
Hello,

I have created an .obj file in Sweethome3d and now I would like to import it to Blender 2.59, but I would like the furniture to be imported as individuals so that I could recognize them in blender. Has anybody experienced the same problems?

I also have tried to import it with different settings, but still I don't have any improvement.

Thanks in advance
Mitsaki

Posted by hansmex at Nov 4, 2011, 1:45:48 PM
Re: Import .obj file to Blender
Mitsaki,

If you want to import individual pieces of furniture in Blender, you should export individual pieces of furniture from SH3D. It is not possible to separate the furniture pieces in Blender.

Delete all furniture except one model, then use Export to OBJ format, then use Undo to get the other pieces of furniture back. Repeat this process until all pieces have been exported.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Mitsaki at Nov 4, 2011, 1:59:32 PM
Re: Import .obj file to Blender
Are you sure that there is no option in blender for doing that? Is there any already-made script that I could use to do that programmatically?

Mitsaki

Posted by hansmex at Nov 4, 2011, 3:15:06 PM
Re: Import .obj file to Blender
Mitsaki,

Those are questions you should ask on the Blender forum...

SH3D produces OBJ files; these are "simple" text files that describe X,Y,Z coordinates, faces of triangles, etc. The entire model that you export is treated as ONE object, and cannot distinguish between individual parts.

The method I described is the only one.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at Nov 4, 2011, 3:44:53 PM
Re: Import .obj file to Blender
Sorry Hans, but you're wrong.
In the Outliner view of Blender, you'll have all the various parts that define the exported object if you select the Group option of the Separate objects by OBJ section during importation.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Mitsaki at Nov 6, 2011, 11:12:56 AM
Re: Import .obj file to Blender
Thanks, both of you:))) Especially Puybaret, who can solve my problem:)

Posted by Mitsaki at Nov 7, 2011, 2:36:07 PM
Re: Import .obj file to Blender
Well, you were right that the furniture could be selected individually, but the problem is that now I could select all the meshes, so in order to select one piece of furniture I have to select all the meshes used for the composition of the furniture. Is there any other option that I could change to have the desirable result.

Posted by Mitsaki at Nov 16, 2011, 9:35:27 AM
Re: Import .obj file to Blender
I still haven't figured out, how I can have the same furniture as an object, I don't understand why I can't have eg. a sofa, as an object and I have to select all the meshes:(

Posted by Puybaret at Nov 16, 2011, 10:24:38 AM
Re: Import .obj file to Blender
I don't think that OBJ format was designed with this kind of grouping in mind, and OBJWriter class just writes a "g" line for each Java 3D shape whatever it comes from a part of a piece of furniture, a wall or a room.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Mitsaki at Nov 16, 2011, 3:12:35 PM
Re: Import .obj file to Blender
So, what you are suggesting is either change the OBJWriter of Sweethome3d or somehow group the meshes from the same furniture after importing the .obj file to blender?

Posts: 12   Pages: 2   [ 1 2 | Next Page ]