How to create opening doors

This topic has been viewed 6241 times and has 3 replies
Thread status: Active
Looking for a particular 3D model or texture? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

How to create opening doors

Post by Keet »

Is there a tutorial or help file on how to create a door that can be opened?

I am trying to create a swing door with a round window and push plates that swings both ways. Doors like you sometimes see in restaurants between the kitchen and dining room so personnel can push the door open with their back while they have their hands full and see through the little window if there's no one on the other side blocking the entrance.

I found the sweethome3d_opening_on_hinge prefix and the door part is opening like I want but the window and push plates stay in place although they too have the sweethome3d_opening_on_hinge prefix.

Currently the frame is and export from part of an existing door and the door itself is an export of a wall with the window and boxes used to create the push plates. On itself it looks great but the opening doesn't work as expected, at least not on parts of the door.
Dodecagon.nl
1300+ 3D models, manuals, and projects
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: How to create opening doors

Post by Daniels118 »

I never tried it, but looking at a working door, I think you should add a common identifier after the prefix, and then add a different suffix for each node.
For example you should:
- name the pivot "sweethome3d_hinge_1",
- name the door as "sweethome3d_opening_on_hinge_1_door",
- the handle as "sweethome3d_opening_on_hinge_1_handle",
- the glass as "sweethome3d_opening_on_hinge_1_glass",
- and so on...

Also, looking at the code, I think the identifiers must be integers, in sequence, and starting from 1, otherwise it could not work.
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: How to create opening doors

Post by Daniels118 »

Well, google is faster than me, a quick search brought me here:
http://www.sweethome3d.com/support/forum/viewthread_thread,8704_offset,8
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: How to create opening doors

Post by Keet »

The added number did the trick.
I knew there was something written about the hinges but I couldn't find it. Fortunately you pointed it out to me!

I now have exactly the door as I intended it to be, with a window that still is a see-through window. I create a lot of custom furniture but until now I never needed openings.

Thank you!
Dodecagon.nl
1300+ 3D models, manuals, and projects
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest