I was wondering how it would be possible to draw a continuous polyine along the vertices of a square collection.
I have a square collection that comes from two different structures:
Blue squares are contained in one tree with five branches, each containing one square,
Red squares are contained in one tree with five branches, each containing a different ammount of squares ranging from one to four.
The task I want to perform is to build a continuous polyline along each outer vertex of this collection of squares, like a border line. (more or less like the white line)
I tried this approach using the convex hull component but it builds a region that contains all the squares and avoids some vertices in the inner part of the square collection.
I will leave the file below, any help would be appreciated.
(I’ve customized components so they look pink, everything is working fine)
Sir Ernest Shackleton
polyline_along_vertex.gh (8.7 KB)