Ordering brep faces


(Parametriccuriosity) #1

Hello, I am trying to sort these faces into an orderly pattern. Rite now faces are not arranged in order. I tried to sort center points by x and y coordinates using sort key component but failed to sort these surfaces. Can you please guide me how can I get all these faces in order.

Thank you.


(dowazura) #2

Please upload Gh file with internalize data.


(Laurent Delrieu) #3

Here is a trick to sort points in X then Y …


(Parametriccuriosity) #4

parlellogram grid.gh (13.5 KB)


(dowazura) #5

parlellogram_grid_re.gh (15.4 KB)

hope it helps~


(Parametriccuriosity) #6

Thanks a lot ! it will surely help and open my mind towards solutions you have provided.