Hi,
I’m trying to extract a list of bounding curves of multiple curvesin order.
As the attached images show, if the curves run left to right along one axis, the method works well.
However, if the curves run vertically or have multiple curves at the same time, the ordering and the bounding curves fails .
I tried sorting by X and then Y, but it still doesn’t give the correct order.
Any ideas or suggestions of how to sort X first then Y and put all the parts inside 1 regtangle if it has multiple ones? would be appreciated.
regtangling .gh (38.4 KB)




