Hi everyone, I am a new Sketchup user and have gotten myself into a bit of a fix. I am a town planner and building designer in the UK and use Caddie 9.1 as a tool - quite happily. I have been playing with SU as a way of illustrating building designs in 3D and i just love using it. My current project, and my first real SU job, is to draw a couple of existing barns - I have good survey data and have quite happily elevated them. I now need to create the topogtaphical base and drop them in (sounds easy!!!). I have a 2D spot levels DXF plan which imports fine but without the actual levels text. I also have beens sent by the survey company a 3D level plan, which also imports fine and has each point at the right level relative to one another. However, i can't figure out quite how to take those spot levels and create a 'terrain plan' onto which I can insert the buildings. I am sure that Im just being dim and that there is a simple way of doing this.

Any suggestions or help would be gratefully received, the forum looks great by the way, I can see me being in here often,

What is imported? is it actual lines or soemthing? You can create a TIN using the sandbox tools. First go to Preference>Extensions and turn on sandbox tools. You get some more icons and one is "from contours". Select all the lines or dots and then run that script. It will work on non contours too.

There is also a cloud.rb script that makes a terrain from a list xyz points. I have no clue how to use that script because I never get that kind of raw data.

What you want is definiately possible. Play around with the suggestions and post back with any further questions, images, models,for us to check out. Good luck,

Hi guys, thanks for the help to date. The imported topo' data is a series of crosses in the horizontal plane and then when I rotate around they are at different heights relative to one another. I did try linking them in a series of triangles and colouring each plane green, which looked great. I was then going to sort of round it all off somehow. However, it occurred to me that depending how I linked the points together I could produce different terrain from the real one - or am I being dim.

I then thought that I could bring the topo crosses over the sandbox and pull up ground to each point and then somehow smooth it all off but Icouldn't work out how to actually do it.

My final thought was "join the Sketchucation forum"!!! and here I am...

As an aside, I am really really pleased with the barns and the product is outstanding and easy to use, I look at the work you do and it is inspiring and makes me want to get better and better.

The basic idea would not be bad, Chris, except for the fact that these crosses should represent 1 co-ordinate point each and the way you create the mesh will add significant amount of extra triangles due to the actual geometry of the crosses.

What we should do here is to turn the components (each cross is an instance of the same component fortunately) into guide points and run a nifty plugin called points_cloud_triangulation.rb.

We will actually need three plugins altogether - for the convenience I have zipped all here - due credits can be found inside the ruby files. Unzip the files into the Plugins folder under your SU app (as I see you are running SU 5 but these plugins should work just fine there, too).

Plugins.zip

So the steps involved after installing the plugins and restarting SU are

Edit any of the "cross" components (double click)

Select all inside and go to the Plugins menu > "Set center point"(this will set a guide point (construction point in SU 5) inside each cross component)

delete the cross geometry but leave the construction point > exit the editing context of the component.

select all instances of the component > right click > Explode

This will keep all the guide points still selected so now go to the Plugins menu again and select "Triangulate points".

You will be prompted by a question if you wish to put the new mesh onto a specified layer. If you wish,you can answer yes and go on creating a new layer now.

After the triangulation, you end up with your mesh that is- neither grouped- nor softened

Outstanding! thanks, Chris, the video is really helpful and has inspired me to get it right. I spent many hours yesterday evening playing with the various plugins and searching the archives for guidance - I didn't get it to work but I have learnt a lot more about SU!.

I understand what you mean Gaieus about the crosses needing to be converted to into guide points and will lead the plugins that i haven't already later today. At the moment my wife has plans for me with the hoover and some more christmas decorations!.

Ahh, thats a good point about the extra geometry Gaieus, I didn't look at it with hidden geometry on to notice it, but i'm sure your right.

A solution without the plugins would be to go in to one of those components and just draw a single line straight down from the center. Then delete the cross, leaving just a vertical line. The top of the line must be the old center of the cross.

Then do the same of exploding them and running from contours. It will make the cleaner geometry.

If you really needed to save the original crossees that is workable too. make a copy of all of them and move it straight up on the blue axis 50m or as large as needed (but in your model 50m is perfect). Then right click on them (with all of the new copies selected stiil) and choose "make unique". This will turn all of the selected identical components into a single new component, thereby saving your original x component. Then go edit one of the ones down below as explained before with the straight line. Then explode the lower lines, and run from contours on them. You get the terrain and still have all your crosses floting above in the air. Then go select all the crosses and move them down to the terrain - precisely 50m.

Anyhow, slightly more complex to do it this way - with editing the X component, but Gaieus is definitely right that the other way created too much geometry. But this way you dont need any extra plugins. (Not that plugins are bad, they are quite great really. Just sometimes its good to know how to do stuff without them.) Anyhow, good luck!

I once posted to the forum an Autolisp file that did something similar in Autocad to spot heights that were simple text objects (common in survey files here), but I didn't realize that a vertical line would be much better than a horizontal one. I must try to correct that. Thanks Gaieus for pointing that out.

That was actually Chris - and yes, that's an ever easier way I didn't think about. The from contour tool works only with real geometry (thus it cannot handle guide points) BUT by using vertical lines we can fool it since it will only take into consideration the top point of them.