Receive Posts by Email

Blog Home

Common Problems Identified in the STL File Healing Process

Thu Feb 22, 2018

STL File Problems That Need to be Healed

When coming from a standard format, very often that data has to be repaired or improved, and Spatial does that as part of our interop product.

Now that we are dealing with tessellating data as STL, we are going to walk through common pathologies and errors that we find in these files.

Missing Triangles

The first is missing data, missing triangles. If you are missing triangles then you don't have a watertight solid volume and being a watertight solid volume is really the first requirement of all slicing algorithms be from Spatial or someone else. So, you have to fill in these holes where triangles are missing, small holes like the one below are pretty simple to fill, but I see a lot of data with holes that have complete surfaces missing from a part of this questionable STL data that is out in the wild.


Flipped Triangles

The next common error we call Flipped Triangles. Triangles all have to be oriented the same way with the right hand rule, in order to determine that you have you a closed volume, and often we see files that do not comply with that. So you have to algorithm understanding the geometry to identify and correct this to get all the triangle pointing outwards to create this watertight volume.


Intersecting Triangles

Very often the basis for the STL file that gets generated out of CAD system is the triangulation that was created for visualizing it. To put a 3d model on the screen you have to tessellate it to triangles, that is the language that the graphic card speaks. So every CAD system has the ability to that, you can create triangles that look pretty good on the screen but it has flaws the user cannot see, which is ok for visualization. But, when we need to actually slice that to create a 3d print preparation , those kind of errors will disrupt the slicing and make it unreliable. So in this case you have bad cognitivity from the triangles or small triangle that is flipped over, maybe not noticeable when you are just visualizing the part but it will cause problems when you try to manufacture from that data. This is another type of problem we need to repair in the STL before moving on top the next steps in manufacturing.


Intersecting or Mating Surfaces

Another common thing that we see are parts that look good at first, for example the model below  of a spark plug. We look at the mesh and tessellation, this looks pretty healthy, it doesn't have the problem of missing data or badly intersecting triangles but when we look further it was actually modelled as a assemble, so there is maybe 3 or 4 parts that overlap. If you slice this directly to print it, you are going to have problems. Because at the boundary where the multiple parts intersect you are going to have redundant laser paths or redundant machine paths. Now if it SLM or SLS then the laser will go over the part too many times and it will change the the behaviour of the materials, if it is a FDM type of process that you are going to try and print the same beads of material in the same place, it will probably just cause a mess of the printer or a mess of your part. So, this is another way where someone requested this model printed, but it is not ready to be printed yet, you need 3d modeling capability to resolve this assembly into a single part volume that is ready to be printed.


Free eBook - Healing As An Essential Function

Tags: 3D Interoperability Manufacturing & Fabrication

Recent Posts