Slope Analysis by Angle/Percentage
-
I was in a bit rush today and i have no idea if I can do this task in instant using sketchup but I was looking for a slope analysis plugin for sketchup, I found 2 the color by slope and Color by Z of Chis Fullmer. However, I cant find its use in my field or even its overall plugin purpose since I can't input the percentage of slope or angle for every assign RGB i enter. Hope anyone can answer my question.
Thanks.
-
-
Thanks TIG for your response, but is there a way I can do this on a large scale land or similar to Chris Fullmer plugin that is has color value per slope. I saw your post in Chris Fullmer Color by Slope where should replace the original ruby script in notepad by the one you generate however, I don't know which file should I replace with the one you post or if i should remove all the scripting text and replace it.
-
I think Chris's tools have moved on from those old posts...
His ColorBySlope tool colors facets according to their 'angle'.
In his Plugins subfolder's ..._data.rb near the end you can see how the faces are processed and their angle is calculated as 'segment' [as an integer].
The array of materials [matarray] is inspected and the material number corresponding to the 'segment' is assigned to the facet...If you setup 90 colors then for each degree of slope you get a correspondingly colored material on the face...
With just 9 colors you get a 10 degree range of slope between flat and vertical.So for example - set 'low' to green [0,255,0] and high to 'red' [255,0,0]
Then the steeper the slope the redder it gets ?
The flatter the slope the greener it gets ??
Not all colors will get used - r.g. if the majority are quite flat it's predominantly greens as there are no steep red parts !
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement