0,
I want to move everything in {2} up 5 and 10 and 15,
Any ideas. I have been trying using the series component to create the right data structure but somehow its not working and i am sure there is a simple way?
Do i have to repeat the data so that the number of transform data matches the input list or is there a way to simply apply the transformation to everything in {0}{1} and {2} respectively depending on its structure ??
Hopefully this makes sense? I am not really sure but is it a job for stream - i cant understand why i cant get it to work. Sorry i am sure this is covered in the forums, i have been looking but cant anything which helps specifically.
Many thanks
Chris…
ranches and two leafs on each branch but rather 1 branch with 50 leafs which was ok since i found this post by Manuel {A;B}(i) -> {Floor(i/ceiling(item_count/25))} but when I feed this into a curve component I get an error. I assume there is a way to alter a tree and then use it to create geometry, correct? If you have a chance could you please take a look. The end goal is to create 25 lofts one loft per boundary of a subsurface and circle. Really the result isn't that important I am just using this exercise as a learning tool.…
Added by jon kontuly at 8:09am on January 31, 2010
but the commas in this case are interpreted as group separators (as in 1,573.99) and are thus ignored.
As for the mysterious one, 25 written in binary is 00011001 and 175 written in binary is 10101111. The vertical bar symbol is the C-language OR operator, which results in a 1 if any of the inputs is 1. Thus:
00011001 OR 10101111 = 10111111
which equals 191.
To make it work you should call AssignDataToParameter not with a single string, but with an array of 5 items.
Dim array() ReDim array(4) array(0) = 25 array(1) = 0 array(2) = 0 array(3) = 0 array(4) = 175 Call GH.AssignDataToParameter(id, array) Call GH.RunSolver(False)
My RhinoScript at the moment doesn't work for some reason, so I couldn't test this.
--
David Rutten
david@mcneel.com…
hem up to .25like1.251.501.752.00or just11.522.53etc..How could I do that???Question 2:I've got a list of surfaces that has different width and I would like to sort them in a table or just to know how many surfaces have, for example, 2.0 or how many have 0.25, etc and have them all in a list...Can anyone help me on that?Thanks so muchMaurice…