Prepare a DXF for laser cutting, free in your browser

Websites, code and drawingsUpdated

Open the drawing in CAD on the Madosuite Desktop and go through six checks: scale, layers, doubled lines, open shapes, kerf and text. It is free, reads DXF from R12 to 2018 and DWG from R13 to 2018, and saves DXF or exports SVG.

Why the file matters more than the machine

Most bad cuts come from the drawing. A line that lies twice on top of itself is cut twice and burns. A gap of a tenth of a millimetre leaves a part hanging. Inches read as millimetres make a 100 mm part 4 mm wide. Ten minutes here saves a sheet.

The six checks

  1. Open the Desktop, press Upload in Files, choose the DXF and open it with CAD. Type zoom e to see all of it.
  2. Scale: put a dimension on a part whose size you know. If 100 mm reads 3.94 the drawing is in inches. Fix it with SCALE now, before anything else.
  3. Layers: make one for cut, one for engrave, one for notes. Move each line to the right one in the Properties palette. Delete frames, dimensions and title blocks.
  4. Doubles: run OVERKILL to remove repeated and overlapping lines.
  5. Open shapes: zoom in on the corners. Close gaps with TRIM, EXTEND, or FILLET with radius 0. Redraw messy outlines with PLINE.
  6. Kerf: where parts must fit, use OFFSET by half the kerf, outward for a part, inward for a hole.
  7. Save under a new name as DXF, or export SVG, and download it from Files.

A worked example

A box with 3 mm slots cut from 3 mm plywood, with a kerf of 0.2 mm. Cut as drawn, each slot becomes 3.2 mm and the joint wobbles. Offset the slot inward by 0.1 mm on each side: it is drawn 2.8 mm wide and comes out 3.0. Then make one test joint, because plywood sold as 3 mm is often 2.8 or 3.1.

Text and pictures

Text is not always geometry. SHX fonts are drawn with CAD’s stroke font, and other fonts may be replaced, so lettering can change shape between your screen and the workshop’s. Ask whether they want text as outlines. A photo to be engraved goes separately, as a picture: Photo editor makes it black and white and raises the contrast, which engraving needs.

Before you send it

  • Open the saved file again. Same number of parts? Same overall width?
  • Hide the engrave layer. Only closed outlines should remain.
  • Hide the cut layer. Nothing that should cut may remain.
  • Write the material, the thickness, the units and the number of copies in the message, not only in the drawing.
  • Send a PDF of it too (EXPORTPDF), so a person can see what you meant.

What goes wrong at the workshop

“There are splines we can’t cut.” Ask which kinds they accept and redraw with arcs and polylines.

“It is empty.” The parts are on a layer set not to plot, or inside a block. Explode blocks first.

“It is 25 times too big.” Units again. Tell them the width of one part in millimetres.

Limits

CAD is in early development and saves DXF as R2000. Objects it does not model are not kept on save, so compare with the original. It is 2D only; for a part that comes as STL or 3MF, look at it and measure it in the 3D converter. For nesting parts to save material, use the cutter’s own software.

Related: editing a DXF, DXF to SVG, open a DXF.

Questions

DXF or SVG for my laser?

Ask the workshop. Most cutting software reads DXF; hobby machines and online services often prefer SVG.

How much is kerf?

It depends on the machine, the power and the material. Cut a test square, measure it, and use that.