Hi, a have a bunch of lines which sometimes do not meet. What i tried to do is to find the nearest points, group them and generate the average point of the pointgroup. The missing step for now is to replace all the endpoints with the new average point and generate new lines, or move the endpoints to the new point. I googled around and searched this forum but couldn’t find anything. I have the feeling that it should be fairly easy, but i cant figure it out… Maybe my approach of grouping them is wrong?
MovePoints.gh (52.9 KB)