Published: 2026-09-07
Updated: 2026-09-15
Dmitry Lambin

MeshLib vs CinoLib: 3D Boolean Operations Benchmark

MeshLib vs CinoLib 3D boolean benchmark: MeshLib 0.09 s vs CinoLib 6.6 s

Among research boolean engines, the robust-booleans pipeline shipped with CinoLib has a special reputation: it is built to never give up, resolving even pathological input with exact arithmetic. We put that reputation to the test against MeshLib in our 2026 benchmark — timing both libraries on large scans and a degenerate dental mesh, and probing three edge cases that break most engines.

What is MeshLib?

MeshLib is an open-source 3D geometry SDK with a performance-first C++ core and official bindings for Python, C#, C, and JavaScript. Booleans are one of its flagship tools: the engine is tuned for scanned, imperfect data and multi-million-triangle meshes, converting non-manifold input into a processable form instead of rejecting it. That combination of speed and tolerance is why MeshLib powers commercial applications in dental, orthopedics, and 3D printing.

What is CinoLib?

CinoLib is an open-source, header-only C++ library for processing polygonal and polyhedral meshes, maintained as a research platform. For booleans it integrates a robust mesh-boolean pipeline built on exact arithmetic, designed to produce a valid result on any input, however broken. The library is MIT-licensed and aimed primarily at researchers and prototype builders.

MeshLib vs CinoLib comparison results

Testing setup — Apple M5 MacBook Air (10-core CPU, 32 GB unified memory), macOS 26. We report the minimum over 10 iterations per operation; mesh I/O is excluded from the timings. To access the input and result meshes used in our tests, visit this link.

Nefertiti Case

This scenario involves large meshes (2M Triangles each) with complex topology, representing a common challenge in 3D boolean operations.

UnionTwo slightly shifted Nefertiti meshes after a boolean union
Meshes were slightly shifted.
IntersectionNarrow intersection result of two slightly shifted Nefertiti meshes
Meshes were slightly shifted.
Difference A-BNefertiti mesh difference A-B with the overlap region cut away
Meshes were slightly shifted.
OperationMeshLib 3.1.3.249CinoLib + RobustMesh
Nefertiti — Union0.09 (0.26)6.6
Nefertiti — Intersection0.08 (0.23)7.1
Nefertiti — Difference0.08 (0.23)7.5

Comments

Both libraries return correct results on the two-million-triangle scans, so this case is purely about speed. Exact-arithmetic robustness costs the CinoLib pipeline 6.6–7.5 seconds per operation, while MeshLib finishes each boolean in under a tenth of a second. Even after adding MeshLib's one-time precomputations (the numbers in braces), the gap remains well above an order of magnitude.

Dental Case

In this case, we simulate dental models (≈500K Triangles) with degeneracies and coinciding surfaces, reflecting real-world scenarios encountered in medical applications.

UnionDental arch unioned with two rectangular blocks in a degeneracies test
IntersectionIntersection result of dental arch meshes with degeneracies
Difference A-BDental arch and block geometry from a boolean difference A-B test
OperationMeshLib 3.1.3.249CinoLib + RobustMesh
Dental — Union0.04 (0.06)1.0
Dental — Intersection0.05 (0.08)1.0
Dental — Difference A-B0.05 (0.07)0.96

Comments

The degenerate dental scan slows the CinoLib pipeline to about one second per operation — a solid result that few engines match, and the output is correct. MeshLib returns the same correct booleans roughly twenty times faster, at 0.04–0.05 seconds per operation. Both libraries pass this robustness test; the question is whether the speed fits an interactive application.

Simple Objects Case

In this case, we compare how algorithms behave when handling complex geometries.

Holed, Not IntersectedUnion of a sphere and a polygonal block with the hole outside the overlap
Boolean Union of meshes, one with a hole aside from the intersection part.
Holed IntersectedUnion of a sphere and a polygonal block with the hole inside the overlap
Boolean Union of meshes, one with a hole into the intersection part.
Self-IntersectionsBoolean union of a torus and a prism with self-intersections in the overlap
Boolean Union of meshes, one with self-intersections in the meshes' intersection part.
CaseMeshLibCinoLib + RobustMesh
Holed, Not IntersectedYesYes
Holed IntersectedNo*Yes
Self-IntersectionsNo**Yes

Comments

