Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | 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: 28
Posts: 28   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 22914 times and has 27 replies Next Thread
mitamita
Newbie



Italy
Joined: Dec 7, 2010
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Door swing in plan

Hi,
does someone know how to get the door swing shown in base plan when using imported doors?
For "door swing" I mean the arch which shows the space in the plan for opening a door .
If I use the default door no problem, but with imported door (included the ones in the 3d models on this website)I can't get it.
When imported the door, of course I selected the "door and window" flag.

Thanks
[Dec 31, 2010 1:34:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3063
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

Mita,

Unless you know how to program OBJ files, there's no way to add the doorswing to an imported door. However, there's an easy workaround.

Insert a hatch into your wall, then insert the door into the opening of the hatch. Rotate it 45 degrees or so, and you have a custom open door.

Hans
[Dec 31, 2010 2:09:23 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 5837
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

Mita, Hans,
There's no way to specify a door swing in OBJ format. The OBJ format isn't that clever! wink
If you want to achieve that with your own model, you should create a custom SH3F file containing your door model (use Furniture Library Editor if you want to), and add the following properties in the PluginFurnitureCatalog.properties file contained in the SH3F zipped file (where n is the number of the model):
doorOrWindow#n=true
doorOrWindowWallThickness#n=
doorOrWindowWallDistance#n=
doorOrWindowSashXAxis#n=
doorOrWindowSashYAxis#n=
doorOrWindowSashWidth#n=
doorOrWindowSashStartAngle#n=
doorOrWindowSashEndAngle#n=

By example, the default door defined in Sweet Home 3D catalog is defined this way:
name#19=Door
category#19=Doors and windows
icon#19=/com/eteks/sweethome3d/io/resources/door.png
model#19=/com/eteks/sweethome3d/io/resources/door.obj
width#19=91.5
depth#19=14.5
height#19=208.5
movable#19=false
doorOrWindow#19=true
doorOrWindowWallThickness#19=7.5
doorOrWindowWallDistance#19=1
doorOrWindowSashXAxis#19=5
doorOrWindowSashYAxis#19=8.5
doorOrWindowSashWidth#19=81.5
doorOrWindowSashStartAngle#19=0
doorOrWindowSashEndAngle#19=-90

I guess it's not so easy to handle but it's the way all doors and windows are defined in Sweet Home 3D. I'll try to add some options about doors in a future version of the Furniture Library Editor.

Finally, if you just want to show the swing of doors and windows defined in the 3D models page, please consider downloading the SH3F files that contain all of them with correct definition.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Dec 31, 2010 2:31:48 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
mitamita
Newbie



Italy
Joined: Dec 7, 2010
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

Thanks both of you. You're always fast and precise!
I'll try to follow your suggestion and use the Furniture Library Editor first.

Many thanks
Mita
[Jan 1, 2011 1:56:55 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
connomar
Member




Joined: Dec 23, 2010
Post Count: 22
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

Please could you explain how the parameters above relate to the way the outlines work?
i.e. What is the WallDistance?
Does SashXAxis have meaning for a door?

My experiment ended up with a door that was much wider than the wall I put it in. Any help would be greatly appreciated.
[Mar 18, 2013 1:58:23 AM] 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: 5837
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

Please, use the following figure to help you understand the meaning of the properties.


----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Mar 18, 2013 9:19:52 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
connomar
Member




Joined: Dec 23, 2010
Post Count: 22
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

Many thanks Emmanuel, that's just what I needed.
[Mar 18, 2013 1:35:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hal9000
Advanced Member
Member's Avatar

Spain
Joined: May 9, 2012
Post Count: 136
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

So the "depth" shown on the figure is not included in the properties?
----------------------------------------
If a long walk every day were healthy, mailmen would be immortal. tongue
[Jun 29, 2013 12:56:41 AM] 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: 5837
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

So the "depth" shown on the figure is not included in the properties?
depth is one of the mandatory properties.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 30, 2013 2:59:16 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
hal9000
Advanced Member
Member's Avatar

Spain
Joined: May 9, 2012
Post Count: 136
Status: Offline
Reply to this Post  Reply with Quote 
Re: Door swing in plan

Oh, I see. I was only thinking of the properties listed above.
----------------------------------------
If a long walk every day were healthy, mailmen would be immortal. tongue
[Jun 30, 2013 3:30:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 28   Pages: 3   [ 1 2 3 | Next Page ]
[ 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-2017 eTeks - All rights reserved