algorithmic modeling for Rhino
I've been trying to create a file that uses a pattern. Every 10 steps you increase the input (slider, knob, whatever) , the amount that the shape gets enlarged is increased by one. So:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, etc
In addition to the components in the attached file, I have also tried using Cull Index but that did not do much. I tried using a number slider set to whole numbers with the range equal to the values I have set up in the integer, but it just increases the size by 1 every time. Any help on steps in the right direction would be great thanks.
Tags:
Hi Tyler,
so what is wrong with the file you posted? Do you want to be able to compute the list currently inside your integer parameter or do you want to compute any single number in this list by supplying an index with a slider?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
yes I want to only use the numbers inside of the integer's list that I created. I can get the output panel to display this, but if I connect the data to say, a sphere, and move the slider back and fourth, the sphere only gets bigger or smaller by 1 each time.
Since I have 50 values in the integer list (0 - 49) I have the slider's range set to 49 at 0 min and 49 max. I want each interval of the slider to use each one of the values i have set, but only those values. I am new to Grasshopper, learning it in a computational design class so thanks a lot for the help!
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by