Heightcraft is a high-performance CLI tool designed for Game Engineers, GIS Professionals, and Researchers. It automates the pipeline of converting 3D data into high-precision heightmaps, featuring accessible AI Upscaling.
🚀 Key Features
- 🤖 Heightmap AI Upscaling: Transform low-res inputs into crisp, hi-res/high-detail heightmaps. Also supporting bit depth increase (8-bit → 16/32-bit) with AI hallucination.
- 📡 LiDAR Support: Stream process massive
.lasand.lazpoint clouds into Digital Elevation Models (DEMs). - 🏔️ Mesh to Heightmap: Bake
.gltf,.glb,.obj,.stl, and.plymeshes into heightmaps with automated chunking. - 🌊 Feature Masks: Optionally export water masks with sea level thresholds and texture masks for slope and curvature.
- 🎯 High Precision: Native support for 32-bit Float TIFF, 16-bit PNG, and RAW formats.
- ⚡ Performance: GPU acceleration and memory-efficient streaming for gigabyte-scale datasets.
📖 Documentation
Full documentation is available in the Docs.
📦 Installation
pipx install heightcraft
⚡ Quick Start
Upscale an image (8-bit → 16-bit and 3x upscale):
heightcraft input.png --upscale --upscale-factor 3 --bit_depth 16 --output_path high_res.png
Process LiDAR data into an high-res 32-bit heightmap:
heightcraft scan.laz --bit_depth 32 --chunk_size 600000 --max_resolution 24576
Convert a 3D Mesh to an upscaled heightmap:
heightcraft terrain.obj --large-model --chunk_size 200000 --max_resolution 8192 --upscale
Development
To install development dependencies:
pipx install uv
uv sync --group dev
uv run main.py
🧪 Testing
Run the test suite:
pytest tests
Metadata
Release files for heightcraft 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| heightcraft-2.0.0.tar.gz | 5.0 MB | With provenance | Details for heightcraft-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| heightcraft-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for heightcraft-2.0.0-py3-none-any.whl |
Total release size: 5.1 MB
Release files / heightcraft-2.0.0.tar.gz
| Download URL | heightcraft-2.0.0.tar.gz |
|---|---|
| Size | 5.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a35da53db4cc8f33a8d389a69249225229281479fbf3ba754dc78fea405063e0
|
|
BLAKE2b-256 checksum How to use checksums |
9e89cda3a5b1699be3a67b1c827bc876dbdb558ee588a96d5a2a8588b89f2e69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2025.
Transparency logRelease files / heightcraft-2.0.0-py3-none-any.whl
| Download URL | heightcraft-2.0.0-py3-none-any.whl |
|---|---|
| Size | 87.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba6d47760abdf31ef9de921a2a0598ac47db89c310a073440dba7f0e6d19b0d6
|
|
BLAKE2b-256 checksum How to use checksums |
01a87d37581cf80deb47aba55afd252bb999a0a8e100ceb5d086944ebabbbcb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2025.
Transparency logSecurity for heightcraft 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for heightcraft-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.