It’s enormously frustrating to have an STL file that looks okay but is rejected by your slicer software. This happens when the 3D model isn’t described in a way that translates to a solid, printable object. In technical terms, the model may not be watertight (the slicer can’t figure out a solid shape) or may not be manifold (meaning the geometry described is confusing or ambiguous).

On the other hand, you may have an STL file that’s technically good but too large, bloated, or detailed to be processed. This may happen when using online printing services that impose limits on file size.

Thankfully, bad STL files are becoming less common as scanning and modeling software improve. Slicer software is also becoming smarter and can often fix simple STL issues automatically. However, tools such as SketchUp, models produced using Boolean operations in CAD packages, and models derived from 3D scans are notoriously prone to issues.

For STL files that refuse to slice properly, we can turn to dedicated software to repair any issues. These range from simple online solutions to sophisticated programs used by professional designers to analyze and fix 3D models.

In this article we’ll look at four free, well-regarded solutions that can solve most typical STL problems. We’ll look at the pros and cons of each to help you decide which is best suited for your needs.

Back to Contents

How to Repair STL Files (Online & Offline)

Our Choice of Software

Image of: Our Choice of Software
If you look closely, you'll see flaws (in red) and even a tiny person in the center of the model (Source: Guilherme Schendel via All3DP)

In our broader review of STL repair software, we looked at a wide range of tools, including those embedded in slicers and commercially licensed solutions. From those, we’ve selected some free solutions that work online or offline, and reviewed them in more detail to see just how well they perform.

Our choices were:

  • Formware’s repair tool, an easy-to-use, browser-based solution.
  • 3D Builder, a Windows-based solution that offers a little more functionality and control over STL repairs.
  • FreeCAD and Meshmixer, for cases where additional changes may be needed to make the STL printable; the former is a popular CAD tool and the latter is biased to mesh modeling and manipulation.
  • As a bonus, we’ll introduce Fusion as CAD software that offers many of the tools available in Meshmixer.

In comparing the tools, we were looking for how well they carried out automatic repairs, whether they were able to reduce the size of STLs effectively without losing required details, the level of feedback and information provided about the errors found and repairs made, the ability to manually tune or alter the repair process, and whether they supported functionality to make manual design changes if required (a last resort in the repair process).

Not every tool we looked at supported all of these features. Even after successful repair, an STL file might still not be printable. For example, it may contain wall sections that are so thin that they effectively vanish when sliced. Some 3D printing processes also call for models that are hollowed in certain ways. Functionality to address such points is often bundled with STL repair software (and is found, in part, in Meshmixer), although this was out of scope for this review.

Back to Contents

Advertisement
Advertisement
How to Repair STL Files (Online & Offline)

Test STL Files

Image of: Test STL Files
Our second test STL has a high triangle count and isn't quite watertight (Source: Guilherme Schendel via All3DP)

To put our selected tools through their paces, we focused on three test STL files, each with different underlying repair issues:

  • The Temple of Kukulcán pyramid in Chichen Itza by gpvillamil. Although it looks like a single shell, it actually contains several shapes, which can confuse slicers, including a tiny human figure lost in the interior!
  • The Hand Anatomy by tutus looks impressive when printed. It has a much higher triangle count and a couple of minor problems in the way the STL file describes the shape.
  • The Tiki Man by cjohnny is a scanned model with a very large (98 MB) file size, an incomplete base, and many other issues with the underlying mesh.

We also used a few other files, with various degrees of issue, when we needed to check specific points, but the three above represented the biggest challenges.

Now that we’ve gone over our selection process for both software and test STLs, let’s look at the options.

Back to Contents

Advertisement
Advertisement
1
How to Repair STL Files (Online & Offline)

Formware

Image of: 1. Formware
Formware is a free online repair tool that provides information on flaws and fixes (Source: Guilherme Schendel via All3DP)

Formware produce a commercial, full-featured slicing tool (focused primarily on resin printers) with powerful built-in STL analysis and repair functionality. A simple version of that functionality is available online for free and is exceptionally easy and engaging to use, with no need to sign in or register.

After uploaded files are analyzed, an outline of issues is displayed, repairs are made automatically, and a summary of the fixes is presented with a preview of the STL model. It could hardly be easier! We found the overview of fixes applied to be interesting and potentially useful to help track down the root cause of recurring problems.

