MeshLib

Last updated
MeshLib
Developer MeshInspector
Stable release
3.0.8.228
Written inC++ (with bindings to Python, C, C#)
Operating system Windows, macOS, Linux, WebAssembly
Type 3D geometry processing SDK
License Free for non-commercial use; commercial licenses available

MeshLib is a cross-platform software development kit (SDK) for three-dimensional (3D) data processing, primarily implemented in C++. It provides tools for handling polygonal meshes, point clouds, and voxel-based data. [1] The library includes functionality for geometry processing, computational analysis, and conversion between different 3D data formats. [2] Bindings are available for Python (fully exposed starting from version 3.0.0.) and C# (not fully exposed), with a C API fully exposed since v3.0.7. [3]

Contents

Overview

MeshInspector was co-founded by Alexey Vishnevskiy, an inventor on multiple patents in the fields of CAD/CAM and digital dentistry, [4] and Sergey Nikolskiy, an inventor and co-author of patents related to digital dentistry, 3D modeling, and segmentation technologies. Vishnevskiy, Nikolskiy and the team hold more than 30 patents and scientific publications in areas connected to 3D modeling, mesh processing, and dental CAD/CAM technologies. [5]

Vishnevskiy and Nikolskiy have long-term experience in CAD/CAM software development and 3D mesh processing. [6] They began working together in the 2000s on projects in dental technology, which later developed into MeshInspector and the development MeshLib library. [7] The group began developing MeshLib in the early 2020s alongside the MeshInspector application. [7]

MeshLib was first launched commercially in 2022. [8] The most recent major version, the 3.0.x series was introduced in October 2024 and has continued to receive iterative updates through 2025. [9] [10] MeshLib supports several functions for 3D data, including Mesh generation, mesh repair, boolean operations on both voxels and meshes, [11] mesh simplification, mesh offsetting, delaunay triangulation, iterative closest point (ICP), collision detection and distance computation, [3] [12] [13] mesh smoothing, point cloud to mesh and triangulation, [9] and supports over 25 file formats across meshes, point clouds, voxels, polylines, distance maps and G-Code. MeshLib can also be built for WebAssembly via Emscripten. [3] [9] [12] [13]

Data structures

The MeshLib SDK manages 3D data via dedicated structures. Surface geometry is stored in the core mesh object and acts as the main container for algorithms. Vertex positions are held in a dedicated array of points, i.e., 3D coordinates. [14] Topology is represented by MeshTopology, a half-edge structure that provides face/edge/vertex connectivity and ensures manifold compliance. [15] [9] For spatial queries and collision detection, MeshLib builds and caches an AABB-tree (axis-aligned bounding box hierarchy) over mesh triangles to accelerate broad-phase operations. [9]

License

The MeshLib SDK is distributed under its own dual-licensing model. [16] It offers a free license for educational and research institutions under non-commercial terms, and requires a commercial license for business usage. The software is not released under any OSI-approved open-source license. Bundled assets are governed by the same licensing terms where specified. [9] [16]

References

  1. Jaiswal, Monu; Corpuz, Ashton M.; Hsu, Ming-Chen (2024). "Mesh-driven resampling and regularization for robust point cloud-based flow analysis directly on scanned objects". Computer Methods in Applied Mechanics and Engineering. 432 117426. Bibcode:2024CMAME.43217426J. doi:10.1016/j.cma.2024.117426.
  2. "A Good 3D mesh library". Stack Overflow. Retrieved 2025-10-04.
  3. 1 2 3 "MeshLib".
  4. "Google Patents". patents.google.com. Retrieved 2025-10-04.
  5. "Alexey Vishnevskiy". scholargps.com. Retrieved 2025-10-04.
  6. "Google Patents". patents.google.com. Retrieved 2025-10-04.
  7. 1 2 "MeshInspector". 2023-07-06. Retrieved 2025-10-04.
  8. "MeshLib". MeshLib. Retrieved 21 September 2025.
  9. 1 2 3 4 5 6 MeshInspector. "Releases · MeshInspector/MeshLib". GitHub. Retrieved 2025-10-04.
  10. "MeshLib SDK". pypi.org. Retrieved 2025-10-04.
  11. Stroth, M.; Manke, H.; Fluehs, D.; Albrecht, J. (2025). "Variable 3D resolution in complex detector geometries for Monte Carlo simulations". Physics in Medicine & Biology. 70 (14). Bibcode:2025PMB....70n5008S. doi:10.1088/1361-6560/adeb3f. PMID   40602418.
  12. 1 2 Alkhimenkov, Yury (2024-05-06). "Simulating squirt flow in realistic rock models using graphical processing units (GPUs)". Geophysical Journal International. 238 (1): 272–289. doi: 10.1093/gji/ggae152 . ISSN   0956-540X.
  13. 1 2 "Simulating squirt flow in realistic rock models using graphical processing units (GPUs) Open Access".
  14. Sage B Shaw; Zachary P Kilpatrick; Avitabile, Daniele (2025). "Radial Basis Function Techniques for Neural Field Models on Surfaces". arXiv: 2504.13379 [math.NA].
  15. Li, Zhen; Shi, Zuoqiang; Sun, Jian (2017). "Point Integral Method for Solving Poisson-Type Equations on Manifolds from Point Clouds with Convergence Guarantees". Communications in Computational Physics. 22 (1): 228–258. Bibcode:2017CCoPh..22..228L. doi:10.4208/cicp.111015.250716a. ISSN   1815-2406.
  16. 1 2 "Benchmarking Open-Source Libraries for 3D Object Comparison in Machining Part Quality Control and Assessment" (PDF).