Importing PDF with 2.2

Hi,

I use the import facility (PDF’s) a lot but I have a problem with 2.2.

Items that are curved end up as a lot of dots that disappear as you zoom in and I’m unable to select them. lines are all working as I would expect.

Am i missing something i the new level import process

LightBurn Software Questions

Regards Stuart

Did you test with the previous version?

Can you upload the PDF (add .txt to the end of the filename) so we can see exactly what is happening?

Hi Mike.

jumpstart.pdf.txt (72.2 KB)

jumpstart-clg.lbrn2 (491.3 KB)

Yes it worked in the last level.

File attached i nave also attached the lightburn file

Regards

Stuart

Opening the pdf with a text editor revealed that it was created by printing a file to PDF using the “Primo PDF” printer driver. (From a file called “Jumpstart CLG.dc” Likely from within DesignCAD.)

That driver turns everything into printer output, so:

  • Every line segment is its own path.
  • Coordinates are snapped to a 600 dpi grid, which explains the stairstepping.

Take the rudder, for example. Select it and click “Edit Nodes”

Zooming in shows the individual line sections. Green rectangles indicate the beggining point of a path.


Ideally, the designer should re-export the file from their CAD software as an SVG or DXF, but there are ways to clean it up in LightBurn:

Select the design, and “Edit > Auto Join Selected Shapes” (Alt+ J)

This results in one continuous line with one start and end:

Then, “Edit > Optimize Selected Shapes” (Alt+ shift + O)

“Smooth Shapes” is likely what you want here, but that also rounds the sharp corners if they are selected:

my gut tells me there is some very useful info here. I’m going to have to fiddle with it a bit.

Stuart,

@Aaron.F found the issue. If you zoom way in, you will see a zig-zag line instead of short joined segments forming the arcs. I did nothing to compensate for this in the attached file. I left that for you to practice on. I put a Tool Layer box around just the 2 figures for a visual cue.

You cannot have a T-junction in a path, so I isolated one segment to a blue layer and turned that layer off. Then I selected the rest and used the Auto-Join Selected Shapes to close the path of each of the 2 figures.

jumpstart-clg_Fix.lbrn2 (1.4 MB)

Hi All,

That all makes sense.

Thanks for all your replies.

Regards

Stuart.