The repair process is fast and very effective. Both the pyramid and rock sign were handled very well, although the Tiki STL exceeded the file size limit of 50 MB. There’s also a 4-minute processing time limit, although this is more than enough to fix even serious issues.

  • Where to find it? Formware
  • How much does it cost? Online tool is free; lifetime slicer license is ~$145 (personal use) or ~$300 (commercial)

Back to Contents

Advertisement
Advertisement
2
How to Repair STL Files (Online & Offline)

3D Builder

Image of: 2. 3D Builder
3D Builder has a simple interface and simple tools for 90% of repair scenarios (Source: Guilherme Schendel via All3DP)

3D Builder is bundled with most deployments of Microsoft Windows or can be downloaded separately. It was designed originally to make 3D CAD and printing easy for beginners, and has found a niche as a user-friendly way to repair or make simple changes to STL models.

Opening an STL file shows a 3D preview of the model which can then be imported to the workspace. The model is checked for any issues and outlined in red if any are found, along with the message “One or more objects are invalidly defined. Click here to repair”. The repair process happens in the background and no additional information is presented. If the repair is successful, the image will change to be outlined in blue and the fixed file can be downloaded. The 3MF format is the default but other options can be chosen.

3D Builder repaired all three of our main test files, however on closer examination the Tiki model was still not watertight as far as most slicers were concerned and needed more work.

The user interface is clean and easy to use and features a number of other useful tools. The “Object” menu, for example, has a “Settle” feature that automatically rotates and “lays flat” STL models that aren’t upright (such as the Tiki). The “Edit” menu also has an option to “Simplify”, which lowers the number of polygons used in the STL file and reduces the file size. A slider allows the amount of simplification to be manually controlled.

By using these, and other edit options supported by 3D Builder, we removed the problematic base and were able to create a printable Tiki STL file.

  • Where to find it? Microsoft
  • How much does it cost? Free

Back to Contents

Advertisement
Advertisement
3
How to Repair STL Files (Online & Offline)

FreeCAD

Image of: 3. FreeCAD
FreeCAD explicitly lists the issues found with STL files (Source: Guilherme Schendel via All3DP)

FreeCAD is a standalone, freeware CAD package with a large and loyal following. Although oriented towards parametric design, it also has a good range of analysis and repair tools.

Loading an STL file in FreeCAD and entering the “Mesh Design” workspace enables the repair functionality. Select “Analyze” and then “Inspect” (you may need to check that the file you want to repair is selected in the drop-down file list that appears). The “Inspect” tool presents a comprehensive list of all the errors found and these can either be repaired individually or you can select the “Repetitive Repair” option at the bottom of the window. (Despite its name, you may have to manually repeat this process several times for badly damaged STL files.) We found that these tools worked reasonably well, and it was interesting to see how altering the order of individual, manual repairs could change the overall outcome.

However, compared with the other tools, it didn’t manage as well with our test files. Only the hand design was repaired successfully. The pyramid exposes a known issue with FreeCAD for models with intersecting geometry, and the Tiki file processed for a very long time before reporting – incorrectly – that it could find no errors!

Although repair performance was the least impressive of the tools we tested, FreeCAD contains a wide range of functions to edit the underlying design. This will save the day in many cases, although at the cost of a higher learning curve.

  • Where to find it? FreeCAD
  • How much does it cost? Free

Back to Contents

Advertisement
Advertisement
4
How to Repair STL Files (Online & Offline)

Meshmixer

Image of: 4. Meshmixer
Meshmixer highlights visibly where STL errors occur (Source: Guilherme Schendel via All3DP)

Meshmixer is the self-proclaimed “Swiss Army Knife for 3D Meshes” and with good reason. This standalone tool from Autodesk is beloved by many notable 3D printing commentators and YouTubers. It’s reasonably easy to learn the basic functions (see our Meshmixer tutorial), and has enormous depths of additional capability, albeit with a steep learning curve. While Meshmixer is no longer in development, it hasn’t been retired, so this is still a valid inclusion on our list.

