I had a relatively simple part that refuses to mesh. Sometimes with a very small change in geometry it will mesh. I have attached the part showing a geometry that will not mesh. I seem to be flying blind when it comes to where and how the mesh fails. Is there a good way to troubleshoot the mesh failure? Is there a better meshing tool on the market? I seem to spend most of my time fighting meshgen... Mecway works great. Meshgen not so much.
Thanks
Comments
1) Look for weird parts on the geometry preview. Your 2nd file here seems to have two surfaces overlapping which you can sometimes see from the random dots shown in the attachment. These usually indicate one surface showing through another because they're at almost the same location.
2) Do a surface mesh then look for gaps/overlapping surfaces/etc. Two tools to help with this are View->Open cracks and Labs->Find non-manifold shells. The latter selects shell element edges that have the wrong number of adjacent elements (ie. anything other than 1).
3) Set a suitable maximum element size. Sometimes the default of no maximum causes failure. That doesn't seem to help in this case though.
4) If surface meshing fails, as it does here, export the same geometry from your CAD program as an STL file, then open it in Mecway and do the same checks described in step 2. I tried this using FreeCAD to convert STEP to STL. The 2nd file shows some non-manifold edges while the 1st file shows this edge/face problem you identified with some triangles flattened into lines. It might be these two different problems with each file.
5) Download the Netgen application from Sourceforge. Others have had some success with the geometry healing tool in that, or just having it work when the one in Mecway doesn't.
For having meshables parts is fundamental to have a well modeled part, avoid direct editions or automatic sew operations, this last will force and deform in weird shapes the edges of the surfaces to create a solid part, and there is were the mesher will fail or create very tinny elements. If you are the designer of the part is easy to keep the model clear and remove the small radius and features, the problem become when you receive a complex finished part without history tree, removing small radius can be challenging or impossible at all.