Grasshopper

algorithmic modeling for Rhino

Culling points based on proximity to curve start/end

I'm wrestling with how to cull a list of points based on a list of curves. I need to cull those points that are on one of the curves and that are too close to a given distance from that curves start or end points. Any suggestions?

Views: 2898

Replies to This Discussion

Hi Anton,

it sounds like two separate culling operations. First I'd remove all points that have a distance of less than some small number to the curve. You can use the Curve CP component to measure this distance.

Then collect all end-points into a single list and use the Pull Point or Closest Point for that.

Got it, works!

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service