After importing a defective STL file, Meshmixer will automatically highlight any superficial issues in red, but its power lies within the “Analysis” menu and the “Inspector” function. On selecting this option, Meshmixer does an outstanding job of visually highlighting every error detected using a color-coded “ball and stick” representation. Minor holes and defects are highlighted in blue, red is applied for more serious issues, and magenta flags spurious small details that may need to be removed (the level of detail at which this is applied can be changed by sliding the “threshold” control).

Individual errors can be repaired selectively by clicking on the appropriate “ball”, and there’s also an “Auto Repair All” feature. There are also many options to set exactly how repairs are conducted, such as a variety of methods to fill detected holes.

An important point to appreciate is that Meshmixer’s repair tools are focused on fixing scanned images. As a result, it was the only tool to make a printable version of the Tiki Man without further design changes and also made short work of the hand model. However, like FreeCAD, it entirely failed to repair the pyramid.

Image of:
The intersecting geometry defeated Meshmixer's repair tools (Source: Guilherme Schendel via All3DP)

Even on very poor scanned STLs, we found that the repair function did a reasonable job of fixing obvious issues, and after this, Meshmixer’s excellent editing and sculpting tools could patch up the remainder.

One feature worth noting is an STL-repair secret weapon called “Make Solid“, found on the Edit menu. This converts overlapping shapes and shells to a single, watertight object suitable for printing. It’s an impressive feature, even if it’s more suited to sculpted or scanned shapes that those produced by CAD tools. After much trial and error, we even managed to fix the pyramid using this tool, although the resulting STL file was enormous!

  • Where to find it? Meshmixer
  • How much does it cost? Free

Back to Contents

Advertisement
Advertisement
5
How to Repair STL Files (Online & Offline)

Fusion

Image of: 5. Fusion
Straightforward mesh repair can be done in Fusion (Source: Guilherme Schendel via All3DP)

Although Meshmixer is indeed good software worth using in many different scenarios, because it’s no longer being developed, we thought it was worth mentioning Fusion. This 3D CAD software is also from Autodesk.

Many of the mesh tools available in Meshmixer, such as “Repair”, “Plane Cut”, “Shell”, and “Reduce”, are now integrated into Fusion – including in the free version of the software.

To perform mesh repair, select the “Mesh” tab on the ribbon and click on “Insert Mesh”. Choose the appropriate unit type, position your mesh on the workspace, and then click ok. The “Repair” tool enables four operations: Close Hole, Stitch and Remove, Wrap, and Rebuilt. Selecting the “Preview” box will allow you to verify how each of these operations works, and the “Detailed Analysis” will provide more information regarding “Non-manifold Edges” and “Self Intersections”, also highlighting the issues on the model. After that, right-click the modified mesh and choose “Save As Mesh” to download the repaired file for 3D printing.

Fusion was able to repair all three models with the slicer not alerting about any issues, including making a watertight version of the Tiki Man in a similar way as Meshmixer. However, further editing, such as using the “Plane Cut” tool, can improve the model by creating a perfectly flat base.

  • Where to find it? Autodesk
  • How much does it cost? Free for personal use, full version costs ~$680 per year

Back to Contents

Advertisement
Advertisement
How to Repair STL Files (Online & Offline)

And the Winner Is...

Image of: And the Winner Is...
A successful print after repairs (Source: tutus via Cults)

None of the tools handled every test perfectly. As a result, there’s no clear best performer – each tool has its own particular strengths and could be the right choice depending on a number of factors.

For quick and simple repairs, Formware did surprisingly well, handling a range of issues without difficulty. While it struggled with larger file sizes, it’s a first port of call for most issues.

Windows users will find that 3D Builder provides more control over repairs and optimization. The ability to handle larger STL files and a few useful features might make the difference between success and failure.

Although FreeCAD emerged at the foot of our league table for automatic repairs, it’s easy to use. For CAD models that need minor changes to print effectively, it’s a better option than 3D Builder and has a lower learning curve than many other CAD tools.

Scanned STL files are becoming more common as low-cost phone-based solutions emerge, but they bring their own distinct repair issues. For these, Meshmixer is definitely the best option of those reviewed, although it’s no “click and go” option. Fusion comes as a possible alternative to it if in the future it becomes unavailable or outdated.

Back to Contents

Advertisement
Advertisement
Advertisement