Skip to content
プロジェクト

概要

TinyMesh is a light-weight mesh processing library in C/C++.

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

TinyMesh

CI License: MPL 2.0

TinyMesh is a light-weight mesh processing library in C/C++ and Python.

"Buy Me A Coffee"

Modules

Here is the list of modules and reference papers for that.

Install

The C++ library requires CMake 3.24 or later and a C++20 compiler with std::format support.

Library and examples (C++)

You can build a static library and all the examples by CMake with the following commands. Dependencies are pinned and downloaded by CMake during configuration; the first build requires network access. Python and visualization libraries are not required for this build.

git clone https://github.com/tatsy/tinymesh.git --depth 1
cd tinymesh
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DTINYMESH_BUILD_PYTHON=OFF -DTINYMESH_BUILD_EXAMPLES=ON ..
cmake --build . --config Release --parallel 2

Python module

Currently, Python 3.10 to 3.13 are supported. Newer versions may work but are not tested.

You can install the Python module using Pip (build from source).

pip install git+https://github.com/tatsy/tinymesh.git

For development, install from source with uv.

git clone https://github.com/tatsy/tinymesh
cd tinymesh
uv sync

The Python package exposes the C++ API as tinymesh and the viewer as from tinymesh.visualization import Viewer.

Run examples

C++

./build/bin/example_simplify data/models/bunny.ply

Python

uv sync --group examples
uv run --group examples jupyter lab examples/python

Gallery

Remeshing

Input Remesh Remesh (bottom part)

Simplification

Input Simplify (50000 faces) Simplify (10000 faces)

Denoising (L0 mesh smoothing)

Original Noisy Denoise

Hole filling

Original Hole filled (minimum dihedral angles) Hole filled (advancing front)

Notice

The functions provided by this repo are not perfect and their process will fail for problematic meshes, e.g., with non-manifold faces. In such cases, you can fix the problem by repairing the mesh using MeshFix.

License

Mozilla Public License v2 (c) Tatsuya Yatagawa 2020-2026

関連プロジェクトを探す

読み込み中…