DXF to 3MF Converter - Flat Outlines Extruded | MiConvert

Convert DXF to 3MF

Upload a DXF and get back a 3MF mesh that modern slicers open directly. The one thing to know before you start: if your drawing is flat 2D linework, every closed outline is extruded to exactly 1 drawing unit of thickness, and the 3MF is labeled in millimeters no matter what units the DXF used.

📁

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 → 3MF

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 →

Printing a photo instead?

Turn a picture into a lithophane or relief STL that glows when light shines through it. It is built in your browser, and the photo is never uploaded. Lithophane maker →

What this converter does with a DXF

DXF is AutoCAD's interchange format, and most DXF files in circulation are drawings rather than models: layers of lines, arcs, polylines and splines that describe a part seen from one side. Slicers want a closed surface mesh, which is what 3MF is. This page suits anyone handed a laser or CNC profile who needs a printable version of the same shape, or with a genuinely 3D DXF export that belongs in a slicer-native container.

On our servers the DXF is parsed with ezdxf, and the geometry is built in two passes. The first pass collects anything that is already a 3D surface: 3DFACE entities, MESH, and POLYFACE or POLYMESH meshes, including copies nested inside INSERT blocks. If the file has none of those, the importer falls back to treating the drawing as a profile. It collects the contour entities, expands blocks up to eight levels deep, flattens arcs, circles, ellipses and splines into short segments, joins open endpoints within a small tolerance of the drawing's diagonal, fills each closed region using an even-odd rule so inner loops become real holes, and extrudes the result. The finished mesh is then written as a 3MF.

What survives is geometry and nothing else. The 3MF contains one object with one mesh, no color, no material, no part names and no trace of your DXF's layer structure, linetypes or text. The extrusion height is fixed at 1.0 drawing unit and cannot be set here, so a plate drawn 60 by 30 comes out 60 by 30 by 1. The numbers in the DXF also pass through unchanged while 3MF declares millimeters, so an inch drawing arrives in the slicer as inch-sized numbers labeled mm. Check the dimensions after import and scale there if they are wrong.

How to convert DXF to 3MF

  1. Prepare the drawing first if it is 2D. The outline you want solid has to be closed: run PEDIT or JOIN in your CAD program so the boundary is one continuous loop rather than separate segments that only look connected.
  2. Keep annotation out of the way. Dimensions, text, title blocks, center lines and hatches on layers named along those lines, or drawn with non-continuous linetypes, are left out of the extrusion when something else closes, so leaving them on their usual layers helps.
  3. If your model is made of ACIS 3DSOLID, REGION, BODY or SURFACE entities, those are not readable here. Re-export the part as a mesh DXF, or export STEP or STL from the CAD program and use the matching converter instead.
  4. Upload the DXF on this page. The target is already set to 3MF, and ASCII or binary DXF both work; damaged files get a second pass in ezdxf's recover mode.
  5. Download the 3MF. Most files of this size finish within a few seconds of upload, and the download link stays valid for about four hours.
  6. Open it in your slicer and check the measurements and the thickness before printing, since units are not translated and flat profiles are always one drawing unit thick.

What the importer handles

  • Real 3D geometry first: 3DFACE, MESH, POLYFACE and POLYMESH entities, including instances inside blocks
  • Closed 2D profiles turned into solid bodies, with inner loops cut out as holes using an even-odd fill
  • INSERT and MINSERT block references expanded up to eight levels deep, so assembled drawings are not lost
  • Arcs, circles, ellipses and splines flattened into fine segments, and drawings sitting in a non-world plane laid flat automatically
  • A fragment guard that refuses the job instead of shipping a mesh built from stray linework covering under 2% of the drawing
  • Paperspace layouts used as a fallback when modelspace is empty, and recover mode for files that fail a clean read
  • Up to 50 MB per file as a guest and 100 MB with a free account, 10 files per batch (200 MB and 25 files on Plus, 1 GB and 50 on Pro)

Video Tutorial

Changing a DXF file to 3MF has never been easier! Watch this detailed guide on how to do it completely free right in your web browser. 🔗 Visit MiConvert: https://miconvert.com/en/dxf-to-3mf?utm_sour

Frequently asked questions

Why did my DXF to 3MF conversion fail with a no-geometry message?

That is the most common failure on this pair, and it nearly always means nothing in the drawing closed. Either the outline has gaps, or the file holds only open linework, or the 3D parts are ACIS solids that cannot be read. Join the boundary with PEDIT or JOIN and try again. The message you see is a generic one that also mentions textures and metadata, because specific engine reasons are collapsed into two standard texts.

Can I choose the extrusion thickness?

No. Flat profiles are always extruded to exactly 1.0 drawing unit, and there is no setting for it. If you need a specific height, scale the object in your slicer along one axis, or draw and export the part as a 3D mesh in your CAD program before converting.

Does the 3MF come out at the right real-world size?

Only if your DXF was drawn in millimeters. The DXF header unit field is not read, so the coordinate numbers are copied over and the 3MF simply declares millimeters. A drawing in inches or meters will need scaling after import.

Are layers, colors and materials kept?

No. The output is a single mesh object with no color, no material and no names, so layer organization does not survive. If you need to keep color in a print, assign it per object in your slicer after importing.

Does my DXF have to be 3D for this to work?

No, and that is the main difference from most DXF converters. A 2D drawing converts as long as at least one outline is closed, because it gets extruded into a solid. Genuinely 3D DXF files with 3DFACE or mesh entities are used directly instead.

Can I convert several DXF files at once?

You can upload up to 10 files in one batch as a guest or with a free account, 25 on Plus and 50 on Pro, and each is converted to its own 3MF. There is no single ZIP of all the results, so download them individually.

What happens to my file after the conversion?

Everything runs on our servers, not in your browser. The DXF you upload is deleted as soon as the job finishes, and the 3MF can be downloaded for about four hours before it is removed automatically. File names, sizes and outcomes are kept in our logs, and signed-in accounts also get a conversion history entry.