Honeybee gridfilter

Hi, in my model i would like to simulate the daylight but using only some rooms. My problem is that I use the “Grid filter” option, but when I try to visualize with the heatmap he gives me error and i cannot visualize them. I also tried to use a list item to list the meshes i want to see inside the heatmap but always give me this error: 1. Solution exception:Expected the number of data set values (1577) to align with the number of faces (12786) or the number of vertices (11707).
Consider flattening the _values input and using the “Mesh Join” component to join the _mesh input.
The values are already flatten and i already used Mesh join

Ah! Good point. I don’t know if we have a good solution for this. The easiest way is probably to use the model that was created in the process. I admit @mikkel or @chris would be the better person to answer this question.

Very good point.

To give some background, we mostly added the grid_filter as an option for people who did not have the luxury of assigning Honeybee sensor grids inside Grasshopper since Grasshopper has a bunch of filtering options to help you to easily create Sensor Grids only for just the rooms or faces you care about. For example, the latest HB Rooms by Attribute and HB Faces by Attribute let you filter Room and Face geometry by any value of an attribute that you want. So this makes it particularly easy to only generate sensor grids for Rooms with a specific program, for example.

All of the above is just to explain why we haven’t really paid much attention to workflows with the grid_filter so far. But not all honeybee Models are going to have their sensor grids originating in Grasshopper. You may import it from the Polliantion Rhino or Revit plugins, for example. Or download the model and results from a simulation on the Pollination cloud service.

To address this case, I just made a tweak to the HB Get Grids and Views component so that it now also has inputs for view_filter_ and grid_filter_:

You’ll be able to get the component on your end in a few minutes with the LB Versioner. Here is a sample file showing how to use it to align the sensor grid meshes for visualization.

annual_daylight_w_grid_filter.gh (71.5 KB)

3 Likes