How to Decimate a Mesh in FreeCAD
This guide explains how to reduce the polygon count of a 3D model in FreeCAD using the built-in Mesh Design workbench. Whether you are preparing a heavy STL file for 3D printing, improving viewport performance, or optimizing assets for rendering, decimating a mesh simplifies its geometry while preserving its overall shape. The following steps outline the exact process for importing, reducing, and exporting your optimized mesh.
Step 1: Switch to the Mesh Design Workbench
- Launch FreeCAD and open your project, or import your mesh file
(
File>Import) such as an STL, OBJ, or PLY format. - In the workbench dropdown menu located in the top toolbar, select Mesh Design.
Step 2: Select the Mesh Object
- Look at the Tree view panel on the left side of the screen.
- Click on the mesh object you wish to simplify to highlight it.
Step 3: Open the Decimation Tool
- With the mesh selected, navigate to the top menu bar.
- Click on Meshes and select Decimation... from the dropdown list.
Step 4: Adjust the Decimation Settings
A dialog box will appear with parameters to control how aggressively FreeCAD simplifies the mesh geometry:
- Tolerance (Maximum Deviation): This value defines the maximum allowed geometric error (distance) between the original surface and the simplified surface. A higher value reduces more polygons but softens sharp edges and fine details. A lower value preserves original geometry at the cost of keeping more triangles.
- Target Polygon Count / Reduction Percentage: Depending on your FreeCAD version, you may specify a target percentage of reduction or an absolute maximum number of faces.
Set the tolerance value according to your needs. For standard 3D
printing applications, a tolerance between 0.05 mm and
0.2 mm typically yields significant polygon reduction
without noticeable loss of detail.
Step 5: Apply and Verify the Result
- Click OK to execute the decimation process. FreeCAD will recalculate the surface geometry.
- Inspect the resulting mesh in the 3D view.
- You can toggle the display mode by pressing
VthenF(or setting the display to Wireframe) to inspect the new triangle density. - If the result is too coarse or still too dense, press
Ctrl + Zto undo the operation and repeat the process with an adjusted tolerance value.
Step 6: Export the Simplified Mesh
- Highlight the simplified mesh in the Tree view.
- Go to File > Export.
- Choose your preferred file format (such as **STL Mesh (*.stl)**) and save your optimized model.