Konrad
(Konrad)
May 21, 2020, 1:20pm
1
Hi all,
sorry, I have this problem and it drives me extremely crazy for some time now – I just can’t figure it out:
I want to pull points from one curve to another, but it should only pull form the most closest one:
pull_points_to_closest_curve.gh (7.1 KB)
each curve in the upper layer should pull points only from the closest curve in the lower layer.
Could someone help me with this? Many thanks!
Skip the cluster, it doesn’t help.
You are using random points to locate the circles so there is no correlation between them.
Konrad
(Konrad)
May 21, 2020, 1:32pm
4
Konrad
(Konrad)
May 21, 2020, 1:34pm
5
thats why I put them in a cluster,
the script should pull only based on distance not on tree setup.
sorry if this was unclear
So the cluster is a blindfold to deliberately hide how the geometry was created?
Konrad
(Konrad)
May 21, 2020, 1:43pm
7
yes, since the this is part of a much bigger file and I only showed the relevent parts to this problem,
like point 3 here:
Asking questions and getting answers is what this forum is all about. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions, but don’t think of them as rules and especially don’t think of them as guarantees.
1. Choose a descriptive title for your post
Don’t title your question Help! or I have a problem or Deadline tonight!, but actually describe the problem you are having.
2. Be s…
Konrad
(Konrad)
May 21, 2020, 2:33pm
8
sadly this solution didn’t work since the distance culling failed in some cases. But it helped to get to this
PullPoints.gh (15.4 KB)
( wombat it needed for the curve -curve closest point)
You can also use curveProximity to Find the pair of closest points between two curves:
PullPoints.gh (11.2 KB)
2 Likes
Much better! And just to clarify the issue a little more by removing the cluster:
PullPoints_2020May21a.gh (9.4 KB)
1 Like