DXF Viewer Free
Menu

How to Save as DXF in AutoCAD, LibreCAD and FreeCAD

Use Save As (or Export in FreeCAD) and pick a DXF version; 2013 or 2000 fit most uses.

Most CAD programs can save a drawing as DXF in a few clicks. The only real decision is the version. If the person or machine receiving the file has no preference, choose 2013 (or 2018). For older laser, plasma and CNC software that rejects newer files, choose 2000 or R12.

Menu names below are from current versions of each program and may differ slightly in yours.

AutoCAD and AutoCAD LT

  1. Open the drawing.
  2. Type SAVEAS and press Enter, or choose Save As from the application menu.
  3. Under Files of type, choose a DXF format, for example AutoCAD 2018 DXF (*.dxf). The list also offers 2013, 2010, 2007, 2004, 2000 and R12/LT2 DXF.
  4. Optional: in the same dialog, open Tools > Options and the DXF Options tab. Keep the format on ASCII, which every program reads, and leave the decimal places at 16 for full precision.
  5. Choose a name and click Save.

The command DXFOUT does the same thing. AutoCAD keeps your DWG file unchanged; the DXF is a separate copy.

When saving as R12: this old format has no lightweight polylines, splines or ellipses. AutoCAD converts them to older object types, so curves may become many short segments. Check the result before sending it to a machine.

LibreCAD

LibreCAD saves DXF by default, so a drawing you made in LibreCAD is already a DXF file.

  1. Choose File > Save As.
  2. Under the file type, choose a DXF version. Drawing Exchange DXF 2007 is the default; DXF R12 is available for older programs. Some dialogs show these format names in English even when the menus are translated.
  3. Click Save.

Recent LibreCAD versions can also import DWG files, although support is only partial and LibreCAD cannot save DWG. If your DWG opens in LibreCAD and looks right, saving it as DXF this way is a quick conversion.

FreeCAD

FreeCAD exports DXF from 2D geometry. What you export depends on what you have:

A sketch or 2D drawing (Sketcher or Draft workbench)

  1. Select the sketch or objects in the model tree.
  2. Choose File > Export (Ctrl+E).
  3. Choose the file type Autodesk DXF 2D (*.dxf) and save.

A 3D part

A DXF file stores flat drawings, so first make a 2D view of the part:

  1. Switch to the TechDraw workbench, insert a page and add a view of the part.
  2. With the page selected, choose TechDraw > Page > Export Page as DXF.

Alternatively, the Draft workbench’s Shape 2D view creates a flat projection that you can export with File > Export as above.

FreeCAD can also import DWG files when a converter is installed, such as the free ODA File Converter, LibreDWG or QCAD Pro. The setting is under Edit > Preferences > Import-Export > DWG.

Other programs

  • BricsCAD, DraftSight, ZWCAD, progeCAD: use Save As and choose a DXF version, as in AutoCAD.
  • SolidWorks, Inventor, Fusion, Onshape: export a drawing sheet or a flat face (for sheet metal, the flat pattern) as DXF. Look for Save As, Export or Export DXF on the drawing or sketch.
  • Inkscape: File > Save As and choose Desktop Cutting Plotter (AutoCAD DXF R14) (*.dxf) or Desktop Cutting Plotter (AutoCAD DXF R12) (*.dxf).

Check the result

Open the DXF in the viewer, then look at Drawing info: the format line shows the DXF version, and the units and size should match the original. Measure one known dimension to be sure.