Cutting mesh out of another mesh

How can i cut one mesh out of another mesh to form holes?
Mesh m3 = Mesh m1 - Mesh m2

Thanks a lot in advance!


We are checking it and will get back to you shortly.

We’ve had a function like this since version 23.10. However, it necessitates the mesh instance to be meticulously crafted. Presently, we’re in the process of enabling general meshes to execute Boolean operations.
The enhanced Boolean operations are expected to be included in version 24.1.

Please try latest 23.12:

Mesh m1 = ....;
Mesh m2 = ...;
Mesh m3 = m1 - m2;

Or use Mesh.DoBoolean which can provide transformation to the meshes.

The meshes used in Boolean operation must be a single solid model without overlapped parts, holes, unconnected parts.