STL to DXF

Cut through your model at any height and export the outline as DXF – true size in millimetres for laser cutters, CNC and CAD.

Never uploadedAny cut heightTrue scale (mm)Closed outlines

Loading tool…
3dfiles Pro: big files, STEP export, batches.Pro adds files over 100 MB, unlimited STEP export, fit-to-printer cuts, colour 3MF and big batches. A one-off 7-day pass, or monthly with 7 days free.
See Pro

How it works

The model is cut by a horizontal plane at the height you choose. Every place where the plane crosses the surface becomes a line; the lines are joined into outlines and saved as DXF at true scale (millimetres).

Typical uses

  • Laser-cut a base or template that matches a printed part
  • Bring a profile into CAD as a sketch
  • Check wall thickness at a given height

For a full 2D projection of a part, export STEP and use your CAD program's drawing tools.

Common problems with STL to DXF in CAD and CAM

  • Holes are polygons, so CAM offers no drilling and CAD cannot dimension a diameter. Every outline is saved as a lightweight polyline of straight segments. There are no arc or circle entities, because an STL does not contain any. For holes that matter, draw a true circle over the polygon in CAD and delete the polyline.
  • The CNC or plasma table stutters around curves. A fine mesh produces thousands of very short segments, and many controllers slow down at each joint. Lower the triangle count first with Reduce STL file size, or switch on arc fitting or path smoothing in your CAM program.
  • CAM reports open contours. A polyline is marked closed only when its two ends meet within 0.001 mm. A hole in the mesh at the cut height leaves an open chain that cannot be pocketed or profiled. Run STL repair and export again.
  • The drawing is far from the origin. Coordinates are written exactly as they are in the model, to four decimal places. A part that sat 200 mm from the origin in the STL sits 200 mm from the origin in the DXF. Move it in CAD, or set the work origin on a corner in CAM.
  • It imports 25.4 times too big or too small. The header declares millimetres. If a program asks for units anyway, answer millimetres. If the STL itself was drawn in inches, convert it with Scale STL first.

Tips for best results

The file is deliberately plain: a units header and closed or open polylines on layer 0. It has no layers for inside and outside cuts, no dimensions and no tool compensation. Assign inside and outside operations in CAM and let it apply the offset for cutter radius or kerf, which on a plasma table is often more than 1 mm.

Because the model's coordinates are kept, sections taken at different heights line up when you import them into one drawing. That makes it practical to rebuild a stepped part: export one DXF through each level, place them on separate layers and extrude each profile to its own height. On a part with chamfered or filleted edges the outline changes with height, so cut where the profile is at full size, usually the middle of the plate.

The cut is always across the file's Z axis. For a laser or vinyl cutter, or for editing in Inkscape, STL to SVG is the easier route. If you need faces to sketch on rather than one profile, convert the whole mesh with STL to STEP.

Common questions

Is it free?

Yes – 2 downloads a day are free; Pro is unlimited.

Is my file uploaded?

No. Everything is processed in your browser.

Which DXF entities does the file contain?

Only LWPOLYLINE entities on layer 0, with the drawing units set to millimetres. There are no arcs, circles, splines, blocks, text or dimensions.

Can I get several cut heights in one DXF?

Each download is one height. Export once per height and import the files into the same drawing: they keep the model's coordinates, so the profiles land on top of each other in the right place.