FreePreview every stencil free, no sign-up · files from a one-time pack
StencilLab

LightBurn Import SVG and DXF at the Right Size

LightBurn import SVG and DXF at the right size: free calibration files, the 96 or 72 DPI switch, DXF units, auto-join, Line vs Fill, kerf offset for stencils.

Last updated: 2026-12-02

LightBurn import SVG and DXF files at their real size takes three things: a file that states its unit, the right SVG DPI setting, and a quick measurement after import. Our free calibration files below let you check all three in five minutes; every stencil, gallery item and converter download from StencilLab already writes its size in mm or inches.

Free calibration files

Download stencillab-calibration.zip. Every file holds the same three shapes: a 100 × 100 mm square, a 50 mm circle and a 1 × 1 in square (25.4 mm).

FileHow the size is writtenWhat it tests
calibration-mm.svgwidth="160mm" with a matching viewBoxSVG with real units
calibration-inch.svgwidth="6.299in", same drawingSVG with real units
calibration-px-only.svgpixels only, 96 per inchThe 72 vs 96 DPI trap
calibration-mm.dxf$INSUNITS = 4 (mm)DXF unit detection
calibration-inch.dxf$INSUNITS = 1 (inch)DXF unit detection
calibration-actual-size.pdfreal sizePrint at 100% and check with a ruler

LightBurn import SVG and DXF, step by step

  1. Import. In LightBurn use File → Import, or drag the file onto the workspace. Start with calibration-mm.svg.
  2. Measure. Click the large square. The width and height boxes in the toolbar should read 100 mm; the circle 50 mm; the small square 25.4 mm.
  3. Try the trap. Import calibration-px-only.svg. Its numbers are pixels at 96 per inch. If the square reads 100 mm, LightBurn is set to 96 DPI. If it reads about 133.3 mm, it is set to 72 DPI.
  4. Import the DXFs. Both calibration-mm.dxf and calibration-inch.dxf should give a 100 mm square. If one comes in at 3.94 mm or 2,540 mm, the unit was misread.
  5. Fix the settings (next section) and import again until every file measures right.
  6. Check the real thing. Cut the 100 mm square in card. If LightBurn says 100 mm but the cut piece does not, the import is fine and the cause is on the machine side: kerf, belts or steps per mm.

LightBurn import SVG settings: 96 or 72 DPI

Open Edit → Settings (on macOS, LightBurn → Preferences) or the gear icon. In current docs the options sit on the Import / Export tab; older docs and forum posts call it File Settings (LightBurn settings reference).

  • SVG: a switch between 96 DPI (Inkscape and the SVG standard) and 72 DPI (Adobe Illustrator). It only matters for SVGs whose size is in unitless pixels. Illustrator writes its pixels at 72 per inch, so with the 96 setting its art comes in at 75%, and the other way round at 133% (LightBurn forum). Pick the one that matches most of your files.
  • DXF: "Auto-detect units if possible", plus a manual unit for DXFs that do not state one. Leave auto-detect on. The DXF header variable $INSUNITS holds the unit: 1 inches, 4 millimetres, 0 unitless (Autodesk).
  • Auto-close tolerance (mm): joins DXF nodes closer than this value into one path.
  • Ignore Text Objects: leaves text entities in a DXF out of the import.

Not sure whether to send SVG or DXF at all? See DXF vs SVG for what each format stores and the real file sizes of one stencil in both.

Open shapes: auto-join and closed paths

A DXF from CAD software is often a pile of loose lines and arcs. LightBurn draws them fine, but some things only work on closed shapes: Fill, Offset Fill and Kerf Offset. Use Edit → Auto-Join (Alt+J), which joins open endpoints within 0.05 mm (LightBurn menus), or raise the auto-close tolerance before you import. Our DXFs are written as closed R12 polylines, so they come in closed already.

Line vs Fill for stencils

LightBurn gives every colour its own layer, and each layer has a mode (layer modes):

  • Line follows the vector path. At low power it marks; at cutting power and speed it cuts through. Stencils are cut on Line layers.
  • Fill scans back and forth inside closed shapes at the Line Interval spacing. On a stencil it would engrave each opening, not cut it out.
  • Offset Fill makes concentric passes inside closed shapes; also an engraving mode.

Our laser SVGs draw every cut as a red 0.1 mm hairline, so the whole stencil arrives on one layer. Set it to Line, then find speed and power for your sheet on a scrap first.

Kerf offset and bridges

The beam removes a strip of material, the kerf. Kerf Offset in the Cut Settings Editor (Line mode; under "Common" in 2.1) moves the path outward for positive values and inward for negative values, works on closed shapes only and does not change the drawn shape; LightBurn's Vernier test gives you the value (Kerf Offset test).

For a stencil, what matters is the openings. Each one grows by about one kerf, so every bridge between two openings shrinks by about one kerf. The simple fix is to add your kerf to the bridge width in the stencil maker before you export. The other is a negative offset on the openings; check on a test cut that both sides of every bridge moved the way you expect. Our stencil bridges guide covers widths, and the cut test card on the mylar stencil thickness page shows the thinnest bridge your laser leaves standing.

Make files that import at size

Convert SVG to DXF

Reads the SVG's real size (px at 96 per inch, with a warning) and writes mm and inch DXFs. Preview free.

Every download from the stencil maker, image to DXF and SVG to DXF states its unit, so a LightBurn import SVG or DXF lands at the size you set. A download is 10 credits; previews are free.

Frequently asked questions

LightBurn import SVG at the wrong size: which DPI setting do I need?

If the SVG has no units, LightBurn has to assume pixels per inch. Inkscape and the SVG standard use 96, Illustrator uses 72. Set the SVG option in Settings, Import / Export to match where your files come from, then re-import. Files whose size is written in mm or inches avoid the question.

Does LightBurn read the units in a DXF?

Yes, with "Auto-detect units if possible" switched on it reads the unit the DXF states. For DXFs that state none, LightBurn uses the unit you pick in the same settings. A drawing that is 25.4 times too big or small means inches and millimetres were mixed up.

Should a stencil be cut on a Line or a Fill layer?

Line. A Line layer follows the outline and, at cutting power and speed, cuts it out. Fill scans back and forth inside closed shapes, which engraves the openings instead of cutting them.

How do I fix a DXF made of loose segments?

Use Edit, Auto-Join (Alt+J), which joins open ends within 0.05 mm, or raise the DXF auto-close tolerance in the import settings before importing. Closed shapes matter because Fill and Kerf Offset only work on them.

What kerf offset should I use for a laser-cut stencil?

Measure your kerf with LightBurn’s Vernier kerf test. For a stencil the simplest fix is to add the kerf to the bridge width in the stencil maker, because every bridge loses about one kerf when the openings around it are cut.