Yes, basically it goes back one step(or the number you specify) in your data structure.
Take for example this simple definition that creates a circle, divides it in points, uses those points to split the circle into segments and then divides those segments into points again.
You can see how the data structure becomes more complex with each step:
Shift Path allows you to “go back” one or many steps.
See for example the last part and compare step 3) with step 5) (one step for each Param Viewever)
- On step 4) You have 4 segments, and each of these segments contains 5 points.
- Before this on step 3) , we only had 4 segments, all in 1 list.
- When we use Shift Path on the last step 5) , we go back to having 1 list. But in this case is a list of 20 points. Why 20? Remember we had 4 segments and 5 points per segments 4 x 5 = 20.
So in conclusion: Step 3) = Step 5) in terms of data structure.
So, important note: “Going back” does not mean you will have the same geometry. We are only talking about data structure, you go back to the same data structure, but you now have Points instead of Circle segments.
Now instead of 1 circle consider 2 circles (don’t worry for 3, 4, …100 circles it is the same as with 2 )
Experiment and try it yourself:
shift path explanation.gh (18.8 KB)