I am trying to build a script that analysis slopes of a terrain based on the percentage and assigns colour based upon the various ranges of slopes in which the respective portions of terrain falls into.
I tried using plugins viz. Bison and Groundhog. They do not provide any facility to change the various slope percentages. Therefore, I am using native components to build the script for slope percentage colouring.
The trouble I’m right now facing is that the script wrongfully colours the maximum slope with the colours assigned to the minimum slopes. The colours assigned to high slopes are being used for shallow slopes.
What should I do to make it work correctly?
Moreover, I have architecture background, and therefore know no programming language like C#, python, visualscript, etc. I am therefore, seeking a solution that doesn’t use any code so I can comprehend what exactly is going on.
I created the terrain by using patch command on a set of contour lines raised at different levels.
TERRAIN ANALYSIS_ARCHZ2_ATTEMPT_NOV_3.gh (644.3 KB)