Export to STL or OBJ

Introduction
In this tutorial we will cover how to export STL/OBJ-files from FreeCAD. Since the mesh-format STL/OBJ is dimensionless, FreeCAD will assume on export that the units used in the model are in mm. If this is not the case you have to scale your model. One way to do this is using Draft_Scale.

Sample part
You can use your own FreeCAD file, but you could also create a quick test file by
 * Opening FreeCAD
 * Create a new document
 * Switch to part workbench
 * Insert a cube by clicking on [[Image:Part_Box.png|32px]]
 * Insert a cone by clicking on [[Image:Part_Cone.png|32px]]
 * Select both objects in the tree view
 * Apply a fusion by clicking on [[Image:Part_Fuse.png|32px]]
 * Save your file

Export Method 1: Using "File > Export"

 * Select the solid to be exported in the tree view.
 * Choose  →  and set file type to "STL mesh (*.stl *.ast)".
 * Enter your file name. The default extension is ".stl".  You must include the extension ".ast" in the file name to produce a .ast file. Choose.

Export Method 2: Using the mesh workbench in FreeCAD

 * Switch to the Mesh Workbench.
 * Select the solid to be meshed in the tree view.
 * Choose  →    from the main (top) menu.
 * Select one of the three available meshers and specify the available options. For more information refer to Mesh from Shape.
 * Choose . The mesh object will be created in the tree view (with green mesh icon).
 * Right click the mesh object in the tree view and choose.
 * Fill in the file name; the extension is not necessary. The extension will be set based on the file type.  If you include an extension which does not match the selected file type, an extension for the selected type will be added when the file is saved.  If you include an extension which matches the file type, no additional extension will be added.
 * The default file type is "Binary STL (*.stl)". Change the type if you wish.
 * Choose.

Which Method to choose ?

 * Method 2 is to be preferred. Especially when you have more than one Body to convert you can use Tools from Mesh Workbench, like fusioning Meshes before Exporting.

Links

 * Import from STL or OBJ