DXF to AMF Converter, 2D Outlines to 3D Plates | MiConvert

DXF to AMF Converter for 3D Printing Flat Parts

Closed shapes in your DXF are filled, holes included, and extruded into a solid exactly 1 drawing unit thick, then saved as an AMF mesh. The units in the DXF header are ignored, so a drawing made in inches needs scaling in the slicer.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
DXF → AMF

DXF drawings in Google Drive?

Drive cannot preview DXF files. Open one from Drive with MiConvert to see the drawing as pages, or convert it and save the result next to the original. MiConvert for Google Drive →

Turning a DXF drawing into a printable AMF

DXF is the exchange format behind AutoCAD and most CAD/CAM and laser-cutting software, and it usually holds flat linework: lines, arcs, polylines and circles with no thickness. A slicer cannot print a line. It needs a closed volume, and AMF, the XML-based Additive Manufacturing File format standardized as ISO/ASTM 52915, is one way to deliver it. PrusaSlicer and other Slic3r-based slicers open AMF.

Our importer, built on the ezdxf library, reads the drawing on our servers and switches to recover mode when a damaged file fails a normal read. Real 3D faces already in the drawing, meaning 3DFACE, MESH, POLYFACE and POLYMESH entities, including those inside blocks, are read as faces. For flat geometry it collects lines, arcs, circles, ellipses, splines and polylines, expands block inserts up to eight levels deep, breaks curves into short segments at 0.05 drawing units, closes tiny gaps between ends, fills each closed region with inner loops cut out as holes, and extrudes the result by exactly 1 drawing unit. A second script writes uncompressed AMF 1.1 XML with one object and coordinates to six decimals.

Drawings seldom contain only the part, so the importer tries to leave out dimensions, text, title blocks, borders, centerlines, hidden lines, hatching and construction geometry, judging by layer names and by dashed or other non-continuous linetypes. That is a preference, not a rule: if nothing else closes, everything is used. Hatch and solid fills serve only as a fallback. When the closed shapes cover under 2 percent of the drawing, the file is refused rather than shipped as a stray fragment. A drawing made on a side plane is laid flat first, and an empty modelspace falls back to the paperspace layouts.

Three limits matter most. Thickness is always 1 unit, with no setting. The $INSUNITS header is never read, so a 60 by 30 inch plate comes out as 60 by 30 by 1 in a file that AMF labels as millimetres. And although AMF can describe colors and materials, this output holds geometry only, without layers, colors or entity names. Arcs and circles become straight segments.

Typical uses are printed versions of laser or CNC profiles: nameplates, gaskets, spacers and test fits for a part before cutting it. Many people searching around this really want DXF to STL; that converter uses the same importer and gives a format nearly every slicer reads.

How to prepare a DXF for AMF conversion

  1. Close every outline that should become solid. In AutoCAD, PEDIT with its Join option or the JOIN command merges loose segments into one closed polyline; other CAD programs have an equivalent join tool.
  2. Move dimensions, text and borders onto layers named DIM, TEXT or BORDER, or delete them, so they are not mistaken for part geometry.
  3. Check the drawing unit. A drawing in millimetres prints at the right size; an inch drawing needs a 25.4 times scale-up later.
  4. If the DXF contains ACIS solids (3DSOLID, REGION, BODY or SURFACE), export STL or STEP from your CAD program instead, since this importer refuses them.
  5. Upload the DXF (up to 50 MB as a guest, 100 MB with a free account, more on Plus and Pro) and download the AMF within about 4 hours.
  6. In the slicer, scale only the Z axis to the thickness you need, because every extruded outline arrives exactly 1 drawing unit thick. Parts read from existing 3D faces keep their own height.

What the DXF importer does before writing AMF

  • Reads ASCII and binary DXF, falling back to recover mode for damaged files.
  • Expands nested INSERT and MINSERT blocks up to eight levels.
  • Tries to join open ends at three increasing tolerances tied to the drawing's size before giving up.
  • Turns closed loops inside other loops into holes through even-odd filling.
  • Reads existing 3D faces, so a DXF exported as 3DFACE or POLYFACE geometry keeps its shape.
  • Writes plain AMF 1.1 XML that you can inspect or post-process with any XML tool.

Video Tutorial

An A-Z video guide on how to use MiConvert to change DXF format to AMF. This is the safest method to convert data without needing to download any applications to your device. 🔗 Format conversion too

DXF to AMF questions

Can I choose the thickness of the extruded part?

No. Every closed outline is extruded by exactly 1 drawing unit. Scale the Z axis in your slicer, or extrude the sketch in a CAD program if the thickness must be exact in the file.

Why is my part 25.4 times too small?

The drawing was made in inches. Its numbers pass through unchanged and the AMF labels them as millimetres. Scale the model by 25.4 in the slicer, then set the thickness.

Why do I get "No valid 3D geometry found"?

Typical causes are an outline with a gap, a drawing made only of open lines, ACIS solids, or closed shapes covering under 2 percent of the drawing. The message is generic and mentions textures, which do not apply here. Join the outline with PEDIT or JOIN, or export STL from the CAD program for solid models.

Will the AMF keep colors, layers or materials?

No. Although the AMF format can store them, this file has one object and one volume with geometry only. Layer names, entity colors and block names are not carried over.

Should I use STL or 3MF instead of AMF?

If your slicer does not list AMF, yes. MiConvert's DXF to STL and DXF to 3MF converters use the same importer, with the same 1-unit thickness and unit behavior, and far more printing software reads those formats.

Can I convert DXF to STEP, a SolidWorks part or G-code here?

Not on this page. This converter, like the other DXF-to-3D converters, produces a mesh, not a CAD solid or a toolpath. For STEP or a SolidWorks part, import the DXF as a sketch in your CAD program and extrude it there. For G-code, open the DXF in CAM software or the control program of your laser or CNC machine.

How long is my drawing kept?

Conversion takes place on our servers. The uploaded DXF is deleted when the job ends, and the AMF can be downloaded for about 4 hours, after which it is deleted automatically. The link works for anyone who has it until then. File names and job details such as size and format are logged.