i mean, i want a slider that can do 3 sides, 4 sides, 5, 6, 7, 8, 9 and 10. for the grids because I dont want to use a fixed grid shape such as square grid (4 sides only).
nts me this:
[[0], [0, 1], [0, 1, 2], [0, 1, 2, 3], [0, 1, 2, 3, 4], [0, 1, 2, 3, 4, 5], [0, 1, 2, 3, 4, 5, 6], [0, 1, 2, 3, 4, 5, 6, 7]]
this is what I wanted but how to convert this to tree in grasshopper?
In grasshopper I just get:
8x IronPython.Runtime.List…
vector * number
8. number * point
9. point * number
10. complex * complex
11. colour * colour
12. colour * number
13. number * colour
--
David Rutten
david@mcneel.com
Seattle, WA…
Added by David Rutten at 10:39pm on November 12, 2010
4, 3, 7, 7, 7, 8
would need to be
5, 6, 7, 8, 4, 3, 7, 8
ideas?
current workaround (kangaroo dupPt component) removes all duplicates from list, tho does maintain order.
thx…
me. But if min = 5 and max = 12, then the range will be (12-5) = 7.
If you have only a fixed number of values, why not use a Value List to encode those?
You can still use a slider to select a value out of a list of presets, but the UI of the ValueList is more friendly, especially if the list of presets isn't particularly continuous. You can extend a single ValueList to have all 12 preset date+time combos as well.
Sliders values can be post-processed using an expression. For example you could add the 'x*3' expression to a slider, and then the value 0, 1, 2, 3, ... would be mapped to 0, 3, 6, 9, ...…
Added by David Rutten at 5:30am on January 21, 2016