Download

Online

Gallery

Blog

  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 5431 times and has 2 replies Next Thread
chicosRV
Newbie




Joined: May 25, 2012
Post Count: 14
Status: Offline
Reply to this Post  Reply with Quote 
confused I exported the scene made in the Sweet Home 3d in separate .obj but i have problem with the walls

I exported the scene made in the Sweet Home 3d in separate .obj (each element is a diferent .obj) and using a xml file i construct the scene for open it in other application (the xml file has the format that use the other application, it contains the position of each object , scale, etc) but i have a problem obtaining the position of the walls, it never shows in the same position the were in Sweet Home. I tried saving all the walls together and each one like a diferent obj but it doesn't work. The room(all the walls together) never is positioned in the same position; and saving each wall as diferent obj file, its encapsuled in a bounding box that is bigger(a bigger rectangle) and i can't obtain the position of the center of this bounding box
[Mar 13, 2013, 8:32:20 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Lynn22
Member




Joined: May 23, 2012
Post Count: 31
Status: Offline
Reply to this Post  Reply with Quote 
Re: I exported the scene made in the Sweet Home 3d in separate .obj but i have problem with the walls

The pivot point of an obj room is fixed in the 2D plan at point 0-0 (top left of the view port)
If you start drawing at location 0-0 and expand to the right and down, the pivot point is at the center of the bottom corner of the back wall.

If you need your house to have its pivot point in the center then you should move all your walls to have the location 0-0 at the center of your house.

Hope this helps
[Mar 14, 2013, 5:19:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: I exported the scene made in the Sweet Home 3d in separate .obj but i have problem with the walls

Please provide some examples because it's difficult to understand differences of behavior if you don't show them.
For your information, walls (lines starting by "s wall_") are cited in the OBJ file in the order they were added to home. If the vertices indices their faces refer to (lines starting by "f") don't appear in the same order for the same collection of walls, it could be due to the way Java 3D stores them.

The bounding box you mention at the end of your message represents the ground. From version 4.0, you'll be able to avoid generating this ground if needed.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
----------------------------------------
[Edit 1 times, last edit by Puybaret at Mar 14, 2013, 5:20:31 PM]
[Mar 14, 2013, 5:19:42 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 2006-2024 eTeks - All rights reserved