sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Slope Analysis by Angle/Percentage

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    4 Posts 2 Posters 1.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sawhack
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Try http://sketchucation.com/pluginstore?pln=gradienttools

        TIG

        1 Reply Last reply Reply Quote 0
        • S Offline
          sawhack
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            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 !


            Capture.PNG


            Capture1.PNG


            Capture2.PNG

            TIG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement