algorithmic modeling for Rhino
Hello! lets say I have a list with 6 geometries in it, and I want to make the following lists:
index: 0,1,2 and 2,3,4 and 4,5,6
I have tried the partition list with size 3 but I get index: 0,1,2 and 3,4,5 etc
so i need something that will repeat the last index into the next one.
Also i want it to be repeated until all items are placed with the number of geometries I add.
Thanks!
Tags:
That is great! I wouldn't think of that im still a beginner
Thanks a lot alex
What is actually the work of the clean tree?
Sublist component has wrap set to false, in order not to treat the initial list in a cyclical manner, and to end sublisting when indices are exhausted. This results an output with empty branches, which usually are not needed to the rest of the definition.
you can connect a panel to each output and check data tree structure before clean tree with wrap set to true and false and see this behavior.
best
alex
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by