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: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1954 times and has 4 replies Next Thread
McOrmick
Newbie




Joined: Nov 30, 2021
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
confused Open / Close all windows/doors

Thanks for a great program. Using the renders in Home Assistant. The picture-elements card is to show a graphical state of a window or door; open or closed.

Is there an automated way of opening/closing all doors or windows (to a certain literal degree), be it in the interface, or even search/replace some value in the Home.xml that is present in the .sh3d (ZIP) file?

<doorOrWindow id='doorOrWindow-b4a42981-8f51-4c42-a494-355a816b1298' level='level-65b290ae-fe5c-49c5-962a-64b6e26cc07d' catalogId='eTeks#window85x123' name='Small window' creator='eTeks' model='162' icon='161' x='248.46066' y='831.41833' elevation='90.0' width='90.0' depth='44.743702' height='140.0' modelSize='9333' movable='false' dropOnTopElevation='-0.007463522' wallThickness='0.22350736' wallDistance='-8.09938E-7' cutOutShape='M0,0 v1 h1 v-1 z' wallCutOutOnBothSides='true' boundToWall='false'>
<sash xAxis='0.021872265' yAxis='0.22350654' width='0.9405074' startAngle='0.0' endAngle='-1.5707964'/>
<transformation name='sweethome3d_hinge_1' matrix='0.91952854 0 -0.15615946 -0.03357417 0 1 0 0 0.9891639 0 0.91952854 0.41869727'/>
</doorOrWindow>

Thanks!
[Nov 30, 2021, 12:17: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 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Open / Close all windows/doors

Just add the element <transformation> you found to each <doorOrWindow> element in the Home.xml file.
This will work only for a given model.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Dec 1, 2021, 11:22:58 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sugaretto
Newbie




Joined: Jun 29, 2016
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Open / Close all windows/doors

Hi guys, in relation to this request, I remember there is a 3D view where you can open/close a window/door... but I don't remember how anymore, can you please help me? Thanks
[Dec 30, 2021, 1:42:19 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Open / Close all windows/doors

Sugaretto, look at this article.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Dec 31, 2021, 12:00:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sugaretto
Newbie




Joined: Jun 29, 2016
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Open / Close all windows/doors

Thanks! That was what I'm looking!
[Jan 1, 2022, 10:27:47 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