algorithmic modeling for Rhino
hello,
is there an easier way to sort lines like in the added sketches. my solution works with round 1000 lines. but > 1000 lines gh crashed.
output are these lines, each with start and endpoint number assigned. number of start and endpoints must be unique (no duplicate points)
output as list: lineno/startpointno/endpointno
10/3/12
1/4/13
..........
thanks
Tags:
How about this one?
Best Regards
DeDackel
thanks, but still the same problem. works with around 1000 lines, but i need a solution for up to 5000 lines. i think the problem in my version is the "duplicate data", in yours its the "min" component. there the lists of points are "multiplied" to compare them. eg 1000 lines will make 2000 start+endpoints, compared to around 1500 points makes 2000*1500=3*10^6 list entries. and there gh runs out of memory.
Do you need only the list or do you need to work on in this defenition? I am meanig if this is part of a bigger definition or does it end there?
its a bigger definition, this routine is only a small part of a big script. but i dont do anything more with the resulting lists, just stream them to excel.
Than create step by step
- Crvs 0-999
- Crvs 1000-1999
- Crvs 2000-2999
....
file attached
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
© 2024 Created by Scott Davidson. Powered by