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

    How to make a terrain from contours and points

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    14 Posts 6 Posters 9.2k Views 6 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.
    • R Offline
      remus
      last edited by

      I dont think it can be done using the sandbox tools. Theres a ruby over at smustard that joins all points with the same z height, im not sure ho well it works but its probably worth a try.

      Once youve run this script you should be able to use the native SU sandbox tools.

      http://remusrendering.wordpress.com/

      1 Reply Last reply Reply Quote 0
      • P Offline
        Panga
        last edited by

        I'm gonna try right know.

        Thanks.

        1 Reply Last reply Reply Quote 0
        • P Offline
          Panga
          last edited by

          Ok Remus,

          This script is fine, but not useful for me because I already have contours and points. And the only thing is to find a way that the sandbox or any other script picks all of them to make the terrain, but thanks anyway.

          Any other ideas ?

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            What types of "points" do you have? Is there a way to turn them all into really small line segments? Maybe that will help.

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • P Offline
              Panga
              last edited by

              Hi Chris,

              My points are "guide points". And yes, I thought about replacing my points by small lines...but my model will be too complex after that...

              I join my skp file and a screenshot, in order you can check it if you want.

              Thanks.

              relief.skp
              screen.jpg

              1 Reply Last reply Reply Quote 0
              • P Offline
                Panga
                last edited by

                Hi people,

                I found a solution, so here it is :

                Because the sandbox do not recognize points, we have to use lines, this is a problem. As you said Chris, replace the points by small lines could help but it also will make my model too complex...But there's another problem boring problem with the sandbox : sometimes it ignores some lines, or line vertex because they're too close or...too far ! And here is the solution.

                I made long lines from my points in the Z axis, and when I use the sandbox, it picks the top of each line (which is my original point), and it ignores the other extremity of the line, too far below !!

                So sometines one defect can be useful to avoid another one !!

                Hope that'll be useful for everyone.

                See u.

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  Hey, thats really interesting. Thats the kindof trick that might come in handy repeatedly. I'll play with tomorrow,

                  Chris

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • GaieusG Offline
                    Gaieus
                    last edited by

                    There is points_cloud_triangulation.rb by Didier in the Ruby Library Depot. it "Creates triangles starting from a construction points selection. Requires delaunay2.rb (optimized delaunay triangulation). Useful to create terrains starting from points cloud data."

                    You may have some success with it.

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mozzie
                      last edited by

                      My guess is that Panga wanted to use the points cloud triangulation - trying to covert lines to points, for example. I've had this problem with survey data, so I was interested in finding a solution.

                      I thought the problem could possibly be helped by creating lines between points - these would not be true contour lines, but would produce the desired surface. This does require a little care with the lines but works OK. I searched for a ruby file to do this (Join selected points with lines) but came up empty.

                      His solution gives a better result, I think. It is a bit more work to do manually , but probably simple enough to script. I'm no programmer - but I'll give it a shot.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Panga
                        last edited by

                        Hi Mozzie and Gaieus,

                        First, points_cloud_triangulation.rb is only taking points for triangulation, and it ignores completely the path of level lines during the triangulation...too much work after to correct the errors.

                        If you organise well your file before importing in skecthup, it's not more work using my procedure. I work with autocad files, and all my points are instances of the same block. Sketchup automatically converts each block in a component, so in sketchup I have instances of the same component.
                        I just have to edit one of them, to draw a line on the z axis, and i'ts done !! Then I explod all the components, select all my contours lines and my new "vertical lines", and use the sandbox.

                        screen2.JPG

                        screen3.JPG

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          gksl4
                          last edited by

                          Have a look for Simuterra at

                          favicon

                          (www.compuneering.com)

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            Panga
                            last edited by

                            Thanks for the info, I think I already found int the past that plugin, but I completely forgot it !! 😉

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              mozzie
                              last edited by

                              Thats great!
                              I always learn something new here.

                              Thanks Panga.

                              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