Is it possible to delete all points that are distant from the curve

There are points I want to ignore to create a curve. Those who are far from the rest.
Is there such a possibility?

Do you mean the spikes in z direction? Maybe filter them via deconstruct and their z axis value?

Something like this? cull spikes.gh (6.5 KB)

Thank you! But what happens if there is a greater curvature?

  1. Try to make a rough curve by average points.
  2. Add a point to the curve. If the curvature/angle/length change is larger than a threshold, reject it.
  3. Repeat (2) until every point is rejected or accepted.

Post a file please, so we can try working on that.

You could try something like this: cull spikes_V2_ME.gh (7.8 KB)


Play around with the degree of the curve and the threshold values

Thank you! This is excellent for me