algorithmic modeling for Rhino
I made a python script that estimates the direction of drainage paths on a surface.
It does not deal with puddling or accumulation, and if you have any suggestions on how to make it faster or to improve it in any way, let me know -- this is a first draft.
you can see the python code in this github gist:
https://gist.github.com/1054969
Tags:
Daniel,
many thanks. I didnt realise that the pull to mesh component had the same/similar functionality and overlooked it first time round.
I did get some great results from kangaroo so thanks. I had been speaking with my tutors (DS10 at westminster) who had suggested the scripted approach may provide a way to achieve denser results, but i did manage to get the following from kangaroo after my initial forum response on this thread. I will have a go with the pull to mesh approach and really appreciate kangaroos functionality! Thanks for your input! :)
Regards,
Chris
Hi Chris,
just wondering how did you create that image above? I suppose those are all the water lines generated?
What is the T in your grasshopper component?
Hi Neil,
do you mind sharing the script that you used?
many thanks
Hello everyone,
I am a total beginner with Python, Rhino and Grasshopper, but I need to model the drainage paths on a surface.
I imported a .jpg file into grasshopper and created a Surface from Points. Now I tried to use your python script to model the drainage.
When running the script it appears the Runtime error 'terrain surface' is not defined.
But to be honest I am not sure if I even did connect the Python component correctly with my surface and further on then imported the surface correctly into the skript.
As I said, I am a total beginner and I would really appreciate any help.
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