Grasshopper

algorithmic modeling for Rhino

Given a list of numbers, I want to sort them within 3 domains, replace all numbers in each domain with another number, and re-combine the numbers into a list of the original size (should be clear in the attached image). I think I have the first two steps figured out, but not the 3rd.  

Any ideas? 

Views: 1098

Attachments:

Replies to This Discussion

One possibility is to combine the three lists sort them and then split the list at the start of the values you want.

Danny,

Terrific--works like a charm! Thanks,

JP

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service