Netgen "Problem in Surface mesh generation"

Hi,

I have generated the following geometry using some preprocessing and then glued the geometries together and saved it with WriteStep(). The meshing fails regardless of whether I use the original or the STEP file (and I get similar results). It does generate a mesh but keeps giving ‘ERROR: Problem in Surface mesh generation’ and the mesh is all messed up. If I use quad_dominated then it’s even worse with the surfaces all tangled as well (degenerate faces).

Also I tried GMSH and it produces workable meshes!

I did use the same preprocessing and it works on more than 20 other geometries I generated, this is the only one with an issue.

testSTEP_cleaned.step (344.9 KB)