Preparing an SVG for LightBurn
Short answer: Import the SVG and check its size, delete duplicate lines, close the shapes that are meant to be closed, give each operation (cut, score, engrave) its own layer with settings for your machine and material, and preview the job before you send it. LightBurn has a tool for each of these steps [1].
1. Import at the right size
LightBurn reads an SVG’s size from the file. If the file uses pixels instead of real units, LightBurn has to assume how many pixels make an inch. The setting is on the Import / Export tab of LightBurn’s settings (Edit > Settings on Windows, LightBurn > Preferences on macOS): 96 DPI is the Inkscape default and 72 DPI the Adobe Illustrator default, and LightBurn’s documentation says to try the other one if the scale is wrong [4].
The safest file states its size in millimetres or inches. Add a 10 mm square to the design before exporting, and measure it after import, then delete it before you run the job so it isn’t burned as part of the design. More on this in Why your SVG imports at the wrong size.
2. Delete duplicate lines
Duplicate shapes on top of each other make the laser cut the same line twice: a wider kerf, more charring and wasted time. Edit > Delete Duplicates removes them. It only finds objects that are ungrouped and identical in size, shape and position [3], so two outlines that are close together but not identical stay. For parts that share an edge, LightBurn’s Optimization Settings include Remove Overlapping Lines [7]; check Preview after using it. See Open paths and double lines in cut files for the other causes.
3. Close the paths that should be closed
Fill (engrave) mode needs closed shapes [1], and so does a cut-out piece. A shape with a tiny gap won’t fill, and may cut with a nick. But not every open path is a mistake: a score line, a fold line or a single engraved stroke is meant to be open. Close only the shapes that should enclose an area, and look at the new joining segment before you run the job.
- Close Path adds a segment between a path’s own start and end when they are within 0.5 mm of each other [2].
- Close selected paths with tolerance handles bigger gaps and lets you set the distance [1].
- Auto-Join Selected Shapes merges separate segments into one path when their ends are within 0.05 mm of each other [5].
A worked example: a coaster file has one closed circle (the cut-out) and two short open lines inside it (decorative score lines). Close the circle if it has a gap. Leave the two lines open and put them on a score layer: they are meant to be open, and closing them would add a cut you didn’t want. In Preview, the circle shows as a closed loop and the lines as single strokes.
4. Set up a layer for each operation
LightBurn gives each colour a layer with its own mode and settings. The colours themselves don’t mean anything to the laser: you decide what each layer does. One way to organise a file is shown below; it is an example, not a rule, and not a set of power settings.
| Colour in your SVG (example) | LightBurn layer mode | Use |
|---|---|---|
| Black outline | Line | Cut through |
| Blue outline | Line | Score |
| Red filled shape | Fill | Engrave an area |
For each layer, set the speed, power and number of passes for your own machine and material, using the maker’s guidance and a test piece.
5. Preview before you burn
LightBurn’s documentation recommends previewing every project before sending it [1]. In Preview, check:
- Mode: areas you meant to engrave show as filled, and lines you meant to cut show as lines.
- Duplicates: a line that is traced twice.
- Order: inner shapes cut before the outer shape that frees the part.
- Travel: moves that look wrong or cross the work.
A clean file is only part of a safe job: follow your machine maker’s safety and material guidance as well.
Questions
Should I cut inner shapes before outer ones? Usually, yes, so the part doesn’t drop or shift once it is cut free. LightBurn’s optimisation settings have a Cut inner shapes first option that does this when the outer shape is closed [6]; check your settings before a big job.
Why are some of my shapes filled when I wanted lines? Their layer is set to Fill. Change the layer mode, or move the shapes to a Line layer.
FileRemix is building a free tool that will make SVGs in millimetres with closed outlines, and let you choose which colour goes with which operation. Until it launches, see open paths and double lines in cut files.
FileRemix is not affiliated with LightBurn Software.
Sources
- [1] LightBurn documentation, Getting a design laser ready (Preview, Delete Duplicates, Close Path, Close selected paths with tolerance, Auto-Join, Optimize, Kerf Offset). https://docs.lightburnsoftware.com/2.1/Collections/GettingADesignLaserReady/
- [2] LightBurn documentation, Close Path (start and end within 0.5 mm). https://docs.lightburnsoftware.com/2.1/Reference/ClosePath/
- [3] LightBurn documentation, Delete Duplicates (ungrouped objects identical in size, shape and position). https://docs.lightburnsoftware.com/2.1/Reference/DeleteDuplicates/
- [4] LightBurn documentation, Settings: Import / Export tab, SVG import at 96 DPI (Inkscape default) or 72 DPI (Adobe Illustrator default); Edit > Settings on Windows, LightBurn > Preferences on macOS. https://docs.lightburnsoftware.com/2.1/Reference/SettingsPreferences/
- [5] LightBurn documentation, Auto-Join Selected Shapes (segment ends within 0.05 mm). https://docs.lightburnsoftware.com/2.1/Reference/AutoJoinSelectedShapes/
- [6] LightBurn documentation, Optimization Settings (Cut inner shapes first). https://docs.lightburnsoftware.com/2.1/Reference/OptimizationSettings/
- [7] LightBurn documentation, Optimization Settings (Remove Overlapping Lines). https://docs.lightburnsoftware.com/2.1/Reference/OptimizationSettings/
FileRemix is not affiliated with machine or software makers named in this guide.