# mikedh/trimesh

Python library for loading and using triangular meshes.

Repository: https://github.com/mikedh/trimesh
Canonical: https://ross.abutalabs.com/products/trimesh
Homepage: https://trimesh.org
Language: Python
License: MIT
License Family: permissive
Topics: mesh, triangular-meshes, geometry, python
Last push: 2026-08-26T16:30:18+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 4783, "days_push": 7, "days_rel": 33, "gap_med": 12, "n_releases_24m": 42}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3660, forks 662 (observed 2026-08-28T04:08:13.259796+00:00)

## What it is
Trimesh is a pure Python library for loading, manipulating, and analyzing triangular meshes with an emphasis on watertight surfaces. It provides a well-tested Trimesh object in the style of Shapely's Polygon, supporting many 3D formats like STL, PLY, OBJ, and GLTF with only numpy as a hard dependency.

## Use cases
- load and analyze STL or OBJ mesh files in Python
- check if a 3D mesh is watertight and repair it
- compute mesh volume, surface area, and curvature
- convert between 3D file formats like GLTF, PLY, and 3MF
- perform ray-mesh intersection queries
- voxelize a triangular mesh
- manipulate and transform 3D geometry for robotics or 3D printing

## When to choose
- you need a lightweight, easy-to-install Python library for 3D mesh processing
- you want watertight mesh analysis like volume, collision, and ray queries
- you need to load/export many 3D formats with minimal dependencies
- you want Shapely-like ergonomics for 3D geometry

## When to avoid
- you need a full interactive 3D modeling or CAD application
- you require guaranteed API stability across versions without pinning
- you need heavy GPU-accelerated mesh processing at scale

## Facets
- artifact type: library
- maturity: stable
- function: image-processing, graphics, parser, math, data-visualization
- domain: computer-vision, graphics, simulation, robotics
- platform: python, cross-platform, windows
- tags: triangular-meshes, 3d-geometry, stl, gltf, obj, watertight-meshes, ray-tracing, voxels, numpy, 3d-models, linux, macos

## Member repositories
- mikedh/trimesh (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:13.259796+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:35.773474+00:00, confidence not recorded.
  - readme: https://github.com/mikedh/trimesh (fetched 2026-08-28T04:08:13.259796+00:00, sha 6b76f0a0fc66)
  - homepage: https://trimesh.org (fetched 2026-08-29T09:25:43.879482+00:00, sha bab0c6d3444b)
  - site_page: https://trimesh.org/install.html (fetched 2026-08-29T09:25:43.882414+00:00, sha d8346927bf36)
  - site_page: https://trimesh.org/install (fetched 2026-08-29T09:25:43.884419+00:00, sha d8346927bf36)
- Data as of 2026-08-30T08:39:29.467469+00:00.
