# How to export STL from FreeCAD

Select the final body in the model tree, choose File > Export and select STL Mesh. For control over its triangles, use the Mesh workbench first.

## Quick export

1. Select the **final body** in the tree. Do not select a sketch.
2. Choose **File > Export**.
3. Choose **STL Mesh**.
4. Give the file a name ending in `.stl` and save it.

FreeCAD uses millimeters internally. Open the STL and check one known size.

## Control the triangles

1. Switch to the **Mesh** workbench.
2. Select the body and choose **Meshes > Create mesh from shape**.
3. Set the surface and angular deviation.
4. Create the mesh and inspect it.
5. Select the new mesh and export that object as STL.

If you export the original body after these steps, FreeCAD can use other settings. Select the new mesh. Menu names can differ between versions.

## Before export

Choose the tip or final result of a PartDesign Body. Use **Part > Check geometry** if the mesh has errors. Join solids when they should become one part.

## Questions

### Why is my exported file empty?

You may have selected a sketch, group or hidden object. Select a visible solid and export again.

Source: https://stlviewer3d.com/guides/export-stl-from-freecad/
