$npx skillfedfor your agent

trimesh

Import, export, process, analyze and view triangular meshes.

Worth itPyPI Scientific/EngineeringReleased Aug 202612.8M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — trimesh-5.0.0-py3-none-any.whl
v5.0.0 · released 2026-08-01 · Python >=3.10 · 1 runtime deps: numpy

Yes. Trimesh is actively maintained (release 13 days ago, 3649 GitHub stars), has zero known vulnerabilities, low install friction (numpy only), and permissive MIT licensing. It is the standard choice for 3D mesh processing in Python when you need to load, analyze, or manipulate triangular geometry.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with only numpy as a hard dependency.
  • Active maintenance (last commit 2026-08-14, release 13 days ago).

License · maintenance · safety

permissive license (permissive) — MIT license (permissive): you can use, modify, and distribute trimesh freely in commercial and private projects with minimal restrictions. Include the license notice in distributions.

last release 2026-08-01 (13 days) · last repo commit 2026-08-14 · 3,649 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 12,763,403 downloads/mo, #1,306 on PyPI

Verify before relying

pip install trimesh

import trimesh
import numpy as np

# Create mesh from vertices and faces
mesh = trimesh.Trimesh(
    vertices=[[0, 0, 0], [0, 0, 1], [0, 1, 0]],
    faces=[[0, 1, 2]]
)

# Query properties
print(mesh.volume, mesh.is_watertight, mesh.center_mass)
  • Whether soft dependencies (scipy, networkx, pyglet, lxml, xxhash, embreex, shapely, rtree) install cleanly on platforms beyond Linux x86_64, MacOS ARM, and Windows x86_64.
  • Stability guarantees for the API beyond the stated one-year deprecation warning period.
  • Which specific mesh formats are supported for import and export beyond those mentioned in the description.
Same gist for agents: .md · .json

What it is and what it does

Trimesh is a pure Python library for working with triangular mesh geometry, designed to handle 3D surface models with an API modeled after Shapely's Polygon object. It loads and processes common mesh formats (STL, PLY, OBJ, GLTF/GLB, 3MF, XAML, 3DXML) and provides a unified Trimesh object for manipulation and analysis. The library emphasizes watertight surfaces and includes built-in caching and change tracking via numpy array hashing.

Core functionality includes geometric queries (volume, center of mass, moment of inertia, convex hulls, bounding boxes), mesh repair (winding, normals, holes), connectivity analysis, ray-mesh intersection, cross-sectioning for 3D printing, boolean operations, and visualization via OpenGL or Jupyter notebooks. Optional soft dependencies unlock additional features. The library is actively maintained, requires only numpy as a hard dependency, and supports Python 3.10+.

Use it for

  • Load and analyze 3D mesh files for geometric properties like volume, center of mass, and moment of inertia.
  • Repair and validate mesh topology (check watertightness, fix winding, merge duplicate vertices) before 3D printing or simulation.
  • Perform geometric operations like slicing meshes for 3D printing or computing convex hulls.
  • Query ray-mesh intersections and perform boolean operations (union, intersection, difference) on mesh geometry.
  • Visualize 3D meshes interactively in OpenGL windows or inline in Jupyter notebooks.
  • Split connected mesh components and analyze mesh connectivity using graph algorithms.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Trimesh is actively maintained (release 13 days ago, 3649 GitHub stars), has zero known vulnerabilities, low install friction (numpy only), and permissive MIT licensing. It is the standard choice for 3D mesh processing in Python when you need to load, analyze, or manipulate triangular geometry.

Install

trimesh on PyPI

Before you install

Low friction: pure Python wheel with only numpy as a hard dependency. Active maintenance (last commit 2026-08-14, release 13 days ago). Requires Python 3.10+. Optional soft dependencies add functionality but are not required for core mesh loading and analysis.

Requires Python 3.10 or later.

License in practice

MIT license (permissive): you can use, modify, and distribute trimesh freely in commercial and private projects with minimal restrictions. Include the license notice in distributions.

Quickstart

pip install trimesh

import trimesh
import numpy as np

# Create mesh from vertices and faces
mesh = trimesh.Trimesh(
    vertices=[[0, 0, 0], [0, 0, 1], [0, 1, 0]],
    faces=[[0, 1, 2]]
)

# Query properties
print(mesh.volume, mesh.is_watertight, mesh.center_mass)

Verify before relying

  • Whether soft dependencies (scipy, networkx, pyglet, lxml, xxhash, embreex, shapely, rtree) install cleanly on platforms beyond Linux x86_64, MacOS ARM, and Windows x86_64.
  • Stability guarantees for the API beyond the stated one-year deprecation warning period.
  • Which specific mesh formats are supported for import and export beyond those mentioned in the description.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 13 days since the last release
Last repo commit
First released
Downloads12,763,403 / month, #1,306 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Multimedia :: GraphicsTopic :: Multimedia :: Graphics :: 3D ModelingTopic :: Scientific/Engineering

Evidence: trimesh-5.0.0-py3-none-any.whl

Tags

Capabilities
triangular mesh processing3D mesh import exportwatertight surface analysismesh geometry manipulationSTL PLY OBJ mesh loaderconvex hull and mesh propertiesray mesh intersection queries
Topics
3d-geometrymesh-processingscientific-computing
PyPI keywords
graphicsmeshgeometry3D

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “triangular mesh processing”

  • trimeshTrimesh loads, manipulates, and analyzes triangular mesh geometry in…
  • pymeshfixPyMeshFix repairs triangular meshes by removing defects like…
  • cytriangleCyTriangle wraps Jonathan Shewchuk's Triangle library via Cython to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also numpy-stl · pymeshfix · manifold3d · vhacdx · fast-simplification · embreex · xatlas · pymeshlab · cmeel-qhull · alphashape