Skip to main content

3d processing library

Project description

build-test-distribute

PyPI version Downloads Python

NuGet Version NuGet Downloads

Shows a black logo in light color mode and a white one in dark color mode.

MeshLib: An SDK to Supercharge Your 3D Data Processing Efficiency

The MeshLib SDK is an open-source library that provides advanced algorithms for 3D data processing. It assists developers and engineers in achieving precise results while delivering significant resource savings. Whether you are working on 3D printing, scanning, inspection, automation, robotics, scientific visualization, or medical devices, MeshLib is ideally suited to meet your needs thanks to its potent capabilities and broad applicability.

MeshLib_SDK_Mesh_Processing_Library

Why Choose MeshLib

Fully Open Source. MeshLib is open to your ideas—help the team review, improve, or extend the library to better suit your project needs. You can also fork the code for your own unique use cases.

Multi-Language Support. Written in C++ with bindings for C, C#, and Python, MeshLib integrates easily into AI pipelines and cross-platform workflows.

High Performance. Internal benchmarks show up to 10x faster execution compared to alternative SDKs—especially in 3D boolean operations. See performance data.

GPU-Accelerated Architecture. Built with speed and scalability in mind, MeshLib supports GPU acceleration and CUDA for high-performance computing.

Cross-Platform Ready. MeshLib runs on Windows, macOS, Linux, and WebAssembly, offering flexibility for any development environment.

Developer Support. Get timely assistance from our responsive support team for integration, usage, or troubleshooting.

Flexible Integration. Use MeshLib as a standalone engine with UI components, or integrate selected algorithms into existing applications with minimal dependencies.

Wrapping Up

MeshLib provides a robust foundation for 3D data processing, supporting all essential formats like point clouds, meshes, and volumes continuously generated by modern sensors. Our powerful half-edge data structure ensures manifold compliance for precise, reliable mesh representation. Plus, our repository includes clear code samples to help you get started quickly and explore advanced features with ease.

Key Available Algorithms with MeshLib

  • 3D Boolean performs fast, highly optimized mesh- and voxel-based operations.
  • Mesh Repair eliminates self-intersections, fills holes, and removes degeneracies.
  • Mesh Offsetting controls surface thickness with multiple precise modes for 3D printing and machining.
  • Hole Filling fills flat and curved surfaces, connects or separates holes, and builds bridges.
  • Mesh Simplification optimizes mesh complexity while keeping details within set tolerance. We provide remeshing, and subdivision options as well.
  • Collision Detection verifies intersections between models for further operations.
  • Extensive File Format Support enables importing a wide range of file formats for meshes, point clouds, CT scans, polylines, distance maps, and G-code. Export functionalities—and support for color and texture data—are available for select formats, too (see the full list for details).
  • Triangulation converts point clouds into meshes with accurate normal creation.
  • ICP precisely aligns meshes using point-to-point and point-to-plane transformations.
  • Segmentation performs semi-automatic segmentation based on curvature for meshes and voxels.
  • Deformation applies Laplacian, freeform, and relaxation smoothing for fine mesh adjustments.
  • Support of Distance Maps and Polylines allows to generate distance maps and iso-lines and performs projection and intersection.

For detailed information, explore our MeshLib website section or refer to the corresponding sections in our documentation.

How to Get Started with MeshLib

  • Evaluate MeshLib. Start by exploring MeshLib for free under our educational and non-commercial license. You’ll get access to the documentation, installation guide, example code, and can run scripts locally to see how it fits your workflow.
  • Try MeshInspector. Put MeshLib to the test using MeshInspector, our GUI built on top of the SDK. It's available as a standalone desktop and web app with a 30-day trial.
  • Request a Demo. Get expert-level guidance, ask questions about integration, and receive complete licensing information tailored to your needs.
  • Visit our blog. Explore articles and tutorials covering 3D data processing workflows, occasional comparisons with other tools, and practical insights from the field.

Installation

For Python, simply install via pip:

pip install meshlib

If your chose is C++, C or C#, check out our Installation Guide.

Here, you can find MeshLib's tutorials and code samples to master our SDK quickly and with ease.

License

Here, you can access our Non-Commercial Free License with a Commercial License Requirement. Also, see extra details on MeshLib license page.

Reporting

Report bugs via our GitHub Issues Form for efficient tracking and resolution.

Join the GitHub Discussions to connect with developers, share ideas, and stay updated on MeshLib.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page