I’m new to Grasshopper and trying to analyze a large set of geometries through Grasshopper. I want to use Panel Grid and rearrange random geometries (2D polygons) to the grid by size (either descending or ascending).
, a simple example of what I’m doing, I’m trying to arrange these 9 geometries to the 9 vertices on the grid and sort them by size. I tried different ways and looked through videos online but the tutorials are not applied to random geometries. I’m stuck here,
Dear Laurent, thank you for the reply. I apologize that I didn’t upload the files. I’m looking through your solution, but if the geometry preexists and irregular, what would be the good way to extract the centroid of the geometry and attach to each vertice on the grid column by column by size.
Thank you again.
Lu
The same as I did, use Area component. Plug your geometry on Geometry and it must work. The only problem you will have to deal is that the length of the list will not be the same. So you could use component to equalize the length of geometry list and point list from the square Shortest List
Finally you post the file. You could insert geometry in Grasshopper file, just right click on the component and click Internalise See there
“Et voilà” the script is here, not a lot changes !!