Arlen, The general approach after you test for the first closest point would be to cull those points from your original list and test again. This would seem like something simple to do but it's a bit tricky to implement. For this reason Marc Syp put together a VB component to generate boolean cull patterns (still, it can be done without VB...).
You can find the VB component from here: http://groups.google.com/group/grasshopper3d/browse_thread/thread/ea33161659b69aef/106fa47203cb2f61?hl=en#106fa47203cb2f61 And I believe this is what you're trying to do: http://groups.google.com/group/grasshopper3d/web/twoClosestPts.jpg -taz On Apr 29, 9:00 pm, Arlen <[email protected]> wrote: > Hi, > > This is my first attempt at a definition. I am trying to find the > closest *and* second closest points (from a set of points) to points > on a curve, every x mm. > > The screen shot below shows how I found the closest point, but I can't > quite figure out how to do the set operation I want. > > Definition:http://farm4.static.flickr.com/3363/3486837065_1e4f3dfe79_o.png > > Result:http://farm4.static.flickr.com/3551/3487673444_6034fd05b7_o.png > > Let me know if this doesn't make sense. > > Thanks, > > --a
