News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu

pdf import

Started by AndyN, July 17, 2009, 01:43:34 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

AndyN

I wish TurboCAd could import pdf files. I work with architects who seem to think pdfs are the ideal file format.

Of coursze there is softeware out there that can convert pdfs to dwg, but it would make life a great deal easier if this was built into TurboCAD

AndyN

dwarner

I too have the same issue, and I looked into a solution as well, a while back.  Here's my findings:

Converting PDF to CAD can be a tricky process.  There are a number of inherent problems.  First off, there are several PDF "formats".  Raster, vector, and a combination of both. 

Vector PDF's are the easiest to convert since TCW uses a "vector" format as well, but accurate scaling is usually an issue.  It's easy to determine if you have a vector PDF.  Just zoom in.  if the image stays "clean" , it's most likely a vector PDF.  If it pixelates, and look crappy when you zoom in, it's most likely a raster PDF.

Raster PDF's are nothing more than a PDF version of a GIF or JPG.  They are pictures, not drawings.  They are very difficult to convert, they are never "clean", and scaling is a bigger issue with raster PDF's

I tried several "PDF to DWG" programs.  None of them worked quite up to my expectations.  The bottom line is (in my opinion) that PDF conversion is best left to 3rd party developers as it is a complex process and is not really ready for prime time yet.  The conversions are usually dirty and the accuracy leaves a lot to be desired.  IMSI should stick with what they do best.

If you depend on the accuracy of a drawing, it should be in it's native CAD format.  I've found that most engineering/architecture firms will send you a DWG version of a drawing if you're working on a project together.  They probably use the PDF format since it is "universal", and anyone can read it. 

I have read about some of the new Adobe Acrobat products that keep the inherent scaling and such, intact in the PDF file so it can be edited and read back into AutoCAD, but I'm sure it's big, big bucks and only works with certain combinations of software.

I hope this helps...
Douglas Warner
President & Engineer
Altoona Hoist & Crane
V16.1 ProMech
TCW user since v9

AndyN

You are quite right about this being a tricky process and I do realise that there are vector and raster formats of pdf files. However other CAD programs do have an inbuilt pdf import facility. It doesn't seem unreasonable for TC to follow suit.

Meanwhile I do ask for dwg of dxf files from the other consultants with whom I work.

When I've had no choice but to convert pdfs I have managed to get some useful results from PDF2DXF but don't feel like shelling out quite a lot for a dedicated conversion program.

JoeM

Quote from: TC16user on July 26, 2009, 03:24:27 AM
You are quite right about this being a tricky process and I do realise that there are vector and raster formats of pdf files. However other CAD programs do have an inbuilt pdf import facility. It doesn't seem unreasonable for TC to follow suit.

Meanwhile I do ask for dwg of dxf files from the other consultants with whom I work.

When I've had no choice but to convert pdfs I have managed to get some useful results from PDF2DXF but don't feel like shelling out quite a lot for a dedicated conversion program.

Do you mind if I ask what the limitations of PDF2DXF are? What are you looking for in a purchased versions?  Is this the CADKas Demo version you are referring to?  I use it and find it works pretty well.

JoeM

AndyN

I've tried that program and it works up to a point. It doesn't correctly render curves and gets very confused by fills. I'd use it if I had no option, but in my experience the resulting dxf needs a lot of editing to make it usable.  So useful results, but only with a lot of work.

turbotech

PDF is intentionally a read only format that is why it is difficult to convert.  Also if whoever created the document wanted it to be edited they would not have saved as a PDF in the first place. 

Even if we where able to convert all of the geometry correctly adobes vector format is different enough that it may not be useful inside TurboCAD.  If anybody knows of a CAD program that converts PDF's well I would like to take a look at it. 

You can try and bring a PDF in as an OLE object and trace over it either copying and pasting or inserting file.
Rip Fowler
IMSIDesign LLC

JoeM

Quote from: TC16user on July 30, 2009, 08:54:12 AM
I've tried that program and it works up to a point. It doesn't correctly render curves and gets very confused by fills. I'd use it if I had no option, but in my experience the resulting dxf needs a lot of editing to make it usable.  So useful results, but only with a lot of work.

I agree with Rip that the limitations of .pdf conversion are more limitations on the .pdf file format than limitations of the translation software.  I don't think the .pdf format records curves of any kind, only polylines.  Also, I believe the accuracy of the vector data in the .pdf file depends on how large the image is.  This means that the quality of the imported .dxf will vary widely; but it is as accurate as the .pdf data that created it.

