generative modeling for Rhino
I have a set of curves that have been split at various intersection points creating a lists of lists of curves.
I need to remove all the curves from the list who's length don't match some conditional expression, such as i<1.
I'm sure this can be accomplished in a very short vb script, but I don't know enough of grasshopper/rhino vb scripting to accomplish this myself yet. Although if it can be accomplished in grasshopper alone, that'd be great.
You measure the length of each curve, then use the [Larger Than] component to compare these measured lengths against your threshold value. This will now give you a collection of True (larger than) and False (not larger than) values which can be used as the pattern in the [Cull Pattern] component.
Okay, it works.
Thanks for the help!
Maybe this can help