Hi guys,
I use the following api to slice a solid brep:
RhinoBrepSplit(*target_brep, *cutting_brep, tolerance, temp_results);
Here the cutting_brep is created from a plane bounded by a closed contour.
Same function, I have also used a ON_PLane to split the solid brep.
The issue is that sometimes, I got a split-brep which is not solid anymore, the face at the sliced end is missing. I don’t know why this is the case, Could Rhino experts tell me how to avoid this case?
Now I have to use the following API to create the missing face, so I can I got a closed solid.
RhinoBrepCapPlanarHoles(brep_with_hole, tol);
Is it the right way to do it?
Thank you guys.
Regards
John