An open API service indexing awesome lists of open source software.

https://github.com/marcinbator/asc-to-3d-model-blender-script

Python Blender script for converting .asc (Numeric Terrain Model ASCII grid) to 3D printable block)
https://github.com/marcinbator/asc-to-3d-model-blender-script

geoportal gis stl terrain

Last synced: about 2 months ago
JSON representation

Python Blender script for converting .asc (Numeric Terrain Model ASCII grid) to 3D printable block)

Awesome Lists containing this project

README

          

# Terrain to .STL format

This script allows to convert .asc file containing Digital Terrain Model of terrain to the 3D model ready to export as .stl file, e.g. for printing.

1. Download the .asc file with the digital terrain model (using , or manually from (on the left: data download -> WCS -> Digital terrain model - Arc/info ASCII grid -> Draw area -> Download file)).
2. In the .asc file, replace the `dx` and `dy` lines with the following lines (if needed):

```asc
cellsize 1.0001
NODATA_value 0
```

3. Blender: Install the BlenderGIS library ().
4. GIS -> Import -> ESRI ASCII Grid (asc).
5. Scripting -> paste or load the `./script.py` file, press RUN and wait (this can take very long).
6. Export -> .stl.