Hi everyone,
I’m now solving a dual mesh grouping problem. I started with a loop-subd mesh, dual-mesh to hexagons, then I want those hexagons three in a group (as red lines in picture). But I couldn’t figure out how those indexes were sorted after dual mesh component.
I’d like to ask if there’s anyway to sort those hexagons, or I should try more brute force approach such as finding 3 Closest Pts and group it together? Thanks!!
(Btw the C# component is a variant from Daniel Piker here and here, which re-ordered loop subd faces, but the index after dual mesh is still quite random for me )
20200709_Hexagon Grouping_Question.gh (46.4 KB)