Topography into sketchup
-
James,
I've made a quick tutorial for you here:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=22&t=4276
...
Shows a method using SU only.
Their are lots of other methods if you have AutoCad or any GIS software.
...
Didier has produced a few scripts along these lines (Point cloud import / Triangulation etc)
You can also import a text file of x,y,z coordinates.
...
Hope this helps
Regards
Howard L' -
Hi Mr S,
It's the "points_cloud_triangulation.rb" on this page.
Note also that cloud.rb (or cloud_V6 for SU 6) also creates faces but from xyz data in text files. Just perfect with survey data (I use it a lot for reconstructing archaeological layers ) -
@unknownuser said:
I don't have contours only survey showing crosses at different levels.
James can you ask whoever gave you this dwg to give you a copy with contours instead of the points?
I have had this before and the survey guys just changed it.Edit:
I did not read some of the other replies. There is some good info on here I did not know about.Thanks guys!
-
James,
Hopefully you've already got some ideas to get you started, but I've updated the tutorial slightly:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=22&t=4276
...
Regards
Howard L' -
Is point cloud a term generally used in Terrain modelling circles? I used to pass by this script because the term was meaningless to me and I didn't have a need for making "clouds". I had no idea what it was for. So is this a common phrase and is it often that one gets this sort of "crosses" data rather than contours to work with?
-
@sorgesu said:
Is point cloud a term generally used in Terrain modelling circles? I used to pass by this script because the term was meaningless to me and I didn't have a need for making "clouds". I had no idea what it was for. So is this a common phrase and is it often that one gets this sort of "crosses" data rather than contours to work with?
Susan, I'm not sure if it is "generally" used (don't forget that ruby scripters are also "artists" in the sense how they name their scripts Also, Didier is French... )
Anyway, this script is just great; you have a simple text file with the exact definition of the xyz coordinates (one point in one line) and cloud.rb will create a "cloud of construction/guide points". Now there is the possibility to triangulate these points and create a mesh that can be put on a separate layer.
So it basically works like "From contours" in the sandbox tool except that it does not use contour lines but surveyed points (i.e. they surveyor, who first always measures points only, will not need to turn them into contour lines).
As we have this laser survey center at the museum, it is just a snap to measure some sites (you just put the cenzer down and walk around with the stick and measure as many points as you want). The output is a text file which you just rund through Didier's script and that's it.
-
@sorgesu said:
Is point cloud a term generally used in Terrain modelling circles? I used to pass by this script because the term was meaningless to me and I didn't have a need for making "clouds". I had no idea what it was for. So is this a common phrase and is it often that one gets this sort of "crosses" data rather than contours to work with?
Susan,
Point Clouds are usually, but not exclusively, produced with some type of Laser.
This can be mounted on a tripod / stand a bit like a surveyors theodolite or flown by an aircraft for mapping applications eg LIDAR.
...
There are many applications for Point Clouds - they are not just used for mapping / cartography / producing terrain models.
They are also used quite a lot for reverse engineering.See this info from FARO who produce Laser Scanning Equipment:
http://www.faro.com/content.aspx?ct=ENG&content=ind
...
See also PointTools, software for looking at Point Cloud Data (Millions of Points).
Look at the examples, remember they are x,y,z points not photographs - although they quite often appear as photographs. This means you can turn the data around and view it from different angles / take measurements etc.
http://www.pointools.com/ptview_screenshots.php
...
Regards
Howard L' -
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. -
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.
-
James,
I have sent you an email, please, confirm the delivery...
-
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.
-
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? -
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.
-
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 -
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!)
-
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.
-
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
-
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
-
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.
-
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 !!!
Advertisement