sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Terrain from contours - improve on native 'from contours'?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    99 Posts 18 Posters 19.5k Views 18 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.
    • fredo6F Offline
      fredo6
      last edited by

      @pbacot said:

      Those terrains look great for OUR general purpose: showing the new construction in a simulation of the site. I would be curious to see it at a higher resolution of quads. I don't think 30 sec is that long, though I imagine the time goes up exponentially when you try to add a little more detail.

      Here is a more detailed reconstruction of the terrain, with a grid 120 x 53. This one takes less than a minute.

      Indeed, the best would be to adjust the granularity of the mesh based on the resulting terrain shape itself (more than the density of the contours actually).

      DN house contours - pbacot - 6 Jan 13 - results.skp

      House pbacot 6 Jan 13 - 3.png

      Fredo

      1 Reply Last reply Reply Quote 0
      • utilerU Offline
        utiler
        last edited by

        Sorry to sound a little dumb but Fredo what is the process you're doing here?

        1. Start with imported contours
        2. run through Curviloft

        purpose/expression/purpose/....

        1 Reply Last reply Reply Quote 0
        • pbacotP Offline
          pbacot
          last edited by

          Yes, that's looking quite muscular. that's worth a minute, depending if you can handle the number of polygons in the end. Thanks for posting! Looks like progress is good.

          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            @utiler said:

            Sorry to sound a little dumb but Fredo what is the process you're doing here?

            1. Start with imported contours
            2. run through Curviloft

            Toposhaper uses a different algorithm which is more adapted to terrains and can cope with connection of more than two contours (for example when you have a saddle). It also works on a quad mesh.

            So it is a very different approach compared with Curviloft

            Fredo

            1 Reply Last reply Reply Quote 0
            • utilerU Offline
              utiler
              last edited by

              Thanks Fredo, so if I triangulated points with your triangulate plugin then ran toposhaper I'd get this result!!!!???

              purpose/expression/purpose/....

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

                Nice evolution Fredo, I'm still waiting for this magical tool !! Keep up the good work and I'll hit the donate button again !! ๐Ÿ˜‰

                1 Reply Last reply Reply Quote 0
                • fredo6F Offline
                  fredo6
                  last edited by

                  Here is the terrain with a much higher definition 200 x 88, so around 35,000 triangles generated. Takes longer of course, but does not bring a lot more details compared with the low and medium definitions terrains.

                  DN house contours - pbacot - High Def.skp

                  House pbacot 6 Jan 13 - high def.png

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • fredo6F Offline
                    fredo6
                    last edited by

                    @utiler said:

                    Thanks Fredo, so if I triangulated points with your triangulate plugin then ran toposhaper I'd get this result!!!!???

                    With TopoShaper you really need to have contours as curves, not a set of altitude points. This is because the Terrain construction uses contours to delimit the zone of influence on points comprised between contours.

                    With a set of altitude points, the algorithm would be more based on Skinning, with Bezier or Nurbs methods, which is another kind of script (I can do it, but it would definitely not be very fast with Ruby only).

                    So, all you need is the contours and then run Toposhaper, as shown in previous videos and the video below

                    TopoShaper pbacot on House 50.gif

                    Fredo

                    PS: As far as I remember, I have not written (yet) a "triangulate plugin".

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

                      @unknownuser said:

                      With TopoShaper you really need to have contours as curves, not a set of altitude points. This is because the Terrain construction uses contours to delimit the zone of influence on points comprised between contours.

                      With a set of altitude points, the algorithm would be more based on Skinning, with Bezier or Nurbs methods, which is another kind of script (I can do it, but it would definitely not be very fast with Ruby only).

                      Fredo,

                      During my works I found a workaround with altitude points. I draw a high vertical line on each point (as they're usually components, it's a very fast operation), this way the sandbox is using contours instead of points, ignoring the bottom point of each line. Will this method work with your plugin ?

                      1 Reply Last reply Reply Quote 0
                      • fredo6F Offline
                        fredo6
                        last edited by

                        @panga said:

                        During my works I found a workaround with altitude points. I draw a high vertical line on each point (as they're usually components, it's a very fast operation), this way the sandbox is using contours instead of points, ignoring the bottom point of each line. Will this method work with your plugin ?

                        Unfortunately, it won't work. TopoShaper really needs contours to drive the interpolation. Keep in maind that with only altitude points, there are multiple solutions because you cannot isolate zones just with scarced points.

                        Fredo

                        1 Reply Last reply Reply Quote 0
                        • utilerU Offline
                          utiler
                          last edited by

                          Fredo, I assume Toposhaper is a work in progress and hasn't been released yet? I can't find it for download...

                          Cheers,

                          purpose/expression/purpose/....

                          1 Reply Last reply Reply Quote 0
                          • fredo6F Offline
                            fredo6
                            last edited by

                            @utiler said:

                            Fredo, I assume Toposhaper is a work in progress and hasn't been released yet? I can't find it for download...

                            Cheers,

                            Correct, it is work in progress. However, I think I have done most of the algorithmics now and should be able to release a first simple version soon.

                            In the meantime, I am still interested in getting models of contours to test the plugin.

                            Fredo

                            1 Reply Last reply Reply Quote 0
                            • utilerU Offline
                              utiler
                              last edited by

                              OK, do you want them in DWG or SU? I'll send a few through....

                              purpose/expression/purpose/....

                              1 Reply Last reply Reply Quote 0
                              • pbacotP Offline
                                pbacot
                                last edited by

                                I'm "cooking" one up in Sandbox right now. I'll send the file when it gets done. Taking about 10 min. to do "from contours". It's a nice one with hills and saddles.

                                MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  twestover
                                  last edited by

                                  Will the plugin work with an already triangulated surface?

                                  Say I have imported and triangulated a set of XYZ data, and wish to turn it into a solid group like your final product, with vertical sides and a horizontal bottom. Is that possible?

                                  1 Reply Last reply Reply Quote 0
                                  • utilerU Offline
                                    utiler
                                    last edited by

                                    Fredo, would you like contours in DWG or SU?

                                    purpose/expression/purpose/....

                                    1 Reply Last reply Reply Quote 0
                                    • fredo6F Offline
                                      fredo6
                                      last edited by

                                      @utiler said:

                                      Fredo, would you like contours in DWG or SU?

                                      I prefer SU as I am not familiar with CAD and Archi software (I don't know DWG format).

                                      Thanks in advance

                                      Fredo

                                      1 Reply Last reply Reply Quote 0
                                      • pilouP Offline
                                        pilou
                                        last edited by

                                        @unknownuser said:

                                        I prefer SU as I am not familiar with CAD and Archi software

                                        Except one! SU Itself ๐Ÿ˜‰

                                        Frenchy Pilou
                                        Is beautiful that please without concept!
                                        My Little site :)

                                        1 Reply Last reply Reply Quote 0
                                        • utilerU Offline
                                          utiler
                                          last edited by

                                          Here's a few contour Skippy's, Fredo.

                                          Survey01 - contours or a regular residential site of about 800sqm with a 15m fall. Contours at 250mm....

                                          survey01.skp

                                          Survey02 - contours over a commercial development site of about 2800sqm. Contours at 200mm increments with minimum grad.

                                          survey02.skp

                                          purpose/expression/purpose/....

                                          1 Reply Last reply Reply Quote 0
                                          • fredo6F Offline
                                            fredo6
                                            last edited by

                                            Andrew

                                            First of all, thanks very much for posting these 2 samples. They are extremely useful for fine tuning the algorithms.

                                            I have problem about the calculation of the concave hull for the first one, but here is the second one, in 2 flavors:

                                            • the original altitude (which are very flattish)
                                            • the exaggerated altitudes which help me to better check the calculations

                                            utiler_survey02.skp

                                            Utiler Survey02 by TopoShaper.png

                                            Utiler Survey02 by TopoShaper max.png

                                            Fredo

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

                                            Advertisement