I tried to close the opening part of the model. After doing this, the pmc algorithm can run, but the results obtained are not satisfactory, as shown below.
I checked the model and found that the directions of some faces are reversed. If I can unify the directions of these faces, will the results obtained by pmc be better?
At the same time, after trying, I found that the direction of all faces is TopAbs_FORWARD, so i tried:
if (face. Orientation() == TopAbs_FORWARD)
std::swap(iNodes[1], iNodes[2]);
But the result obtained is that the original flipped face is right, and the positive face is flipped.
Maybe you can give me some help.
Sincere thanks for your generous help.
The model with the opening closed is in the attachment.