Custom sensor points


I need to use a grid of sensor points with a particular tree structure. I created then a mesh based on these points and used it as input in Honeybee. I would like then to unflatten the Honeybee output results using the original points as a guide. However the testPts output does not correspond to the mesh vertices but rather to the center of the mesh faces. Is there a way to use the vertices of the input mesh as sensor points?



If you are using the Generate_test_points from Honeybee, this generates points based upon mesh face centres.

You could make your own mesh to feed into the analysis recipes instead. Try deconstructing the mesh and feeding in the vertices into test points.

Thanks. This works great for Honeybee.

Unfortunately, I actually intended to use the Environmental Analysis tools in Ladybug (sorry for the mistake in my former post). I would like to use the SunlightHoursAnalysis component but it only accepts Mesh or Brep input, not directly the test points.

Hi Giuseppe, There are workarounds for this issue. If you search the group you should be able to find some solutions. Regardless can you send a simple example and why do you want the values to be calculated for mesh vertices and not mesh faces?


Hi Mostapha,
thank you for your reply.
I would like to keep the data structure I created with the DivideSurface component. This is probably not the optimal solution, but I want to organize the test points by lines (along either u or v direction). My data tree is then structured as {building;surface;line).
I tried to create a mesh for each surface but the mesh faces cannot be unflattened as the vertices.
I attach the file. I hope it is clear.
Any help would be much appreciated.

Giuseppe (373 KB)

Hi Giuseppe,

I checked your file and I admit that I still couldn’t understand what are you exactly trying to do but two comments in general. 1. Output of sunlight hours component is already grafted based on input mesh faces so you should be able to match the data. 2. You can use Grasshopper’s unflatten component to graft the data of a faltten list based on a grafted reference input.

Hope it helps,