I have an autocad drawing with lots of contours. I made a terrain model of it in Rhino. How do I do slope analysis for it in Grasshopper or any other plugin for Rhino/Grasshopper that helps me achieve this quickly and easily?
I need to show slopes like
0-3% - yellow
3-10% - brown
and as slope increases, the brown colour darkness also increases. This is a reference image. That's exactly how I want to do slope analysis.
Please provide step-by-step procedure or a Grasshopper sample file/screenshots.
Sure, there are software available like ArcGIS and plenty of others in the GIS universe specifically meant for such graphics.
However, I really don't wanna get my hands dirty in a new software for a thing like slope analysis.
Non Sequitur
Jan 21, 17 9:59 am
So, you want someone to do your homework for you?
lukeggg
Jan 21, 17 10:19 am
convert your surface/polysurface to a mesh in rhino. reference your mesh in grasshopper. find the face normals of each mesh. deconstruct the normal vectors into x y and z. z is the slope. use the gradient component, plugging the z values into the t input, and the bounds of the z into the upper and lower domain of the gradient. the last component you need is the mesh colors component, and the original referenced mesh should go into the mesh, while the output of the gradient goes into color. you will need to graft both inputs.
you can change the gradient values by right clicking on the component and selecting the different preset options.
Marc Miller
Jan 21, 17 10:45 am
use the panda plugin and build a definition.
*although I like lukeggg's answer more.
archietechie
Jan 21, 17 12:20 pm
"However, I really don't wanna get my hands dirty in a new software for a thing like slope analysis."
So then, you want us to get our hands dirty?
your conscience
Jan 21, 17 6:06 pm
you dont need a fucking grasshopper script to do this
sameolddoctor
Jan 23, 17 1:43 am
Theres already a gh plugin available for this, and it works perfectly.
randomised
Jan 23, 17 3:55 am
So, how did your clay renders turn out? I'm starting to feel a bit used, taking a long hot shower now...
MusicFreakArchiGuy
Jan 27, 19 10:38 am
Hi fellow archinectians, I express my sincere heartfeld gratitude to everyone for replies. I stopped following this topic. The terrrain eventually got analysed using ArcGIS by someone else after I posted my query here. In the last two years, I never worked on terrain models. My apologies for not replying.
@lukeggg , I'll surely try your method and get back to you. Thanks. @Marc Miller, I'm installing the panda plugin right now and try your method as well. Thanks. @sameolddoctor, please provide the name of the plugin. Thanks. @randomised, the clay renders turned out to be fine, thanks for showing concern.
MusicFreakArchiGuy
Jan 28, 19 10:32 am
Alrighty guys. I found an answer. I tried installing Panda in Rhino 5 and later in Rhino 6. I get an error that the plugin has expired and I should install a newer version which I"m already doing.
I have an autocad drawing with lots of contours. I made a terrain model of it in Rhino. How do I do slope analysis for it in Grasshopper or any other plugin for Rhino/Grasshopper that helps me achieve this quickly and easily?
I need to show slopes like
0-3% - yellow
3-10% - brown
and as slope increases, the brown colour darkness also increases. This is a reference image. That's exactly how I want to do slope analysis.
Please provide step-by-step procedure or a Grasshopper sample file/screenshots.
Sure, there are software available like ArcGIS and plenty of others in the GIS universe specifically meant for such graphics.
However, I really don't wanna get my hands dirty in a new software for a thing like slope analysis.
So, you want someone to do your homework for you?
convert your surface/polysurface to a mesh in rhino. reference your mesh in grasshopper. find the face normals of each mesh. deconstruct the normal vectors into x y and z. z is the slope. use the gradient component, plugging the z values into the t input, and the bounds of the z into the upper and lower domain of the gradient. the last component you need is the mesh colors component, and the original referenced mesh should go into the mesh, while the output of the gradient goes into color. you will need to graft both inputs. you can change the gradient values by right clicking on the component and selecting the different preset options.
use the panda plugin and build a definition.
*although I like lukeggg's answer more.
"However, I really don't wanna get my hands dirty in a new software for a thing like slope analysis."
So then, you want us to get our hands dirty?
you dont need a fucking grasshopper script to do this
Theres already a gh plugin available for this, and it works perfectly.
So, how did your clay renders turn out? I'm starting to feel a bit used, taking a long hot shower now...
Hi fellow archinectians, I express my sincere heartfeld gratitude to everyone for replies. I stopped following this topic. The terrrain eventually got analysed using ArcGIS by someone else after I posted my query here. In the last two years, I never worked on terrain models. My apologies for not replying.
@lukeggg , I'll surely try your method and get back to you. Thanks.
@Marc Miller, I'm installing the panda plugin right now and try your method as well. Thanks.
@sameolddoctor, please provide the name of the plugin. Thanks.
@randomised, the clay renders turned out to be fine, thanks for showing concern.
Alrighty guys. I found an answer. I tried installing Panda in Rhino 5 and later in Rhino 6. I get an error that the plugin has expired and I should install a newer version which I"m already doing.
And.....!!
Mr. Zawarus is da dude!!!
https://www.youtube.com/user/P...