I’ve been trying lately to find a way to nest two sets of curves (x and y) to later distinguish them once in their nested position. My first idea was to set a list of each curve’s length to subtract to the result, but don’t really know how to achieve that.
how is your data stored before you use the nesting ?
Are your curves x / y not in a seperate list already ?
I think open nest can handle tree structures and if not it should be no problem to guide a flat list of curves to a new structure…every item in the list keeps the same index.
Are these two sets of curves or two lists of curves.
Sets have no index and no order …i guess you talking about two lists with curves.
If you merge two list to one list you get listlength 1+2 if you split the new list at listlength 1 you get the same structure before.
This is a very good video of datamanagment in grasshopper.