The STL path in FreeCAD runs through File → Export with the STL format selected, or through the Mesh Design workbench when a mesh object is needed inside the document. The dialog exposes three values that fully decide the triangle count: deviation, angular deflection and the binary flag. Deviation is the maximum allowed distance between the original surface and the tessellated triangle, measured in millimetres.
The default of 0.50 mm is intended for visual previews, not for manufacturing. On a 0.4 mm nozzle a 0.50 mm chord error is visible as faceting on every curved wall, and on a small fillet it can remove the feature entirely.
- Deviation0.05 mm for FDM printing, 0.02 mm for resin, 0.10–0.20 mm for a visual mockup that will never be machined.
- Angular deflection0.10–0.20 rad keeps cylinders round; the shipped default of 0.50 rad flattens a 20 mm shaft into a visible polygon.
- Binary flagBinary STL costs 84 bytes plus 50 bytes per triangle. ASCII is human-readable and five to six times larger — useful for debugging, wasteful for delivery.
- UnitsSTL carries no unit field at all. FreeCAD writes millimetres; the receiving software decides what those numbers mean.
Triangle count follows the deviation directly. A 60 mm bracket exported at 0.05 mm typically lands between 60,000 and 120,000 triangles, which is a 2–4 MB binary file. Dropping the deviation to 0.01 mm can push the same part past one million triangles with no visible gain at a 0.2 mm layer height, and the slicer spends noticeably longer preparing the job.
Working rule: set the deviation to at most one quarter of the layer height, and never below 0.02 mm for FDM. A 0.2 mm layer pairs with 0.05 mm deviation; a 0.12 mm layer pairs with 0.03 mm.