See the top rated post in this thread. Click here

Results 1 to 8 of 8

Thread: PDF Import

  1. #1
    All AUGI, all the time
    Join Date
    2009-11
    Location
    Raleigh, NC
    Posts
    943
    Login to Give a bone
    0

    Default PDF Import

    PDF Import works very well on some PDFs. A few different PDFs I am converting still turn in to thousands of segments.

    Any ideas of what causes that?

  2. #2
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: PDF Import

    at a guess, the software that created them used spines, instead of arcs or circle.

  3. #3
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: PDF Import

    There are multiple factors at play.

    First, what did the original PDF driver do when it converted the original vectors to PDF linework?
    Secondly, what did the PDF>DWG application do with the geometry it encountered?

    As cadtag said, perhaps an original entity was a spline and the PDF driver constructed the PDF out of multiple, tiny segments to represent the curvature.
    Another case might be a dashed line. Does the PDF driver know it's really one line with gaps in it, or will it create a series of individual lines?
    Will the PDF>DWG application know to "re-connect" a bunch of co-linear dashes back into a line?

    All sorts of variables like this, which is why trying to make a CAD drawing from a PDF is generally going to give poor results.
    R.K. McSwain | CAD Panacea |

  4. #4
    I could stop if I wanted to
    Join Date
    2015-10
    Location
    Central New Jersey
    Posts
    439
    Login to Give a bone
    0

    Default Re: PDF Import

    It could be the difference between a PDF that was created by software and a PDF that was created by a scanner. The software created one will have perfect line work. The scanned one ... not so much.

  5. #5
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    1

    Default Re: PDF Import

    Quote Originally Posted by MMccall View Post
    The software created one will have perfect line work.
    Probably not perfect. Vector will almost certainly be better than scan, but there will always be some degree of error.

    Using AutoCAD, I constructed a line with a length of 500 units, an arc with a radius of 176 units and another line with a length of 100 units.
    I printed to PDF at a scale of 1"=40' on a D sized sheet, the PDF driver settings are set to 600dpi for vector.
    I then used PDFIMPORT to import this geometry back into a new AutoCAD drawing.

    The imported geometry now measures:
    The first line is now 500.0016 units long
    The arc's radius is now 175.9744 units.
    The last line is now 99.9415 units long
    R.K. McSwain | CAD Panacea |

  6. #6
    I could stop if I wanted to
    Join Date
    2014-08
    Posts
    447
    Login to Give a bone
    1

    Default Re: PDF Import

    Quote Originally Posted by rkmcswain View Post
    Probably not perfect. Vector will almost certainly be better than scan, but there will always be some degree of error.

    Using AutoCAD, I constructed a line with a length of 500 units, an arc with a radius of 176 units and another line with a length of 100 units.
    I printed to PDF at a scale of 1"=40' on a D sized sheet, the PDF driver settings are set to 600dpi for vector.
    I then used PDFIMPORT to import this geometry back into a new AutoCAD drawing.

    The imported geometry now measures:
    The first line is now 500.0016 units long
    The arc's radius is now 175.9744 units.
    The last line is now 99.9415 units long
    This a perfect example of almost all pdf and/or images loaded there always seems to be some degree of skew, some more than others but its there. I have heard numerous critiques from those who don't understand this I can't explain it other than experience has taught to be very careful relying on a scan image for exact linework.

  7. #7
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: PDF Import

    Quote Originally Posted by remi678731 View Post
    This a perfect example of almost all pdf and/or images loaded there always seems to be some degree of skew, some more than others but its there. I have heard numerous critiques from those who don't understand this I can't explain it other than experience has taught to be very careful relying on a scan image for exact linework.
    Yes. When you "print" to PDF, even though you are printing vectors, there is a limit to the accuracy based on the DPI and other factors. There is simply no reason for the PDF output to be held to the same accuracy as the CAD program, and if the source (the PDF file) is not accurate, then the result (PDF back to CAD) is not going to be either.

    The last post in this thread does a good job at explaining further.
    R.K. McSwain | CAD Panacea |

  8. #8
    Active Member dotson's Avatar
    Join Date
    2005-01
    Posts
    56
    Login to Give a bone
    1

    Default Re: PDF Import

    Most PDF content streams I've looked at round to 2 or sometimes 1 decimal place. Never forget, PDF is a popular plot file format, nothing more.

Similar Threads

  1. Import Failed when attempting to import Solidworks Model into AutoCAD
    By jgrabner in forum AutoCAD 3D (2007 and above)
    Replies: 7
    Last Post: 2016-03-29, 04:16 PM
  2. 2013: "Import detected no valid elements in the file's paper space. Do you want to import from the model space?
    By thomasmerrittgibson397439 in forum Revit Architecture - General
    Replies: 3
    Last Post: 2013-07-05, 06:53 PM
  3. Replies: 1
    Last Post: 2012-07-09, 03:09 PM
  4. Acquire scanned image and PDF import
    By larry.55969 in forum CAD Management - General
    Replies: 2
    Last Post: 2005-01-31, 10:57 PM
  5. PDF Import?
    By BillyGrey in forum Revit Architecture - General
    Replies: 5
    Last Post: 2005-01-01, 01:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •