Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
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.
Netherlands
Joined: Sep 26, 2009
Post Count: 3973
Status:
Online
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
Netherlands
Joined: Sep 26, 2009
Post Count: 3973
Status:
Online
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
France
Joined: Nov 7, 2005
Post Count: 9397
Status:
Offline
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 developer
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
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.
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
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:(
France
Joined: Nov 7, 2005
Post Count: 9397
Status:
Offline
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 developer
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
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?