this post was submitted on 16 Jun 2023
12 points (92.9% liked)

3D Printing

4400 readers
13 users here now

For everyhting 3D printing related.

Please be excellent to each other :)

Icon by Freepik, Banner photo by Thiago Medeiros Araujo

founded 4 years ago
MODERATORS
 

Does anyone know of a good resource to download or generate terrain / elevation STL models that are bound to the shape of US states?

I came across this posting but the files are pretty low resolution and look pretty bad at the size I want to print.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)
[–] ForynGilnith 2 points 1 year ago (1 children)

Thanks! I've made lots of wide area and close-up terrain models using DEM and lidar before, but trimming to state boundaries has always been the challenge. Every time I try to trim the raster data in qgis I don't get anywhere, even though it should be possible.

The OpenSCAD primitive is a new one for me though - thanks! In the past I've just used the DEMto3D plugin in qgis.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

If you can get state boundary image data coincident with height map data (such as by taking two screenshots on the USGS website, one with the heightmap data opaque and with it translucent, without panning or zooming between), you could use a normal image editor (eg: GIMP) to mask the height map data so that it's zero (black) outside the state boundary and at least slightly gray inside the state boundary. With OpenSCAD's surface, this would give you a rectangle that's flat outside the state and at some minimum height inside the state. You could then use one difference or intersection to cut across the model by height, trimming off the flat rectangular base.

(I.e., doing the trimming the image seems much easier than trimming an STL, & would totally work.)

[–] ForynGilnith 1 points 1 year ago

Ah interesting - that makes sense. I didn't think to treat it like an image mask like that. Thanks!

[–] [email protected] 1 points 1 year ago

The cert has issues, but what about this: https://www.jthatch.com/Terrain2STL/

load more comments
view more: next ›