How to convert flat contours into terrain automatically?

terrain
contours

#1

Hi all,

I have contour map with topographical lines, each line representing 5m vertical increment. There is over a hundred of lines, I would like to avoid shifting each individual one as much as possible. Is there a one-click solution to to arrange them vertically?

Alternatively if I closed the space between all the lines creating surfaces, is there an extension that would allow to extrude them by fixed increments with one click?

Any suggestions and help would be much appreciated!

Ben


#2

I think that without some additional metadata the situation is basically ambiguous and so no fully automated tool can solve it reliably. Consider the attached contours. Do they depict two hills, two depressions, or one hill and one depression? Without labelling the contours it is impossible to tell.


#3

Hi slbaumgartner,

Thank you for your answer. Yes you are absolutely right, in the example you provided there is no way to tell what is what.

I am in a slightly more fortunate position. The terrain I need to model is around a river, and as far as I can tell each line away from the river represents an increment upwards.


#4

Here’s a simplistic version, using weld, pushpull and move, then some erasing to tidy up…


Get my weld from here:
http://sketchucation.com/pluginstore?pln=TIG-weld


#5

Hi TIG,

I like the idea of a measuring stick. Unfortunately my increments are 5m and the whole map covers few square kilometres, so when I zoom out I won’t be able to see much on the stick… Good idea though!


#6

Most 3D topographic maps that I’ve seen are vastly exaggerated in the Z direction. Perhaps, make your “measuring stick” in 50M increments, and treat each real world 5M contour line as 50M in the model. That should make it easier to work with.

Once done, if you want to eliminate the exaggeration, select the entire model and scale the Z direction by .1.

And if 50M isn’t enough, go to 100M and scale by .05, or 200M and scale by .026 - you get the idea!


#7

You don’t have to use a measuring stick…
PushPull the first contour face by 5m up.
Then double-click on the next contour face twice - the previous PushPull value is remembered so that move up 5m x 2 = 10m and so on…
Obviously there’s a sanity limit to double-clicking repeats, but you get the idea…


#8

Steve, TIG,

Both great suggestions. I didn’t know about the trick with the double-click. Then again, like you said - once I get over 50m height and it takes me 10 double clicks just for one section, I think I will die :slight_smile:

Larger increments and re-scaling sounds good to me though, if there is no other option available, I think I’ll give it a try!


#9

There’s a plugin called “Stepped Extrude” which speeds up the double click push pull for this task…

http://sketchucation.com/forums/viewtopic.php?p=438459#p438459


#10

With it as a simple install RBZ here
http://sketchucation.com/pluginstore?pln=RamTools_StepEx


#11

Oh boy. I got so excited about this one! Unfortunately it seems to increase the step levels indefinitely… So lets say I have increments of 5m and two peaks on the hill. I go step 11, 12, 13 on the first peak, and I want to repeat them on the second peak, but it’s already on step 14 and increases the first layer by 20m rather than 5m. Any way to manually overwrite the step levels?


#12

Haven’t tested it, but don’t a restart of the plugin (shortcut?!) do this?


#13

Aha! It does! It resets it to zero, but that’s not a problem, since I can pull using standard tool to required height, and then continue the operation from there, brilliant! I just need to test that welding plugin made by TIG, because by contours go crazy when I close them, and I should be ready to go. Thank you very much good peoples!


#14

Thank you all for tips and suggestions. What seemed like a daunting task, turned out to be quite painless thanks to you!


#15

Phew !
That was more complex than I envisaged…
BUT you did it.
Well done…

:smiley:


#16

Well, I wouldn’t have been able to do it without your and others’ help so thank you once again and I will be back soon with more questions :wink:


#17

@BenK

Probably to late in the conversation but this was just published in the EWH. It only works in stepping all Up or Down but not both.

http://extensions.sketchup.com/en/node/3741

.
.
.

Cheers
CD


#18

Hi Chris,

Apologies, I was without an access to internet for few days. I have created my terrain now, but I’m sure it will be useful in the future if I ever need to do it again. Many thanks!


#19

This whole page was a very fun read.
Thank you all for participating. Very cool stuff here.