sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Slope analysis of 2d Autocad contour drawing

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    23 Posts 7 Posters 3.9k Views 7 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.
    • jeff hammondJ Offline
      jeff hammond
      last edited by

      if you read through the color by slope thread, you'll see that TIG has written the code to get the desired function.. it hasn't been added to the published version though..

      i'm going to assume neither chris nor tig are going to combine it or else it would of been done already.. most of the requests in the thread were to have the functionality which tig addressed.

      basically, someone with some ruby knowledge will have to explain (in simple terms) how to add tig's code to color by slope..

      (i just tried and failed miserably.. πŸ˜† )

      dotdotdot

      1 Reply Last reply Reply Quote 0
      • john2J Offline
        john2
        last edited by

        @krisidious said:

        Perhaps you could use Photoshop or Gimp to replace colors?

        Oh wait. It's not letting you dictate certain slopes. just it's own determination huh? I think this is going to be something that doesn't exist.

        Yes, it is determining by itself. Auto mode, i just enter rgb values and it does the thing by itself.

        Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

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

          I've PM's you an adjusted version of Chris's RB that should do what you want...

          TIG

          1 Reply Last reply Reply Quote 0
          • KrisidiousK Offline
            Krisidious
            last edited by

            Oh do share Tig...

            By: Kristoff Rand
            Home DesignerUnique House Plans

            1 Reply Last reply Reply Quote 0
            • KrisidiousK Offline
              Krisidious
              last edited by

              Oh it's Chris' plugin adjusted... I understand. 😞

              By: Kristoff Rand
              Home DesignerUnique House Plans

              1 Reply Last reply Reply Quote 0
              • john2J Offline
                john2
                last edited by

                Thanks a lot!

                There's one little problem.

                I made the terrain using topo plugin of fredo. The faces that i colour using modified plugin are coming in ugly triangular fashion. What can i do to make the colour smoother?


                zztg1.jpg

                Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

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

                  You can't. πŸ˜•
                  The facets are individually colored depending on their slope %.
                  If you make a more subdivided mesh [with finer settings or using say Artisan to post-process it ?] the facets will get smaller... but they'll always be small triangles of a single color, no matter how small they get.
                  You don't want to go too fine as the extra geometry will slow down SketchUp significantly...

                  There is way of using a 'projected' graduated textured material initially on a large vertical face to show faces of differing heights smoothly transitioning - from dark to light say - on a terrain mesh.
                  https://3dwarehouse.sketchup.com/model.html?redirect=1%26amp;mid=77627ea5941ff3d387ecd6083924dba
                  http://sketchucation.com/forums/viewtopic.php?p=149747#p149747
                  But if you think about it a little... you can't do the same with 'sloped' facets because those can occur anywhere in 'elevation'...
                  How could you ever get the right effect between two adjacent slopes which could be at any other slope compared to the first one you considered ? Also every triangle would usually have three neighbors each needing a different transitional graded color/texture and then those in turn etc...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • john2J Offline
                    john2
                    last edited by

                    Okay, so what is the most visually cleanest way to do this?
                    Subdividing with Artisan only or any other free alternative?

                    And I'd like to thank everyone who guided me to this stage.
                    I've visited this forum after a really long time and getting a specially customized plugin messages to me, simply blew my mind away.
                    Thank you TIG sir and everyone

                    Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

                    1 Reply Last reply Reply Quote 0
                    • KrisidiousK Offline
                      Krisidious
                      last edited by

                      This place is mind blowing... It's a fantastic community of dedicated folks who love to help. It's the best forum I've ever known. Tig is one of our Rock Stars... His personal contributions to our community are staggering.

                      By: Kristoff Rand
                      Home DesignerUnique House Plans

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        originalsurfmex
                        last edited by

                        I am looking for the exact same thing. Would you mind PM'ing me a modified .rb as well? Thanks so much for constantly helping out the community.

                        1 Reply Last reply Reply Quote 0
                        • srxS Offline
                          srx
                          last edited by

                          When reading this a thought came to my mind - how does SketchUp shadows work? Isn't it a graphic representation of the angle between sun and the face. And it is smooth. The same could be used in this case. Sorry if I am talking nonsense. I am not the TIG πŸ˜‰

                          www.saurus.rs

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

                          Advertisement