Could you post your file ?
Easier to test and give you a method.
Not to give you a script but to study where is your problem.
I think a script could not work in all cases. A reconstruct process is perhaps better.
For you example, I think the easier way is to rebuild the surface with its edges.
|