Print at Dec 17, 2025, 10:38:40 AM

Posted by Daniels118 at May 12, 2022, 5:29:22 PM
Re: How to create opening doors
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.