algorithmic modeling for Rhino
there is a component for spliting a string into individual charaters. then you could shift list -1 andstring join back together again. if you need i can post a demo later
thanks david, never thought about using the index cull like that
using an f1 component, you could use the formula
Left(x,5)
x being your list of values in x,y,z, format.
ideally it should include the string length function -1.
cannot remember if is left(x,length(x)-1) or left(x,len(x)-1)
I do like the cull index example!
Just want to say, loving the level of response on this forum. I hope to contribute something back one day!
I've tried both methods, the cull method seems faster computationally, which may be handy to know!
Thanks!
Note that the first time a component runs it will take a long time to complete because it must be compiled first. Try hitting F5 and then look at the real performance.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
I refreshed several times, on average the function method was slower.
Not much of a big deal unless you had several several tens of thousands of points though really.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by