Imported SVG goes from lines to double lines

Newbie still trying to figure this out… I have an SVG created in Inkscape which looks exactly like what I want. When I import into Lightburn, I end up with double lines…

Am I missing something?

I was happy to see this question (SVG's displayed with double lines) until I opened it and the answer was gone.

By default, LightBurn shows you a Wireframe view. You can change this in Window->Filled. This also depends on the layer being setting to Fill mode.

1 Like

Okay, but… So, my goal is that those black lines on the right are either side of a cut. If I switch it to Fill mode and preview, it appears to want to just shade in those lines and not cut the shape. If I keep it on line mode, it does the double cuts like you’d expect based on the image on the left. Offset fill just has it cutting each shape multiple times.

If your intent is to cut on either side of a single set of lines then this is caused by bad geometry from Inkscape.

Keep in mind that lines are basically infinitely thin, even set with a wide stroke width in Inkscape.

How have you created the design in Inkscape? Can you upload the SVG file here for review?

The only way to convert those ‘double’ lines that comes to mind would be to convert the vector graphic into a raster (sometimes known as a bitmap) image then performing a centreline trace on it.

In Inkscape:

Make Bitmap Copy

image

Trace Bitmap

image

You might have to fiddle about with the trace settings to get the best result.

Hope this helps.

Sure. The how is I took an existing png (pasted below) and … uh… this is why I should either keep better notes or not do stuff at night. Trace Bitmap - Edge Detection I believe.
HiResHeart

This was a traced image? If so, that’s why you’re seeing the two lines on each side.

If you look at the design in Inkscape with Outline Display Mode you can see the same thing that you see in LightBurn.

To resolve, remove one set of lines. You could attempt a center-line trace which would avoid this but I’ve not always had the best results using that approach.

So, is there a better way to get to my end result, or is this really it?

“Better” is a bit open-ended.

If you created the design from scratch from the beginning you’d be in a different position. But honestly, removing the superfluous shapes should be almost trivial if slightly tedious. There aren’t so many shapes that it would make it impractical.

Heart_Pieces

This might work
Heart_Pieces.lbrn (56.8 KB)

I assume you mean created from scratch in Illustrator/Inkscape? Technically my wife did create the graphic in question, but depending on how far back in time we need to go… it may as well NOT have been created by me/us.

Yes.

Was the original file in vector format? If so, can you avoid the roundtrip tracing process entirely? That would be the way to go.

Unless I misunderstand, that’ll just basically get me a bunch of puzzle pieces, right? What I’m looking for is more like a stencil.

Something like this?
Heart_Stencil

Yes! But I really do want to understand how to get there too…

I wouldn’t expect anyone to do it my way. You could do it in Inkscape. I use Draftsight, because I used CAD for 40 years, and it allows me to draw exactly what I want. The key is not to rely on a shortcut like tracing a bitmap if you can do a better job redrawing it yourself. Redrawing images teaches you how to manipulate the drawing program you are using, even if it is monotonous and/or boring.

  1. Insert your picture into Draftsight.
  2. Redraw lines and arcs where they should be based on the picture.
  3. Export a DXF file.
  4. Import the DXF file into LB.
  5. Export a SVG from LB.
  6. Import the SVG into Cuttle.
  7. Change the stroke width to 0.125"
  8. Use the “Flatten” modifier with stroke result in Cuttle.
  9. Export a SVG file that contains the “stencil”

You can import the .png to Lightburn, TRACE the image and then edit the nodes to reach you goal.

I took a picture of an earring design that my daughter liked. I imported the photo as an image. I then drew the lines over the top of the photo to get the shape into a vector. The result was excellent.

2 examples of photo or PNG to .svg

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.