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

    Topography into sketchup

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    40 Posts 16 Posters 21.0k Views 16 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.
    • Didier BurD Offline
      Didier Bur
      last edited by

      Hi

      @unknownuser said:

      Is point cloud a term generally used in Terrain modelling circles?

      Not really in the topographic circles stricly speaking, but more in the computer modelling world, DEM, geometric reconstruction calculation, and laser modelling.
      I've seen it sometimes in english, but I must say not so often. It is widely used in french... 😉.
      I had to write this script to import models in Sketchup modelled with a laser and use them along with Geomagic http://www.geomagic.com/fr/products/studio/, a very good STL modeler.

      DB

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

        Thank you so much for all of that information guys. I knew absolutely nothing about this and it is great to be able to understand something a little outside of my usual experience. Thank you for your time and patience in explaining it to me.

        Susan Sorger
        Former Seller Hand Rendered Entourage
        Former Canadian Authorized Training Centre, SketchUp

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

          James,

          I have sent you an email, please, confirm the delivery...

          Gai...

          1 Reply Last reply Reply Quote 0
          • K Offline
            Kaladar
            last edited by

            To create topography in SU I import a contours-only file from ACAD, then use Sandbox > Create from contours to get a DTM. Then I import a second ACAD file, roads and paths only, which I then stamp onto the DTM. Is there a way to fill only the stamped areas using the paint bucket with appropriate materials, eg, asphalt paving, gravel, etc?

            Thanks all.

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

              Normally a stamped surface is horizontal (and a single face only) that you should be able to paint separately.
              Are you sure you are not talking about the drape tool?

              Gai...

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

                Hi All,

                Can I pick your brains further on this subject?
                I have read as much as I can here about creating terrain in SketchUp, and I have produced very basic surfaces which have served their purpose.
                But I am now being asked to do this on a much more detailed level using site survey that has been supplied.
                The data seems to be supplied only in 2D with different levels indicated by different colours. For instance the "general" lay of the land is in red, whilst steep embankments are in cyan. There seem to be other levels indicated too.

                Can I ask you what you make of this data?
                Would you ask for this data to be supplied in some other format for use in SketchUp?
                How would you approach creating this terrain?

                I have downloaded the "points_cloud_triangulation.rb" and "delauney2.rb ruby scripts and worked out how this works.
                Is this the best way to go?

                Hope you guys can point me in the right direction.
                I wanted to attach the original .dwg drawing for you to see.
                But it seems you can't upload that format here.
                I have attached a skp file for you to view.

                Thanks.
                Mr S.


                Topo.skp

                1 Reply Last reply Reply Quote 0
                • Alan FraserA Offline
                  Alan Fraser
                  last edited by

                  For anyone doing any amount of site work like this, Simu Terra is the best option. It will not only get the data into SU, but will allow you optimise and edit it in a multitude of ways. Well worth the outlay (which is peanuts anyway).
                  http://www.compuneering.com/simuterra.php

                  3D Figures
                  Were you required to walk 500 miles? Were you advised to walk 500 more?
                  You could be entitled to compensation. Call the Pro Claimers now!

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

                    Wow, that's insane! How are you supposed to know the z-value of all those points (texts do not import afaik and I cannot even see text).

                    Could you ask them to provide the text file of the co-ordinates they most probably got as a raw result of the survey? That would perfectly work with Didier's script. (There are some 2600+ component instances in the file!)

                    Gai...

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

                      Hi,

                      Well, I could ask my company to purchase Simu Terra, but I have no experience of this program and would be reluctant to ask them to pay for something i don't know anything about. I'll look in to this more.

                      I wanted to attach the .dwg file which does have text and colours and does provide more info. When imported in to SketchUp all that info especially the text seems to be lost.
                      Can I upload the .dwg file where you guys can download it?

                      Thanks.

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

                        Hi,

                        If it helps any, i have uploaded the .dwg file here:

                        http://www.evilshare.com/44313196-279d-102b-b213-000b6aa2a5f8

                        Any further ideas or info appreciated.

                        Thanks

                        Mr S

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

                          A thought has just occured to me.

                          Would using 3D Studio MAX help in any way?
                          Some of our other offices have this and I am sure I could gain access to it.
                          Does 3DS MAX have more powerful tools to handle this type of thing?

                          I was thinking that it may be possible to:

                          Import the .dwg file in to MAX.
                          Use the tools (which ones?) within 3DS MAX to create the terrain.
                          Simplify the mesh.
                          Export back to SketchUp.

                          Is this worth exploring or am I clutching at straws?

                          Thanks

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

                            You can also get SketchUp to display the items coloured by layer...

                            The problem here is that all the mesh data is at 0 z level and I don't know how to move those points up to the appropriate height (at least other than manually).

                            Whoever drew the dwg file must have worked from some kind of a datanase of the points. You should get access to that database. I think Max could also only draw a flat mesh from these points.

                            Gai...

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

                              Here's an AutoLisp tool I wrote a while ago (it's zipped as .lsp files can't be uploaded 'raw'). Obviously you'll need AutoCAD with AutoLisp enabled to Appload and then run it on the DWG file BEFORE trying to import it into SUp. Basically it takes any selected Text such as Z-heights in metres, works out what the text is in real numbers, and then moves them in their Z to suit (this version takes m heights and moves in mm, BUT it's easy adjusted to do other unit combos), it then adds a 3D-point at the Text's origin - you might need to move the 3D-points over the +markers... For more info see the first few lines of the .lsp file itself... you can open it in a plain text editor (like NotePad.exe)... That's how I wrote it !!!


                              text2d3d[m].zip

                              TIG

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

                                TIG, I can't believe you have a tool (weapon) for everything. 😲
                                Thanks a lot for all this care! 👍

                                Gai...

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  Kaladar
                                  last edited by

                                  @gaieus said:

                                  Normally a stamped surface is horizontal (and a single face only) that you should be able to paint separately.
                                  Are you sure you are not talking about the drape tool?

                                  Gaieus

                                  Thanks for the reply. I used both the drape and the stamp tools over many faces and the stamp seemed to work better. But supposing I do use the drape tool, is there a way to fill the different areas with textures for roads, grass, etc?

                                  Kaladar

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

                                    Well, make sure to smooth the surface first and apply the drape tool second. If everything works well*, the draped lines separate the surfaces and you should be able to select/paint them separately.


                                    *sometimes the drape tool won't precisely work and you may need to find the gapes between line segments and close them manually. In these cases turn on hidden geometry to see the original TIN as well and to be able to close them correctly.

                                    Gai...

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

                                      Hi,

                                      I decided that the best solution, suggested by Gaieus, was to go back to the Data Survey company and ask them to send me data suitable for use in a 3D package. I mentioned that I may be able to use a tool that works with a simple text file.

                                      I downloaded and installed Cloud V6 with its example.dat file.

                                      Below I show samples of the example.dat file and the simple text file I was supplied with.
                                      As you can see they are similar, but Cloud V6 won't process the survey file.
                                      Error: "Only 1 data per line"
                                      Any ideas? Any help appreciated.

                                      Example.dat file:

                                      -4290.989333,29509.42004,17271.801618
                                      -4274.989333,29511.005136,17286.136452
                                      -4289.989333,29488.014542,17264.960225
                                      -4289.989333,29466.389034,17268.746701
                                      -4275.989333,29491.061477,17295.038726
                                      -4274.989333,29469.013192,17287.431288
                                      -4273.989333,29448.496995,17278.538275
                                      -4241.989333,29453.771813,17323.717654
                                      -4242.989333,29494.627943,17327.292103
                                      -4242.989333,29473.248948,17328.260914
                                      -4226.989333,29474.834044,17342.595748
                                      -4209.989333,29476.41914,17356.930583
                                      -4225.989333,29430.887233,17333.782246
                                      -4225.989333,29454.714121,17337.286444
                                      -4239.989333,29409.851506,17322.714357
                                      -4240.989333,29428.782607,17317.272535
                                      -4223.989333,29412.202646,17336.406403

                                      Site Survey.txt file:

                                      017,NORM
                                      001FORMAT(3D23.17)
                                      003,ORDR,4=1,1,2,3,
                                      080,B000, ,5= 0.0, 0.0,100007703
                                      0.49837422321267177D+040.49869317927816728D+040.67812740300658106D+02
                                      0.49794159350231557D+040.49846097107062114D+040.67878910415849163D+02
                                      0.49776537255463436D+040.49836638683515694D+040.67878910415849163D+02
                                      0.00000000000000000D+000.00000000000000000D+000.67878910415849163D+02
                                      080,B001, ,5= 0.0, 0.0,100007703
                                      0.49547870430138828D+040.50609582792710808D+040.65732765063426058D+02
                                      0.49568466124033775D+040.50566385791095627D+040.65813697637536023D+02
                                      0.49590731422961362D+040.50519860486242706D+040.66166417278662365D+02
                                      0.00000000000000000D+000.00000000000000000D+000.66166417278662365D+02
                                      080,B002, ,5= 0.0, 0.0,100007703
                                      0.49512690401388672D+040.50511415069123086D+040.65929156188998277D+02
                                      0.49550570526746833D+040.50527709423329316D+040.65901904671221885D+02
                                      0.49558844990824973D+040.50510189197858554D+040.65944131344513437D+02
                                      0.49520964865466813D+040.50493894843652324D+040.65971382851789116D+02
                                      0.49512690401388672D+040.50511415069123086D+040.65929156188998277D+02
                                      0.00000000000000000D+000.00000000000000000D+000.65929156188998277D+02
                                      080,B003, ,5= 0.0, 0.0,100007703
                                      0.49547896016676204D+040.50609597659579667D+04-.99900000000000000D+03
                                      0.49605844595099497D+040.50638011225230885D+04-.99900000000000000D+03
                                      0.49683981386075220D+040.50676027706360901D+04-.99900000000000000D+03
                                      0.00000000000000000D+000.00000000000000000D+00-.99900000000000000D+03

                                      Regards
                                      Mr S

                                      1 Reply Last reply Reply Quote 0
                                      • AnssiA Offline
                                        Anssi
                                        last edited by

                                        Mr S,

                                        It seems to me that Didier's script expects commas as the break symbol and uses a dot as a decimal symbol. Your file has some other method of distinguishing the x, y, and z coordinates, represented, perhaps, by the characters D+0. You might try opening the survey file with Notepad, and replacing all "D+0" s with commas. Maybe all the lines that clearly don't represent 3D coordinates should be deleted too.

                                        Just a suggestion

                                        Anssi

                                        Edit: now that I look at it closer, I am not so sure about how the format could be figured out... Maybe you could ask the supplier.

                                        securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

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

                                          It looks to me as though these lines parse into three numbers: so

                                          0.49837422321267177D+040.49869317927816728D+040.67812740300658106D+02

                                          becomes

                                          0.49837422321267177D+04 0.49869317927816728D+04 0.67812740300658106D+02

                                          The data in the elevation file looks like this (from a random point):

                                          4968388, 4982342, 0

                                          add back in the elevation for this point and you get

                                          4968388, 4982342, 68.0

                                          These are like the numbers from the data file so maybe the D+02 is an exponent (a decimal scaling factor). If so then the data file now reads:

                                          4983.7422321267177, 4986.9317927816728 67.812740300658106

                                          Roughly scaling off a building it looks as though these are in units of meters or thereabouts.

                                          I pulled out the valid points (those with three non-zero entries) and parsed them into this format in a text editor. The result is in the attached data file which will import into SketchUp with Didier's cloud script. The result is not exciting - there are eleven almost coplanar points - but looks OK.

                                          Bob


                                          elevations.txt

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

                                            Seems to be logical (though I'm not sure about them).
                                            Now can you make an automated way for doing this with all those thousands of points?

                                            Gai...

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

                                            Advertisement