tri to hex.gh
1.- I have a series of triangles as you can see in the image some points results in an hexagons is possible my results goes just into the hexagons and not random triangles selected?
2.- if I got just hexagon conformed by triangles and I dispatch some points maybe in this case the points inside of the haxagon line shape How can i add the next row to have a bigger hexagon in the selection of triangles.
thanks in advance.
instead of feeding the random points, you first find the closest nodes to these points and then feed them to your next definition
filter out the indexes that correspond to panels further than a specific distance to the nodes (otherwise you get star shapes in the edges of the surface)
I was not sure I understood you, I think you want to colour hexagons of larger radius, but since I’m not sure and I am also sleepy I can help you tomorrow If you make yourself clear!
tri to hex.gh (15.7 KB)
@anikolo thanks the first question it is ok!
the second yes I want select the next triangles to get a bigger hexagon I’m going to test it.
another approach with collision.
171206_tri_to_hex_ev.gh (19.2 KB)
thanks guys that is what I looking for