Converting polylines to curves becomes a task similar to raster to vector conversion and we all know how well that works (or more accurately, doesn't work).  So I don't think there would be much benefit to a software that had this "feature".

I guess what I'm saying is you can only extract the data that is actually in the file.  Unless perhaps some very impressive artificial intelligence was built into the program that could take reasonable guesses at what polylines are meant to be curves, and what kinds of curves.

JoeM

coxwelljon

Quote from: turbotech on July 30, 2009, 01:15:15 PM
PDF is intentionally a read only format that is why it is difficult to convert.  Also if whoever created the document wanted it to be edited they would not have saved as a PDF in the first place. 


Rip is right on.  As an Architect I use PDFs in a couple of instances.  One when transmitting drawings to a client because the format is accurate and can be read by almost everyone. Two when transmitting drawing to the print shop because I can see just what the drawing looks like before I send it.  Three when I do not want any changes made to the drawing without my knowledge.

Anytime I have a consultant or a contractor preparing shop drawings that needs an actual drawing file I then send it but then I also know who has access to the vector information and will see the results of their modifications or additions come back to me.  For architects or any other designers, the liability of having drawings floating around with the designer's name attached has to be balanced with the convenience.  I only supply drawing files to those I am personally acquainted with.
Jon Coxwell, AIA
Windows Win 7x64
TC19,20 32 bit, 20,21,22 64 bit (Platinum)
RedSDK usually off  Win 10 pro

Save the Planet
Conserve & Recycle

dwarner

One thing we need to remember is that an accurate PDF to DWG (or TCW) converter could be a bad thing.  Imagine sending a potential client a proposal that represents dozens of man-hours of engineering time only to have it PDF to DWG'ed and having them run off with it.  As long as a drawing (or series of drawings) is in PDF format, as it stands now, one has to reproduce the drawing by hand.

Would you send a "potential" client design drawings in DWG format prior to receiving a Purchase Order?

I think one reason we don't have a good PDF to DWG converter is that PDF's are a graphical reproduction of someone's hard work rather than an editable copy of it.  Maybe it's intended to be that way.

The argument could be related to other fields as well;  graphic artists, web designers, etc.  They would have to be nuts if they sent out their work in it's original format.

Let me know your thoughts...
Douglas Warner
President & Engineer
Altoona Hoist & Crane
V16.1 ProMech
TCW user since v9

j_wizard

Is there any way to scan a drawing into a Turbocad format, or to convert a scanner JPG, BMP TIF or Gif file to a usable Turbocad file?

mauritzbotha

If you use PRO, look in the "Tools" menu and use the "Trace" tool

lemel_man

Quote from: Mauritz Botha on October 01, 2009, 03:13:42 AM
If you use PRO, look in the "Tools" menu and use the "Trace" tool
After wasting several hours on this with 11.2 Pro I finally gave up and resorted to manual tracing, which I found not too bad and far more accurate. I put the jpg on its own layer, which I lock, and trace on another layer.
Maybe it works better in a later version?
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

Don Cheke

Quote from: lemel_man on October 02, 2009, 12:01:41 AM
Maybe it works better in a later version?

IMHO, it does not.
Don Cheke
My Blog: One Man's Meanderings

lemel_man

Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

murray dickinson

#14
Rip, Jon and Douglas are right.  PDF is a presentation format, not one for data exchange.
Microsoft have also entered this arena with a presentation format called XPS.  It's part of Vista, but also available with their .net framework 3.0 in XP.  It can be viewed in IExplorer, and MS state explicitly that it can be used "to ensure that no-one is able to edit your original work".  Its a print driver like pdf creation apps.  I like the quality of the result, and it also supplants "publish to html" to a large extent. Interestingly, you can  print pdf to XPS with no loss of quality.

Lars Maltha

Quote from: dwarner on August 03, 2009, 06:24:17 PM
One thing we need to remember is that an accurate PDF to DWG (or TCW) converter could be a bad thing.  Imagine sending a potential client a proposal that represents dozens of man-hours of engineering time only to have it PDF to DWG'ed and having them run off with it.  As long as a drawing (or series of drawings) is in PDF format, as it stands now, one has to reproduce the drawing by hand.

Would you send a "potential" client design drawings in DWG format prior to receiving a Purchase Order?

I think one reason we don't have a good PDF to DWG converter is that PDF's are a graphical reproduction of someone's hard work rather than an editable copy of it.  Maybe it's intended to be that way.

The argument could be related to other fields as well;  graphic artists, web designers, etc.  They would have to be nuts if they sent out their work in it's original format.

Let me know your thoughts...
As it is now, you can open most PDF files in Adobe Illustrator, export it as DWG file and then edit or grab the geometry.
If you do not want other to have access to this information in your PDF files, you should use a real PDF writer where you can set the security levels (no edits, no print e.c.t.).
Thanks!
Best regards,
Lars
(TurboCAD PRO PLATINUM v2018 64bit)