Fix Open Shapes in DXF & SVG Files: Free Online Fixer
Open shapes in LightBurn? Drop your DXF or SVG: loose lines joined into closed outlines, gaps closed, doubled lines removed. Free, nothing uploaded.
Drop the file your laser refuses: loose lines joined, gaps closed, duplicate lines removed.
Why a cut file will not cut
- Open outlines. A part drawn as separate lines whose ends nearly meet looks closed on screen, but the laser software cannot tell inside from outside. It will not fill, offset or nest it.
- Exploded drawings. CAD exports often break every outline into hundreds of loose LINE and ARC entities. The laser cuts them in a random order, piercing at every one.
- Duplicate lines. Two copies of the same outline stacked on each other: the laser cuts it twice, burns the edge and doubles the time.
- Wrong units. A DXF with no units, or one drawn in inches and marked as millimetres, opens 25.4 times too big or too small.
- Notes in the drawing. Part numbers, a title block or "cut the red holes first" are cut as text unless they are kept out.
Fix open shapes before LightBurn, RDWorks or xTool
- Drop the DXF or SVG that your laser software calls open, or that cuts in a strange order.
- Read the list: what was joined, closed and removed, and anything left for you to look at.
- Download the fixed file, in the same format or the other one, and import it as usual. Every part is now one closed shape you can fill, offset and nest.
What you get back
The same parts in the same places, each as one closed outline with its holes, engraving lines on their own layer (red in SVG, ENGRAVE in DXF), in millimetres. Arcs stay arcs and curves stay curves, so the file is not faceted. The list beside the drawing says what was changed; anything that could not be fixed safely, such as two parts that overlap, is shown for you to decide.
The same clean-up runs whenever you upload a file to Quick Nesting, so a file that comes out clean here will nest as it is.
Want to fix it by hand instead, or stop it happening? Read how to fix open shapes in LightBurn, Inkscape and CAD.
Related tools
- Photo to DXF: Photograph a part or scrap beside A4 paper: its outline and holes to scale, as DXF or SVG.
- SVG ⇄ DXF converter: Convert SVG to DXF and back, in your browser, ready for laser or CNC.
- Cut time estimator: Drop a DXF or SVG: cut length, pierces and the time it will take at your speeds.
FAQ
What does the fixer repair?
Drawings exported as hundreds of loose lines and arcs are joined end to end into closed outlines. Outlines with a small gap are closed. Outlines stacked on top of each other are removed so they are not cut twice. Specks too small to cut are dropped. A file with no units, or with the wrong units, is read at the size it was meant to be. Text that is a note beside the parts is kept out of the cut and shown to you.
What does it not change?
It never moves, scales or smooths your parts. Curves stay curves: arcs are written as arcs and splines as smooth curves. Holes stay where they were. Anything it cannot fix safely, such as two parts that overlap or a line that does not close, is listed for you to look at instead of being guessed.
Why does my laser software say the shape is open?
Usually because the outline was drawn as separate segments whose ends almost, but not quite, meet, or because one segment is missing. LightBurn, RDWorks and most CAM tools need a closed path to know what is inside. The fixer joins the segments and closes a gap up to 1.5 % of the outline's length (3 mm on a 200 mm outline); a bigger gap is shown so you can redraw it.
LightBurn has Close Path. Why use this?
LightBurn's Close Path and Close selected paths with tolerance work well on the shapes you select. The fixer does the whole file in one go and also removes doubled lines, joins exploded outlines so each is cut in one pass, checks the units and keeps notes out of the cut. It writes a plain DXF or SVG, so it works for any laser software, not just LightBurn.
Is my file uploaded?
No. The file is read and written in your browser; nothing leaves your device.