Get instant quote

Understand and fix common STL file errors

Learn what are the most common errors you may encounter while exporting a model for 3D printing and how to fix them.

Written by Alkaios Bournias Varotsis

Understand and fix common STL file errors

Introduction

The STL file format is the most commonly used file type in 3D printing. All modern CAD (Computer Aided Design) software allows you to export their native file format into STL.

The STL file represents a 3D model by approximating its outer surfaces using multiple triangles. These triangles create a 3D network (mesh) of points, edges, and faces. This mesh defines the internal volume of the model.

A simple STL file. The triangles are visible on the wireframe view (right)

An STL file is 3D printable if each edge is connected to exactly two faces (manifold). This way the 3D model is represented accurately and without any ambiguity.

In this article, we describe the most common errors encountered while exporting an STL file for 3D printing. A detailed step-by-step article explaining how to correctly convert your 3D models into STL can be found here.

What happens if you 3D print a faulty STL?

Faulty or poorly exported STL files can lead to unexpected results: missing faces, poor resolution or other geometric inaccuracies. Also, the 3D printing service provider is more likely to decline an order with faulty STL files or increase its price, as manual labor is needed to repair them.

On Hubs, we offer handy tools to help you identify errors with your STL files. You can access the Printability Analyser by clicking "View in 3D" in the checkout.

Check if your STL files are suitable for 3D printing

Upload your files here

Common STL errors

Boundary edges

Boundary edges are detected if some edges of the STL file are not connected to only one face. This essentially means that the model has holes and does not represent a closed surface.

STL file with boundary edges

Most modern slicing software is able to process STL files with open boundaries. Nevertheless, it is hard to predict how such a file will be interpreted by the software and it is not guaranteed that the result will be what the designer intended.

For example, If the open boundary edge is located on a curved surface (for instance, the side of a cylinder), then the slicing software will probably fill the void with a flat surface, altering the original design.

Severity CAD model modification or STL repair required.
Our recommendation Re-model the areas where the boundary edges were detected in the native CAD software or repair the faulty STL.

Intersecting faces

Intersecting faces are detected when two surfaces collide with each other. This error is commonly encountered when multiple bodies are occupying the same space, as seen in the example below:

STL file with intersecting faces

Intersecting faces usually lead to failures during slicing, as the software cannot recognize which areas are "inside" the model and which are "outside".

It is relatively straightforward to repair such errors. Most dedicated 3D printing file preparation software can repair these errors, but success is not always guaranteed. It is good design practice (and will save you a lot of time and effort later) to combine all bodies into a single solid in the native CAD software before exporting them into STL.

Severity CAD model modification or STL repair required.
Our recommendation Combine the bodies into a single solid, before exporting them into STL or repair the faulty STL.

Non-manifold edges

Non-manifold edges are detected when more than two faces are connected to the same edge. There are two instances of this type of error.

An extra surface may be defined in the interior of the model, essentially splitting it into two:

STL file with non-manifold edges interior to the model

More commonly, the same edge may be shared by more than one bodies, as is the case with the rectangles below:

STL file with non-manifold edges shared by more than one bodies

This error will rarely lead to any problems during slicing, but it should be avoided as the intentions of the designer are not clear.

For example, when an edge is shared by more than one bodies, it is not certain whether the designer wants them to be connected into a single piece or printed as two objects. To avoid this uncertainty, it is good practice to always add some thickness to the thin sections of your 3D models or increase the clearance between the features that you do not wish to be connected (0.3 mm clearance is usually sufficient). For details on the recommended minimum wall thickness, please refer to the design guidelines of the 3D printing process you are using.

Severity CAD model modification recommended.
Our recommendation Examine the faulty edges and alter your design accordingly, adding thickness or clearance where needed.

Over-refined mesh {over-refined-mesh}

A mesh is "over-refined" when the total number of triangles of the STL mesh is larger than required. This will not lead to any errors during 3D printing, but it will unnecessarily increase the size of the STL file, making it more difficult to handle. Usually, the tiny details that are represented by an over-refined mesh cannot be 3D printed, as they exceed the capabilities of most systems (in terms of accuracy and minimum feature size).

Severity Attention needed.
Our recommendation Export using the default setting of your software or by following our guidelines here.

How to repair your STL files?

We recommend these two options for repairing your STL files:

  • Repair your STL file using a dedicated 3D printing software: Many software solutions exist dedicated to the preparation of STL files for 3D printing and they can repair most STL errors. Popular (and free) examples include Netfabb (using the Repair command) and Meshmixer (using the Inspector command). For quick repairs, 3D Builder is an easy-to-use software for visualizing and repairing STL files and a free online STL repair tool can be found here.
  • Repair the error in the native CAD software before exporting to STL: In most cases, best results will be achieved when the STL file is correctly desinged and exported in the first place and is always the recommended option.

If you have any issues with repairing your STL files yourself, our highly experienced 3D printing service providers could help you solve them. It is the responsibility of the customer though to provide the correct models, so good and clear communication with your hub is always recommended.

STL file with non-manifold edges shared by more than one bodies

Rules of Thumb

  • Upload your files and use our Printability Analyser to detect common STL errors.
  • Prefer to solve any issues with your models in the native CAD software before exporting them to STL, as this will have the best results.
  • If this is not an option, various free tools exist that can repair most STL errors.

More resources for engineers

3D Printing STL files: A step-by-step guide

3D printing STL files: A step-by-step guide

Learn how to avoid low quality prints or unnecessarily large 3D files by exporting your STL file in the correct resolution.

Read article
Understand and fix common STL file errors

Understand and fix common STL file errors

Learn what are the most common errors you may encounter while exporting a model for 3D printing and how to fix them.

Read article
Simulations in 3D Printing

Simulations in 3D printing

Learn about the benefits and current state-of-the-art of 3D printing simulations. This article describes why, what and how to use simulations in 3D printing and gives tips to help you get started.

Read article
3D Modeling CAD Software

3D modeling CAD software

Learn about the differences between the different types of available 3D modelling CAD software (solid modelling, surface modelling and sculpting) and choose the right tool for your application.

Read article
3D Printing STL files: A step-by-step guide

3D printing STL files: A step-by-step guide

Learn how to avoid low quality prints or unnecessarily large 3D files by exporting your STL file in the correct resolution.

Read article
Understand and fix common STL file errors

Understand and fix common STL file errors

Learn what are the most common errors you may encounter while exporting a model for 3D printing and how to fix them.

Read article
Simulations in 3D Printing

Simulations in 3D printing

Learn about the benefits and current state-of-the-art of 3D printing simulations. This article describes why, what and how to use simulations in 3D printing and gives tips to help you get started.

Read article
3D Modeling CAD Software

3D modeling CAD software

Learn about the differences between the different types of available 3D modelling CAD software (solid modelling, surface modelling and sculpting) and choose the right tool for your application.

Read article

Show more

Show less

Design ready? Upload your parts for a free, instant quote

Get an instant quote