How to Sort Affected Pulled Point?

In the following two cases, I would like to divide(group) the points affected by(closest) the reference Geometry (=Point at this situation) into their individual branches through Pull Point, what should I do?

Case_1 : Selecting points within a certain percentage of each point and grouping them based on each point
Case_2: Grouping all points based on the affected points when Pull Point is performed

I would like to avoid grafting the reference Geometry as much as possible.(In the first case, Graft is effective, but if you remap it, the the degree of inclusion of Geometry changes, and in the second case, Graft does not seem to be effective.)



Sort Affected Pull Point.3dm (153.0 KB)
Sort Affected Pull Point.gh (28.5 KB)

Here is one way to do it:

2023-09-01_sort_points.gh (11.8 KB)

I’m using the voronoi from the attroctor points to sort the generated points into groups, then cull them based on the distance to the the attroctor point.
I think, that this may fail for points that are on the border between two cells.

You solved it in a way that I didn’t expect! Thank you for letting me know :grinning:

1 Like