CADQuill

Convert a DXF or DWG from inches to millimetres

The part comes out 25.4 times too small in the laser software, or the drawing says inches and your shop works in millimetres. Fix the units in your browser.

Fix the units of a drawing

With the assistant

  1. Open the drawing in the editor.
  2. Ask: "Convert the drawing from inches to millimetres."
  3. The assistant scales everything by 25.4 (texts and dimensions too) and sets the drawing units to millimetres. Check the size with the measure tool, then apply.
  4. Download it as DXF or DWG.

With a script

The same change, written down, to run on every drawing of a set:

ops.scale(doc, {}, 25.4);
ops.setUnits(doc, "mm");

From millimetres to inches it is the other way: scale by 1 / 25.4 and set the units to "inch".

Is it really in inches?

Not every file says its units, and some say the wrong ones. Measure a part you know: if a 100 mm plate measures 3.94, the drawing is in inches. If it measures 100 but your program shows it tiny, only the units setting is wrong: ask to set the units to millimetres without scaling.

Questions

Are the dimension values changed too?

Yes. Dimensions are scaled with the geometry, so they show the new values.

Is the file uploaded?

No, the change is made in your browser.

More guides

Last changed on 2026-11-14.