Create a box mesh with an irregular surface (defined by a DEM)
6 months ago by
I have a Digital Elevation Model in the form of a raster (a grid of elevation numbers within a rectangular region of the Earth's surface). I am trying to create a mesh which would form a 3D box, with the DEM forming the upper surface - a bit like cutting a block out of the ground with the mountains and hills still on top of it.
I've experimented with a few things, and I've figured out how to convert my DEM to a mesh using MeshLab, which I can then import into mshr as a Surface3D object, but I can't figure out how to combine this with other primitives to get the 3D block. Does anyone have any ideas?
Community: FEniCS Project
Please login to add an answer/comment or follow this question.