The edge cases are where the CinoLib pipeline shines: it returns a result in all three scenarios, including a hole inside the intersection zone and self-intersecting input — the widest qualitative coverage in our benchmark. MeshLib takes a more conservative stance by design: it processes the hole that stays clear of the intersection zone and treats the remaining two setups as ill-defined rather than silently altering the geometry.

* MeshLib does not support the representation of non-manifold meshes and automatically converts them to a manifold form. ** The results of such operations are not well-defined, leading to a mesh with numerous inconsistencies, such as self-intersections and degeneracies. Mesh Boolean operations may eventually fail outright; see our overview of why 3D Boolean operations may fail and how to prevent it.

Why choose MeshLib SDK for 3D boolean operations over CinoLib?

For research on broken meshes, the CinoLib robust-boolean pipeline is a remarkable tool, and MIT licensing makes it easy to try. Production is a different equation: MeshLib delivers correct booleans 20–80× faster on real-world data, handles scanner output at interactive speed, and is available as a maintained commercial SDK with bindings for C++, Python, C#, C, and JavaScript and professional support. When booleans sit inside a shipping product, that is usually the deciding factor.

What our customers say

MeshLib SDK Case Study: How Media Lab Made Implant3D 2× Faster
Fast Mesh Boolean in Surgical Software: Customed Case Study
Building 3D Scanning Software with MeshLib SDK: Polyga Case Study
01 / 03

Massimo Ivani

CEO, Medialab

«Our application is a medical device, so we have to be able to trust the SDK behind it. We built a lot of internal tests before switching, and MeshLib gave us the precision we had before at twice the speed…»

Read full review

Ruedger Rubbert

Chief Technology Officer, Brius Technologies Inc

With MeshInspector MeshLib we were able to automate many of our workflow processes, thanks to its advanced, modern, and efficient dental and geometry oriented algorithms, covering many of our orthodontic-related tasks: CT and intraoral scan segmentation, voxel and Boolean operations, editing, aligning, visualization, inspection, and import/export of mesh objects. We use the versatile MeshInspector MeshLib API, both in production and R&D for fast prototyping and testing of our ideas.

Read full review

Mariusz Hermansdorfer

Head of Computational Design at Henning Larsen Architechts

Over the past year, MeshLib has transformed my approach to design and analysis in landscape architecture and architecture projects. This powerful library excels in critical areas, such as geometry processing, interactive booleans, point cloud manipulation, and curve offsetting. These features enhance design workflows, allowing for dynamic modifications, efficient terrain modeling, stormwater flow analysis, and advanced wind flow visualiiza…

Read full review

Gal Cohen

CTO, customed.ai

MeshLib has been a game-changer for our company, providing all the essential operations we need to handle meshes and create highly accurate personal surgical instruments (PSIs), which are our primary products. After extensive research and comparison, MeshLib stands out as the best solution on the market. Their team is exceptionally professional and knowledgeable. Collaborating with them has been an absolute pleasure—they respond to any issues we encounter promptly and always deliver effective solutions. Their commitment to customer support and technical excellence is truly unmatched.

Read full review

HeonJae Cho, DDS, MSD, PhD

Chief Executive Officer, 3DONS INC

MeshLib SDK helped us achieve faster and more accurate calculation results and outperformed any other Mesh Processing library that we evaluated. For us in digital dentistry, it was a game-changer. Mesh processing operations, such as inspecting and editing the mesh to create dental devices for the treatment plan, are crucial. MeshInspector support liberated our team from technical constraints so we concentrated on creating exactly what we wanted. I highly recommend incorporating the MeshLib into your software arsenal.

Read full review

Thomas Tong

Founder, Polyga

When we set out to develop our new PointKit scanning platform, we chose MeshInspector’s MeshLib as the foundation. That partnership let us accelerate development, ship new features faster, and get to market months sooner than we could have on our own. The MeshInspector team has been outstanding — quick answers, deep technical know-how, and genuine enthusiasm for our success. We simply wouldn’t be where we are today without their support.

Read full review

    Try MeshLib now

    Booleans, mesh repair, decimation and ICP — in your browser, as JavaScript and WebAssembly. No install, no sign-up.

    Open live demo

    Or install the SDK — free to evaluate

    Setup guide · binaries or CMakeSetup guide · binaries, MeshLibC2