Grasshopper

algorithmic modeling for Rhino

This is a very basic question:

I have a variable sequence as a domain, generally including both positive and negative real numbers. I want to split the sequence at 1.0, and the index of this value is uncertain. How do I retrieve 1.0 and use it to split the sequence into two domains, one being all x < 1.0, the other being all x >= 1.0?

It's seems fairly straight forward but it's taking me some time to find the right method. If anyone can share some insight, I would appreciate it very much.

-Seth

Views: 295

Replies to This Discussion

This was cross-posted to the Discourse McNeel forum where Mitch posted an answer that works:

http://discourse.mcneel.com/t/split-a-variable-sequence-at-a-specif...

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