This is a Python 3 script I use in my Blender work to extract OBJ files from DEMs I've processed in QGIS. I use it for geographic DEMS (like SRTM) and projected DEMS (like OS Open Terrain, and DEFRA ...