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)
- Host: GitHub
- URL: https://github.com/marcinbator/asc-to-3d-model-blender-script
- Owner: marcinbator
- License: mit
- Created: 2025-08-31T20:08:48.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-10-27T20:23:05.000Z (9 months ago)
- Last Synced: 2025-10-27T22:19:21.541Z (9 months ago)
- Topics: geoportal, gis, stl, terrain
- Language: Python
- Homepage:
- Size: 56.7 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.