Problem drawing over a pdf import

Hello

I’m using SketchUp Pro 25.0.659 on a Macbook Air running OS Sequoia and I’m trying to draw over an imported pdf file. But for some reason, it’s as though the pdf weren’t flat. I hope the attached screenshot helps explain. As you can see, I draw a rectangle for the whole area and then a rectangle for one of the rooms, but the outline doesn’t define the rectangle - there’s a part that not included. Actually there are three parts.

This isn’t true for the whole plan, but at least for this part. Why is this happening and how do I fix it.

Related to this, does anyone know of a pdf import extension for 2D pdf files? One that doesn’t cost an arm and a leg!

Thank you in advance. A very pleasant day to you all.

Share your model.

That looks like z-fighting - where two surfaces try to occupy the same space. It’s a rendering glitch / issue.

I see. I’m attaching the model.

I tried to import the pdf plan as a jpeg several times hoping that it would solve the problem, but SU just crashed. Every time.

pdf problem project.skp (3.2 MB)

it’s a bit more complicated than z-fighting, apparently :

I have no idea how you ended up with all this hidden geometry, but you should start from scratch.

here it is with just the image, v2018 according to your profile informations :

pdf problem project clean-v_2018.skp (1.7 MB)

Thank you very much. I will start over.

I’m grateful for your taking the time to help me.

Oh, the fun of technology!

Have a great day.

1 Like

What do you hope to gain with this? On Mac you can already import PDF.

Do you hope to use the lines as geometry / to be able to snap to them? That is not possible with a raster PDF, it can work with a vector PDF - but you would convert it to a DXF or DWG first, and then import it.

The PDF you have imported looks hand drawn and will be a raster image, even if you try to convert it to a CAD file the data is not here.

I see. Well, I thought I’d ask . . . .

Thanks again.

It’d be SO nice to have a true vector PDF import but….. :person_shrugging:

Yes it would. But the OPs drawing wouldn’t work for that…

1 Like

Correct with the raster PDF

May not be relevant in this case, but I often scan a scaled paper drawing. I find that if I do so as a PNG, I get much sharper lines than the fuzzy ones you tend to get with PDF capture.

As for vector PDFs, I have heard of them but, rather like the elusive Snark, I have never seen one in the wild.

Any pdf exported from SketchUp is a vector pdf (unless you only export an integrated rasterieed image which would be pointless)

I didn’t know that. But then, I never export a PDF from SU, only from LO.

In my case, no one I send drawings to would have any use for a vector PDF. I might when importing.

When people ask me for an actual CAD drawing, I normally export in DWG format since everyone seems to be able to work with those.

FWIW, it’s not that hard to extract vector linework from a vector PDF. Using a view of one of my models in LayOut to avoid copyright issues. Viewport here is rendered as Vector.

The resulting PDF file:
Footplate accessory.pdf (16.7 KB)

Opened in Inkscape and immediately saved as .dxf which I then imported into SketchUp.


Inkscape is free and readily available but there are other tools for going from vector PDF to DXF.

2 Likes

I do it all the time… I’m on a Mac though. I have a couple ways to do it depending on what I need out of it.

1 Like

It has other advantages ! It is not only for the uses you are going to make out of it

Vector pdf are way lighter and have no loss of quality when zooming in and better printing quality

In SketchUp it also has disadvantages : no shadows, no transparency..

2 Likes

Note that the PDF file format is designed to render printable pages. Compared to CAD it is much more inaccurate. But certainly the native support for vector PDFs in SketchUp would be a welcome new feature.

Also ANY PDF produced from AutoCAD will be a vector PDF.

1 Like

Did you check the Extension warehouse?

Yes. It only lists SimLab PDF Importer which is only for 3D pdfs, but thanks for suggesting this.