I have a mesh imported from a Structure Scanner that has some dirty mesh sections. I have a script that imports, orients and simplifies the mesh to this: However looking from the inside shows some faces are facing inwards, causing problems for another program along to process: The scanner seems to double up some faces causing these problems. I can get away with deleting the erroneous faces/vertices (leaving holes to be filled in blender or the next stage), but I can't figure a way to detect these areas and remove them.
This solution from another question looked promising, but firstly I can't get the script to work and secondly it takes an average of the whole selection which wouldn't work on this nearly hemi-spherical shape.
Is there perhaps a simpler way of remove/correcting these erroneous points, CATIA has "clean non manifold triangles"?