Skip to main content

forge3d

Python-first terrain and scene rendering on top of Rust + WebGPU.
Interactive viewer, offscreen rendering, overlays, point clouds, notebooks, and production outputs.

PyPI Python 3.10+ License Docs


forge3d hero render

Install

pip install forge3d

Optional extras:

pip install "forge3d[jupyter]"   # notebook widget support
pip install "forge3d[datasets]"  # on-demand sample datasets
pip install "forge3d[all]"       # everything

Quick Start

import forge3d as f3d

dem_path = f3d.fetch_dem("rainier")

with f3d.open_viewer_async(terrain_path=dem_path, width=1440, height=900) as viewer:
    viewer.set_z_scale(0.1)
    viewer.set_orbit_camera(phi_deg=28, theta_deg=49, radius=5400, fov_deg=42)
    viewer.set_sun(azimuth_deg=302, elevation_deg=24)
    viewer.snapshot("rainier.png", width=1920, height=1080)

What forge3d Covers

Open-source workflow:

  • Interactive terrain viewing through open_viewer_async() and ViewerHandle
  • Terrain snapshots from GeoTIFF or numpy DEM inputs
  • Raster overlays, vector overlays, labels, and camera automation
  • LAZ/COPC/EPT point-cloud loading
  • COG access, CRS helpers, datasets, presets, and notebook widgets
  • Native/offscreen rendering with Scene, Session, TerrainRenderer, and TerrainRenderParams
  • Geometry, mesh, vector, SDF, path-tracing, lighting, and terrain scatter helpers

Pro workflow:

  • MapPlate, Legend, ScaleBar, and NorthArrow for cartographic composition
  • SVG/PDF vector export
  • Building import pipelines for GeoJSON, CityJSON, and 3D Tiles workflows
  • Mapbox-style import and scene bundles

Documentation Map

Examples

The repo ships a broad set of runnable examples in examples/, including:

  • interactive terrain scenes and raster overlays
  • Mapbox-style, labels, and picking demos
  • point-cloud and building viewers
  • camera animation and terrain camera rigs
  • COG streaming and offscreen terrain rendering
  • pure-Python composition examples and notebooks

Run any script with python examples/<name>.py --help when it exposes CLI options.

License

The open-source core is released under Apache-2.0 OR MIT. Pro-gated features require a commercial license key set with forge3d.set_license_key(...).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forge3d-1.33.1.tar.gz (6.8 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

forge3d-1.33.1-cp310-abi3-win_amd64.whl (11.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

forge3d-1.33.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

forge3d-1.33.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

forge3d-1.33.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (19.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file forge3d-1.33.1.tar.gz.

File metadata

  • Download URL: forge3d-1.33.1.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for forge3d-1.33.1.tar.gz
Algorithm Hash digest
SHA256 b2bc46d2b0167ca6db09231b6eab154889245b0e6bac4ecb490d23ad24da2176
MD5 58a21a34e31887ab999bb567ca855105
BLAKE2b-256 efc3db689c414788a1a8ac207aabf4a5ceca9fe87a5b43e26de39128fad43a8d

See more details on using hashes here.

File details

Details for the file forge3d-1.33.1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: forge3d-1.33.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 11.4 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for forge3d-1.33.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 47305d7cb4316ba87459b48036b5b92c8a9085a0d432cf55fc1bc40f4f19d7c5
MD5 757f4f89ac1455313aceaf1fa828e55b
BLAKE2b-256 f0e8bfcc52c7f981a564ee1f1f18c73b145913adcd3c225a86d8e8fe6f13ca25

See more details on using hashes here.

File details

Details for the file forge3d-1.33.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for forge3d-1.33.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9f14f0c41a754414a20356f2204feb777a4f7a5ae69f6f5e14e383427b4a17f6
MD5 54fbc2285a264e0fd4d93a3f3731ddd4
BLAKE2b-256 f421c2347e67b0026fe6d0fa483b61130385abdddd886b7dd58ae2a60fa7fb96

See more details on using hashes here.

File details

Details for the file forge3d-1.33.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for forge3d-1.33.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3fe9a7a3a17f62ebf8637e668de9902691fbb323994bb5d4d2d0ba99f6fcee52
MD5 0be1c297926f95ac73bd6397a6924f98
BLAKE2b-256 af8636793181f556da82e6bf4d2642a927217d22434159def704e1af2de3d84b

See more details on using hashes here.

File details

Details for the file forge3d-1.33.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for forge3d-1.33.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 f28cf2e831e0f427e21af39fe76af5765cb03cf10ddc2407b6c5b22de0d868e9
MD5 8054bc4ba3f98099096f761105c96ad7
BLAKE2b-256 f78dd5361224c0d878429e6e1c1be0b2b74c38cc9062d4410c52edaf0638aeaf

See more details on using hashes here.

Release history Release notifications | RSS feed

1.35.0

5 files

1.34.0

5 files

1.33.2

5 files

This release

1.33.1 This release

5 files

1.33.0

5 files

1.31.0

5 files

1.30.1

5 files

1.30.0

5 files

1.29.0

5 files

1.28.0

5 files

1.27.0

5 files

1.26.0

5 files

1.25.0

5 files

1.24.0

5 files

1.23.1

5 files

1.23.0

5 files

1.22.0

5 files

1.21.0

5 files

1.19.0

5 files

1.16.0

5 files

1.15.1

5 files

1.15.0

5 files

1.14.0

5 files

1.13.1

5 files

1.13.0

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page