BeamReady

Export a DXF from Illustrator for a laser cutter

Published

Illustrator's DXF export works, but its defaults are made for CAD drafting, not for a laser. Text, strokes, scale and overlapping shapes are where files go wrong.

Short answer: outline the text (Type → Create Outlines), outline thick strokes, merge overlapping shapes, then File → Export → Export As → AutoCAD Interchange File (DXF) with the scale set to 1 mm = 1 unit. Check size and double lines in your laser software.

1. Prepare the artwork

  • Text: select it and use Type → Create Outlines (Shift+Ctrl+O). Keep a copy of the editable text on a hidden layer if you may change it later. Why: text missing after SVG to DXF.
  • Thick strokes: a DXF keeps only the centre line. If a stroke should be cut or engraved as a band, use Object → Path → Outline Stroke.
  • Effects, live shapes and symbols: Object → Expand Appearance then Object → Expand, so the export sees plain paths.
  • Clipping masks: release them and delete what was hidden, or the hidden parts may be exported and cut.

2. Merge shapes that overlap

On screen, a shape on top hides what is below. A laser does not: it cuts and engraves every shape completely. Use the Pathfinder panel (Window → Pathfinder): Unite for parts that should be one piece, Minus Front to cut a shape out of another. A white shape used as a "mask" will otherwise be engraved like any other: see the laser engraves the white parts.

3. Work in millimetres

Set the document units to millimetres (File → Document Setup, or the Units preference) and size the artboard in mm. Older files built at 72 pixels per inch are the classic source of a 1.33 ratio between the size you expect and the size you get: see DXF imports at the wrong size.

4. Export the DXF

  1. File → Export → Export As, format AutoCAD Interchange File (DXF).
  2. In the DXF options, set the scale to 1 millimetre = 1 unit and leave lineweight scaling off.
  3. Tick Outline Text if you did not outline it in step 1. Use Export Selected Art Only to leave notes and guides out.
  4. The AutoCAD version matters little for laser software; an older version (R14 / 2000) is the safest for very old machines.

Option names can differ slightly between Illustrator versions.

5. Check before you cut

  • Size against a known dimension.
  • Double lines: a filled shape with an outline, or a copy pasted in front, gives two identical lines and a double cut. In LightBurn, Edit → Delete Duplicates should remove nothing: see duplicate lines.
  • Open shapes: Edit → Select Open Shapes in LightBurn: see open contours.

Or save an SVG from Illustrator and convert it here: text becomes outlines, Illustrator's style classes and artboard rectangle are handled, duplicates are removed, sizes are written in millimetres, and Engrave what you see flattens overlapping and white shapes for engraving.

Convert an SVG to DXF

Questions

What scale should I use when exporting a DXF from Illustrator?

In the DXF export options, set the scale so that 1 millimetre equals 1 unit, and make sure your artboard is in millimetres. The laser software then reads the real size.

Do I need to outline text before exporting a DXF from Illustrator?

Yes, it is the safest option: Type, Create Outlines turns text into shapes, so it cannot be dropped or redrawn with another font.

Why is my Illustrator DXF 1.33 times too big or too small?

One program read the file at 72 pixels per inch and the other at 96. Work in millimetres and export with 1 mm = 1 unit to avoid any pixel conversion.

Related problems