CADQuill

Delete duplicate lines in a DXF or DWG

Open the drawing in the editor and remove everything drawn twice in one step: lines, arcs, circles and polylines that lie exactly on another, and lines of zero length. You see what goes before you apply it, and the file is never uploaded.

Drop a DWG or DXF file here, or

The file opens in the editor in this browser: it is not uploaded.

Two ways

  1. Open the DXF or DWG in the editor.
  2. With the assistant: write "delete the duplicate lines" and send it.
  3. Without it: press Script in the bottom toolbar, type the line below and press Run.
  4. The preview says how many objects go ("Removed 6 duplicates") and marks them on the drawing. Press Apply to keep the change or Discard to drop it.
  5. Press Download and save the drawing as DXF or DWG.
ops.dedupe(doc);

What counts as a duplicate

In our test drawing of a plate with 27 objects, one run removed 6: four exact copies and two lines drawn the other way round. A circle 0.001 mm off its twin stayed, and went with the wider margin.

Limits

For the other things a cutter needs (closed contours, units, layers), see prepare a DXF for laser cutting.

Questions

Is the drawing uploaded?

No. It is opened, cleaned and saved in your browser.

Can I see what will be deleted first?

Yes. The preview marks the objects that go and says how many. Nothing changes until you press Apply, and Undo takes it back.

Does it work on a DWG?

Yes. A DWG is converted in your browser when it opens, and you can save the result as DWG or DXF.

Why does my laser still cut a line twice?

Probably two lines overlap only in part, or a short one lies on a long one. Those are not exact duplicates and stay; see Limits.

More guides

Last changed on 2026-11-27.