Dynamic shading does not work when using LB Generate Point Grid

Hello.
Thanks to you all, I am successfully conducting research on dynamic shading.

However, I have a question.
When doing daylight analysis, if I create a grid arbitrarily (using LB Generate Point Grid), dynamic shading does not work.
Below is a comparison example.


unnamed.gh (83.0 KB)

What do you all think?

Hi @imj06050215,

This is expected. The reason why it does not work with LB Generate Point Grid is because the grids don’t know which rooms they belong to. If you use what you describe as “Method 2” in your screenshot, the room identifier will be added to the grids when they are created in the component.

It is possible to add the room identifier with a fairly simple custom Python script, but before going down that route I want to know if you are satisfied with “Method 2”, or do you actually need the arbitrary grids?

Thanks for your reply.
If possible, please give me a solution or code example for method 1.
Method 2 is difficult to use for my research.

Hi @imj06050215,

Here is the file with the custom Python script. I added the script before “HB Assign Grids and Views”.

unnamed_edit.gh (84.2 KB)

2 Likes

Thank you very much.
It seems trivial, but it was really important to me.

Actually, I am doing research on optimizing various variables in a greenhouse.
And, I set the reference model as a hydroponic greenhouse, and installed the rack and bed inside.

Because of this, I had to set the grid arbitrarily.

Thanks to you, I think my research will be possible.
Thank you very much.


1 Like