Hi @rajaa Issa et al,
I’d like to match the analysis grid of a radiation mesh from Ladybug to a grid in Paneling Tools for Grasshopper. The idea is to then use the radiationResult values as weights in the PT grid so as to be able to populate it with a list of different geometries/panels based on the radiation values.
I started out trying to rebuild the grid from the gridSize value in LB, but couldn’t get an accurate result. Plan b was to rebuild the analysis mesh by extruding face polylines (using Weaverbird), then sorting the resulting lines and creating the grid from the curve intersections.
Being useless at managing lists, I ended up going through a strange and bothersome process of matching the radiation results to the grid data format, and clearly messed it all up. In the attached file I do get some sort of result, trying to morph between a triangle and a hexagon across the surfaces, but the polygons don’t seem to match the weights.
What am I doing wrong, and is there a much better and ‘correct’ way of doing this? Ideally, this would be automated so that no manual list matching etc would have to be done.
Thanks,
Magnus
200211_gh-question_lb-panelingtools.gh (454.8 KB)