Jump to content

MeshLib

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Trikemope (talk | contribs) at 23:42, 5 October 2025 (Data structures). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
MeshLib
DeveloperMeshInspector
Stable release
3.0.8.228
Written inC++ (with bindings to Python, C, C#)[1]
Operating systemWindows, macOS, Linux, WebAssembly
Type3D geometry processing SDK
LicenseFree 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.[2][3] The library includes functionality for geometry processing, computational analysis, and conversion between different 3D data formats.[4][5] 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..[6]

Overview

MeshInspector was co-founded by Alexey Vishnevskiy, an inventor on multiple patents in the fields of CAD/CAM and digital dentistry,[7] 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.[8]

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

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

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. The object functions as the chief container for algorithms. Vertex positions are held in a dedicated array of points, i.e., 3D coordinates.[20][21]

  1. ^ Smith, Morgan Mekale; Ochoa, Elizabeth; Barannikov, Savannah; Keating, Mallory; Habes, Mohamad; Flanagan, Margaret E.; Seshadri, Sudha; Bieniek, Kevin F. "Protocol for hybrid structured-light three-dimensional scanning and modeling of human postmortem brains". STAR Protocols. 5 (3): 103246. doi:10.1016/j.xpro.2024.103246. PMC 11367453. PMID 39150849.{{cite journal}}: CS1 maint: article number as page number (link)
  2. ^ Jaiswal, Monu; Corpuz, Ashton M.; Hsu, Ming-Chen. "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. doi:10.1016/j.cma.2024.117426.{{cite journal}}: CS1 maint: article number as page number (link)
  3. ^ Lv, Chenlei; Lin, Weisi; Zhao, Baoquan (2021). "Voxel Structure-based Mesh Reconstruction from a 3D Point Cloud". arxiv. doi:10.48550/ARXIV.2104.10622.
  4. ^ "A Good 3D mesh library". Stack Overflow. Retrieved 2025-10-04.
  5. ^ "meshlib — ogstools 0.7.0 documentation". ogstools.opengeosys.org. Retrieved 2025-10-04.
  6. ^ a b "MeshLib".
  7. ^ "Google Patents". patents.google.com. Retrieved 2025-10-04.
  8. ^ "Alexey Vishnevskiy". scholargps.com. Retrieved 2025-10-04.
  9. ^ "Google Patents". patents.google.com. Retrieved 2025-10-04.
  10. ^ a b "MeshInspector". 2023-07-06. Retrieved 2025-10-04.
  11. ^ "MeshLib Features". MeshLib. Retrieved 21 September 2025.
  12. ^ a b c MeshInspector. "Releases · MeshInspector/MeshLib". GitHub. Retrieved 2025-10-04.
  13. ^ "MeshLib SDK". pypi.org. Retrieved 2025-10-04.
  14. ^ "Variable 3D resolution in complex detector geometries for Monte Carlo simulations".
  15. ^ 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.{{cite journal}}: CS1 maint: unflagged free DOI (link)
  16. ^ "Simulating squirt flow in realistic rock models using graphical processing units (GPUs) Open Access".
  17. ^ "Exploration of Digital Interactive Advertising Creation Tools and Teaching Practices" (PDF).
  18. ^ "three-meshlib-editor on NPM". Libraries.io. Retrieved 2025-10-04.
  19. ^ "JavaScript/TypeScript Binding for the meshlib".
  20. ^ "Radial Basis Function Techniques for Neural Field Models on Surfaces".
  21. ^ "GeMA: Mesh Lib". gema.tecgraf.puc-rio.br. Retrieved 2025-10-04.