019 – Sift pattern
Updated: May 16
Sift Pattern
"Sift Pattern" filters the elements in a list using a repeating index pattern. A pattern is set to control the data in different lists which is similar to "Stream Gate". The main difference is that "Sift Pattern" can accept several items in the "Sift Pattern" input (similar to "Gate" input) and can be structured in branches, while "Stream Gate" can’t.
The Sift component in Grasshopper provides several benefits for pattern creation and manipulation. Firstly, it allows you to easily filter data based on specific criteria, making it a useful tool for selecting and organising information in your design. The Sift component also provides a way to perform set operations, such as union, intersection, and difference, on multiple sets of data, improving the efficiency and accuracy of your design.
Additionally, the Sift component enables you to perform operations on data based on its position or index, allowing you to easily manipulate and transform large amounts of data. This can be particularly useful when working with complex patterns or when you need to manipulate data in a specific order.
Steps:
Step 1: Connect your 'data' component to the 'sift pattern' component.

Step 2: Then connect list 0,1,2 to a panel on the right side.

Step 3: Also add a 'number slider' to your 'sift pattern'.

Note: It is similar to a 'stream gate'. You can add one underneath the 'sift pattern' to compare the differences. The main difference is that 'sift pattern' can accept several items.

Learn more
Read our previous blog post or sign up to our platform here to put your Grasshopper models online and share them.