-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Door/Window show opened in 3d view #21
Comments
Hey, I looked into this in the past and it seemed to me then that (a) the openings would need to be in their open state (just like the lights are configured with their "on" power) and then I can "close" them from this plugin and (b) it would mean that I need to render all of the possible combinations of open/closed doors/windows and every combination of lighting for those which makes me think that it's not worth the effort. |
I understand your point with the mass of renderings, but if you have a big house and you have about 10 or 20 lights you already have a lot of renderings. For me that's the big difference why not using ha-floorplan. I have nice renderings instead of a "simple" svg plan. And your plugin makes it much easier to create the different renderings :D 👍 Also you can choose which you want get extra rendered by do not open it (like give the light 0% power) :) |
Hi all, i dont need a rendered version with light effect, for me it would be enough to have to states like a open window and a closed one without render lights |
Just give the Windows the Name of the binary sensor and you will see a state icon above :) (which shows an Icon for closed and another for open windows) |
I think I agree with him @shmuelzon, what if we generate different images for window/door/blinds opened, only to them according to their open state (10%, 20%, etc) without combining with lights? |
Even with this method, the lights and shadows will be off without rendering them with the doors open and closed. |
I, for my part, would also really like this feature and would be totally fine with waiting around longer to render more images. In my (probably naive) thinking it's mostly wasting more compute resources, but should be absolutely doable from a coding perspective (the rendering of multiple images of course, not the feature itself)? |
Yes, it should all be doable and I started looking into it today. I have a basic idea of how I want to implement it but ran into issues today with actually controlling the door/window state from the plugin code. Unless I'm missing something, it's quite complex where, since opening/closing a door/window changes it's size (bounding box) I actually need to scale the door/window accordingly so it's frame will remake at the same size and location. I'm still trying to figure it out... |
Many thanks for the great plug-in! I would also really appreciate the option to show open windows and doors :) |
Unfortunately, I so have no idea how to modify openings from the plugin code. Even when, basically, copying the same code from the properties window of SH3D, it's not working as expected... https://www.sweethome3d.com/support/forum/viewthread_thread,13498 Any help would be appreciated! |
Hi,
Is it possible instead of the state icon to show door/window as open and save images like for the lights? :)
However, it works perfect as it is :)
The text was updated successfully, but these errors were encountered: