I’m try to make a script that projects end points of one group of curves to another group of curves.
Each curve of the first group should be projected only to one curve from the second group (the closest one). I’m using Pull Point component for this - so far so good. But in the end I’m getting one list of points.
What I would need is to sort points in several list depending to which curve points were attracted.
Your solution works if the specific selection order is used. In my case order could be random…
I found that first 1/2 of the list contains start points of input lines and the other 1/2 the endpoints.
Knowing that I came up with this that seems to work:
Maybe you could suggest on how to sort lists so that each pair of points in the tree would match the corresponding input curve (curve to which the points were projected)? Now I’m getting lists in both trees in the order they were selected.