So after I split a mesh into 2 pieces with a plane, I use
Curve curves = Mesh.CreateContourCurves(leftSideMesh, plane);
to create an array of Breps like so:
Brep breps = Brep.CreatePlanarBreps(curves);
Now I encountered the following problem: For the meshes on one side of the plane this always works, but for the mehes that are on the other side of the cutting plane the returned Brep array is empty sometimes.
Can someone tell me why and how to fix this?
Edit: Note that I use the already cut mesh for creating curves.