path = 0;0
item = 3 path = 0;0
item = 25 path = 0;1
item = 46 path = 0;2
item = 7 path = 0;3
would output
0;0
0;0
0;1
0;2
0;3
I'm sure there is a way to do this, especially with the new Tree statistics component, but I couldn't think of a super straightforward way - so I defer to the grasshopper community.
Anyone have a preferred method for this task?
Thanks
Brian…
Added by Brian Harms at 12:37am on October 10, 2012
ersect (2, 3, 4, 5, 6) with the line and the ones which do not intersect (0, 1, 7). Intersect is done! But how to get the non intersecting vectors (0, 1, 7)?
So I e. g. could deselect vectors 2, 3, 4, 5, 6 so I would display/use only vectors 0, 1, 7 and the bounced ones.
Appreciate your help!
Rudi…
ea being the further up the column, the more dramatic the effect. For example:at 1", the effect is at 1at 3", the effect is at 3at 7", the affect is at 7, ect.I figure it must be some form of formula, but I am uncertain how to call upon other number sliders, or how to set it up.Thanks!…
am however having a problem with something simple - limiting a set of values between a fixed set that I need help with please?
For example, I'd like to transform this list . . .
(2, 16, 4, 65, 12, 41, 7, 1, 22)
into this one . . .
(5, 16, 5, 25, 12, 25, 7, 5, 22)
i.e. selecting all numbers below 5 and changing them to 5 and selecting all numbers above 25 and changing them to 25.
I know it's possible with a simple If, Not, Then series but I'm rubbish at code!
Also, is there a simple way to apply dimensions to rhino objects from within GH?
Thanks for your help!
Cheers
James…
53 → 53 → 63 → 74 → 74 → 84 → 9
As you can see from the above list the connection sequence comes in waves of three, where each group of similar indices on the left is associated with a group of three incrementing indices on the right.
Some combination of Series components will probably generate this list, but it'll only work for the first ring, the second one will need a different connection pattern. It is perhaps better to just encode the integer pairs by hand. But then you cannot change your mind about the number of sides later.…
Added by David Rutten at 10:39am on October 21, 2015
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).