[Grasshopper] How to use Shift List to shift data

[Grasshopper] How to use Shift List to shift data Grasshopper component EN

This article explains how to use Shift List to shift data.

Shift List1
Shift List2

On the Grasshopper, it is represented by either of the two above.


↑Youtube Channel

Shifting Data

Shifting Data

Shift List can be used to shift data.

Input the original data to the Shift List(L).

In this case, a list of 0~9 data is input.

Input the numerical value to be shifted to the Shift List(S).

This time, 3 is input.

Then, as shown in the image above, the first three data are shifted to the bottom of the list.

changed the value

We changed the value from 3 to 5.

Then, the data is shifted by 5.

In this way, the data can be shifted by the amount of the entered value.

Deleting Displaced Data

True

The displaced data can also be deleted.

Enter Boolean Toggle in the Shift List(W).

The Boolean Toggle can be toggled between True and False by double-clicking on it.

If the Shift List(W) is not entered, it is initially set to True.

So, entering True will not change it.

False

If you set it to False, the misaligned values will be deleted.

In the case of the image above, the first three misaligned values are not in the output data.

typing the word

You can do this without using the Boolean Toggle or by typing the word False.

List of Grasshopper articles using Shift List component↓

Comment

Translate »