Generate 3D print files from .tif files
Project description
Topogmesh: 3D printing the planet
Overview
Topogmesh generates .3mf files suitable for 3D printing from terrain .tif files. It can also use .geojson files to define custom areas of terrain to include in the model.
Installation
Topogmesh is available on PyPI and can be installed with pip:
pip install topogmesh
How to use
You will need terrain .tif files for the region you want to model and a .geojson file to define the area to convert into a 3D printable mesh.
The example below shows generating a 3D model of Mount Everest:
import topogmesh
everest_mesh = topogmesh.mesh_from_shape_file(
shp_path='everest.geojson',
tif_paths=['N27E086.tif', 'N28E086.tif', 'N29E086.tif'],
base_height=5,
scale=0.1
)
topogmesh.export_mesh_to_3mf(everest_mesh, 'everest.3mf')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topogmesh-0.1.1.tar.gz.
File metadata
- Download URL: topogmesh-0.1.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e9f162f1c492da66274baec48c7725403a1309426be183773af1dbc9877ac6c
|
|
| MD5 |
ae04ff1ff2f85d71b87f18939b03a4ac
|
|
| BLAKE2b-256 |
44df56c5b1508c3672ecfb0f4fe644ade9fcb25b18238f53f1ae3719c8a4b760
|
File details
Details for the file topogmesh-0.1.1-py3-none-any.whl.
File metadata
- Download URL: topogmesh-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19c55a8609fef45055aa0551b37030f66ac67aabf8d6ff31cb970158d5409d31
|
|
| MD5 |
ee8550f11016190f6ad17f90e06e2574
|
|
| BLAKE2b-256 |
e5ceb07b02ae812d78248bdf4d420ae2c31bb7d1c76c037608fd357ae395e813
|