Thissaturday we organize a workshop in Trieste, Italy, about grasshopper and 3d Printing. We share our definition and 3d printers to let people customize and print their bracelet.
eries of ramps with slopes =< 10%.
Here's my pseudo-code:
1. Populate brep with random points
2. Sort points by Z values
3. Draw line from point '0' of sorted points to all other sorted points
4. Project lines down to plane of first point and cull all lines =< 5.7 degrees (10% slope)
5. Sort remaining lines by length and return line with the largest length (what I want)
6. Cull all points used to create lines =< 5.7 (step 4)
7. ??? now, I want to somehow pass remaining points from step 6 back into the loop and return the next curve that is: the largest length curve from all curves =< 5.7 degrees
I've attached the script
Thanks ya'll!
…
one can see how the drainage paths generated from a series of fixed sources shift to find the slopes and valleys in the terrain.
For each source point, the algorithm:
1. finds the downward sloping direction
2. moves in that direction a designated distance
3. finds the closest point on the surface
4. if this new point is not higher or too close, then
5. it repeats from the new point.…