Grasshopper

algorithmic modeling for Rhino

Here's a challenge for all takers:

I have two lists of numbers. For each number in list A, I want to find the closest number in list B greater than the current item in list A. The catch is this: I want no repeats in the output list. See image --- any ideas?

Views: 218

Replies to This Discussion

Hi Evan,

it is not possible as you need to modify your data while you're iterating through it. You'll need a script for this.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

Thanks David, I figured it would need to be scripted. The attached works great!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service