Then I combine these two back together with weave as you see above, but the order of points gets messed up as visualized by a curve connecting them before and after:
I know I can also dispatch the indices, weave them back, and then sort the woven lists to the woven indices, but because one of the sublists has gotten bigger (points were added), how do I also correctly append new indices?
Maybe that should be the topic title:
âHow to append new indices after dispatchâ ?
Anyway,
I know I can just Sort Along Curve the new woven lists and itâs all good:
@Mahdiyar thank you for helping me understand what I am doing and growing my knowledge.
Silly of me to be dispatching stuff in the first place.
I will now enjoy a whole day of âgardeningâ to revolutionize my script before I ruin my work any further
No matter how simple this is it helps tremendously - it prompted me to understand masks in grasshopper a lot better (again) and dig deep into my bookmarks in the old computer to find this thing again and be a student (again):
@Mahdiyar
Thank you - I think I still might have miscommunicated the problem. This is helpful, however the starting points must also make it back into the final list after inserting the new points. You can see the points (red) that were left out:
Many thanks for all the help - youâve taught me and now I can think of other ways to work with this tree by playing with the domains of the indices + masks to split trees and/or sublists.
In the original (bigger) definition, I can now go back to play as long as I keep domains in order.
Also, the issue with âappending new indicesâ is solved by adding points the way you showed me in the first response: