PDF import is missing from SketchUp. Is there an easy way to open these line drawings with SketchUp only?
- Buy a Mac.
- I had some convoluted method 7+ years ago for layout: Redirecting to Google Groups
In conclusion: Buy a Mac.
You can
- Import PDF in Inkscape
- Export as DXF
- Import DXF in SketchUp (Make: with plugin, PRO directly)
You can try something like this:
Convert PDF to DWG Free Online
-Gully
Hi Barry. Spending 100,000 yen on a new PC⦠Then buying the softwareā¦
If you are part of the SketchUp team, can you tell me which plugin allows PDF importing? If I was going to spend more than 100,000 yen it would just be a lot easier to buy another cad program but that isnāt what I want to do.
I like Sketchup, the online tutes and the system. I saw a post where one person listed PDF in the import area. So I know it is possible. I would just like a programming/bug fix solution or plugin if possible.
Thank you for the idea though.
Does anyone know how to import PDF line files using SketchUp? I can use Illustrator to make a dxf but would prefer to use Sketchup.
Barry, also thank you for the super fast reply ^^
Cotty, thank you for the free Inkscape idea and Gully, thank you for the link to the converter.
Iād still just like to find out how to import the data using Sketchup only.
you canāt
not with a mac either⦠on mac, sketchup will import a PDF as an imageā¦
you canāt do this with it: (which is what i assume you mean when saying āPDF line dataā)
brooklynLibrary.pdf (186.0 KB)
Meh, @Jeff is right. I played around with Preview on Mac, which does Collada, hoping I could find a path, but itās really just a Collada reader. Easier in LayOut than SketchUp. Maybe I should revive the feature request: āallow SketchUp to import a LayOut pageā⦠Iām kidding.
Iād probably do @Cotty 's suggestion. But as was asked: are you just taking vector drawings and build into 3D, or what? Thereās probably a reasonable workflow out there somewhere.
i wonder if someone could write an importer plugin the does the conversion? (vector PDF ā SketchUp)
i donāt necessarily need it and personally, when working from pdf iāve been sent, iāll draw from scratch/dimensions to ensure clean&straight line workā¦
so when i say āi wonder ifā¦ā ā¦i really do mean iām just curious is all
A PDF is essentially a compressed PostScript file (EPS is essentially an uncompressed version of the same) so the āsomeoneā ought to know how to read that.
Anssi
Iāve been playing with an extension to load PDF vector graphics into SketchUp. It is still very much alpha stage, with a lot of gaps and performance issues - but it basically works. I tried it on the brooklynLibrary.pdf file @Jeff attached earlier. Below is what I got. Iād be interested in additional sample PDF files containing vector graphics to test.
Some obvious issues:
- It doesnāt handle clipping paths. This file has a significant amount of redundant and extraneous graphics that are clipped out of the pdf but display in my skp.
- There are places where lines meet in the PDF but not in the skp due to pdfās line width
- It doesnāt handle fill.
- It doesnāt even attempt to do text (and probably never will - too complex!)
- Some graphics are mysteriously missing. I donāt know why yet.
- If you look closely, the skp reveals that the pdf was somewhat sloppily drawn! There are numerous places where lines are slightly out of alignment (if you zoom way in on the pdf you can see them there too, but pdf line width hides many of them).
brooklynLibrary.skp (1.4 MB)
Thatās an understatement. I brought the pdf into CorelDraw, mainly out of curiosity, and switched off the display of line weights. There doesnāt seem to be a single clean line: itās a maze of double and triple lines and bad intersections. What a mess.
It really underscores what @Jeff said earlier:
-Gully
I would guess that what is happening is that wide lines (like wide polylines in AutoCad) have been translated into filled paths with a stroke in the PDF, and, as Acrobat is much more inaccurate than AutoCad (it is supposed to be a simple representation of a printed page, after all), all these add up to form the maze. This doesnāt probably happen with normal lineweights, only with wide polylines.
Anssi
Itās true that PDF is print-oriented but its locations are floating point, so if there is a lack of precision it is because whatever generated this drawing didnāt bother to create values to full precision. I think it more likely that the maze is due to the way that someone created this drawing, most likely by overdrawing the outlines manually on several layers and then merging them for output. PDF does not need multiple lines to handle width or pattern. The PDF representation is a single path between two points. The renderer paints the pattern and width during the stroke operation; there are not extra lines in the file to handle this.
I can verify this tomorrow at work but AutoCad wide polylines are different. The width can also vary vertex by vertex, so it really is a kind of filled region. I seem to remember too that sometimes solid fills are rendered as dense line hatching. In AutoCad, if you use tools to explode a TrueType text into lines, the result is also not a filled hatch object but a maze of lines.
Anssi