1.2.03. DATA INDEX 2

Loading

Date published: August 8, 2022

DESCRIPTION

When accessing individual items in a list, one must use an index value. The first item in any list is always stored at location zero, the second item at location 1 and so on and so forth. Typically, if you start to access a list at index -5, an error will occur since no such location exists. However, some components that deal with indices have a Cycle option that remaps any index values onto the valid domain.

PROCEDURE

1.Create a series of numbers from 0 to 10, with an increment of 1
2.Draw points with as x-coordinate the numbers from the series
3.Select an item from this list using a slider
4.1 = switch cycle on; 0 = switch cycle off
5.Tag the itemized point

This exercise is using Grasshopper version 1.0.0007

References:  Grasshopper Tutorials (2015), wiki.mcneel.com/labs/explicithistory/examples, Accessed 12/07/2022.

Software

Rhino 

Plugins

course files

Data_Index_2.zip

600.89 KB | 938 downloads