gdsestimating / dxf-parser

A javascript parser for DXF files. It reads DXF file strings into one large javascript object with more readable properties and a more logical structure.
MIT License
454 stars 140 forks source link

Support for pdf #72

Closed sivayekula closed 3 years ago

sivayekula commented 3 years ago

I have a pdf file with multiple dxf images. I have attached sample pdf. Please help me how to extract this pdf using javascript/nodeJs. Please let me know any Sample Vector PDF_outlines.pdf suggestions. Thanks

bzuillsmith commented 3 years ago

Hi, PDF files are not a simple format to parse. You'll need to look for a project that can get the DXF data out of the PDF as plain text, then use this library to parse that text. You aren't likely to find anyone who knows how to parse PDFs here and it is outside the scope of this project