Friday, October 24, 2025

Gerber to PDF and DXF: How to Generate PCB Documentation with GerbView

 

Gerber to PDF and DXF: How to Generate PCB Documentation with GerbView

In every electronics design workflow, Gerber files are the bridge between design and manufacturing. They define each PCB layer in precise detail — from copper routing to silkscreen graphics — ensuring your printed circuit board is built exactly as intended.

But Gerber files aren’t just for fabrication. With GerbView by Software Companions, you can easily transform your PCB Gerber data into professional documentation, including manufacturing PDFs and mechanical DXF drawings — all directly from your production data.


๐Ÿงฉ What Are Gerber Files?

Gerber files describe the 2D geometry of every PCB layer. Each file corresponds to a physical or functional layer, such as:

  • Top/Bottom copper: *.GTL, *.GBL

  • Solder mask: *.GTS, *.GBS

  • Silkscreen: *.GTO, *.GBO

  • Board outline/mechanical layer: *.GKO, *.GML

  • Drill data (Excellon): *.DRL

Because Gerber files are the final manufacturing format, they’re the most accurate and reliable foundation for generating documentation and mechanical data.


⚙️ Why Use Gerber Files to Generate PCB Documentation?

Instead of recreating views in your ECAD tool, using your Gerber data directly ensures that:

  • ๐Ÿ“ PDFs and DXFs exactly match what will be manufactured

  • ๐Ÿ”„ Documentation is always synchronized with production files

  • ๐Ÿง  Automation becomes possible, enabling repeatable build pipelines

You can generate:

  • Manufacturing PDFs – clean, layered PCB visuals for fabrication and assembly

  • Mechanical DXFs – precise board outlines and hole patterns for CAD tools

And the best way to do this is with GerbView.


๐Ÿ’ก Introducing GerbView: A Powerful Gerber Viewer and Converter

GerbView by Software Companions is a professional Gerber viewer and file converter trusted by PCB designers, manufacturers, and mechanical engineers worldwide.

It supports all major formats (Gerber RS-274X, Gerber X2, Excellon, and ODB++), and it’s built for clarity, precision, and high-quality output.

Key GerbView features include:

  • ๐Ÿ–ผ️ Visualize and compare layers with full color control

  • ๐Ÿงพ Export to PDF, DXF, SVG, and other vector formats

  • ๐Ÿงญ Add annotations, text, and page frames for documentation

  • Batch convert and automate via command line tools


๐Ÿงพ How to Convert Gerber to PDF: PCB Manufacturing Documentation

Gerber → PDF conversion in GerbView is straightforward:

  1. Load all layers (copper, silkscreen, solder mask, drill).

  2. Adjust colors and visibility for clarity.

  3. Add notes, title blocks, or logos.

  4. Export as vector-based PDF.

Your output is a high-resolution manufacturing drawing suitable for:

  • Fabrication documentation

  • Assembly instructions

  • Internal design reviews


๐Ÿงฑ How to Convert Gerber to DXF: Mechanical Integration Made Easy

Mechanical engineers often need PCB outlines and hole locations in CAD tools like AutoCAD, SolidWorks, or Fusion 360.

With GerbView, you can:

  1. Open your board outline or mechanical layer (*.GKO, *.GML).

  2. Hide all other layers.

  3. Export directly to DXF format.

The DXF will include:

  • Accurate board shape and dimensions

  • Mounting holes and cutouts

  • Optional fiducials and keepouts

This ensures perfect alignment between your PCB and mechanical design — with zero redraw errors.


๐Ÿš€ Advantages of Using GerbView for PCB Documentation

FeatureBenefit
100% Data AccuracyUses the same data sent to the fabricator
Vector OutputCrisp, scalable PDF and DXF exports
Automation SupportCommand-line batch processing for CI/CD
Multi-Format CompatibilityGerber X2, Excellon, ODB++
Professional ResultsIdeal for design reviews and manufacturing packages

๐Ÿ”„ Example Workflow with GerbView

StepTaskOutput
1Import Gerber + Drill filesLayered PCB view
2Verify alignment, adjust colorsVisual confirmation
3Export manufacturing PDFPCB_Drawing.pdf
4Export board outline as DXFPCB_Outline.dxf
5Archive results with metadataReady for production

This process can be repeated for every revision — or automated entirely.


๐Ÿค– Integrating GerbView into Automated Pipelines

For advanced teams, GerbView’s command-line interface allows automatic conversion and report generation.
You can integrate:

  • Gerber-to-PDF exports for fabrication documentation

  • Gerber-to-DXF exports for mechanical handoff

  • Automated file naming and revision control

This turns PCB documentation into a repeatable, version-controlled process, minimizing manual effort and eliminating inconsistencies.


๐Ÿ Conclusion

Your Gerber files are the most trustworthy representation of your PCB design — so why not use them to create all your documentation?

With GerbView from Software Companions, you can convert Gerber to PDF and Gerber to DXF effortlessly, producing professional, consistent, and synchronized documentation for every board revision.

Whether you’re building prototypes or managing production releases, GerbView ensures your PCB documentation looks as good as your design — and stays perfectly aligned with the data that makes it real.

Read more about Gerbview

Read more about Gerber to DXF conversion with GerbView

Read more about Gerber to PDF conversion with GerbView

Saturday, September 6, 2025

Add conversion to your own application or web site

Our product scConverter makes it easy to add conversion to your own application or web site. scConverter is a COM component that can be used in almost any development language (e.g.: C++, C#, VB, .NET, ASP, ASPX and more).
The component can convert DWF, DWFX, CGM, TIFF and HPGL/2 plotter files to the following formats:
  • Adobe PDF
  • Adobe PDF/A
  • Autodesk DWF
  • Autodesk DXF
  • AVIF Image
  • CALS Group 4 Raster
  • Computer Graphics Metafile
  • Gerber RS-274X
  • GIF Image
  • HEIC Image
  • HPGL/2
  • JPEG Image
  • JPEG XL Image
  • Paintbrush PCX (PCX)
  • Portable Network Graphics (PNG)
  • Scalable Vector Graphics (SVG)
  • TIFF Raster
  • WebP Image
  • Windows Bitmap (BMP)
  • Windows Metafile (EMF & WMF)
You can easily add support for more input formats, here's the complete list of available input formats:
  • HPGL and HPGL/2.
  • CALS type 1 and 2
  • Calcomp Plotter Format.
  • Autodesk DWF and DWFx 2D.
  • Computer Graphics Metafile (CGM) Binary.
  • Excellon drill.
  • Gerber RS-274X.
  • GIF.
  • HEIC.
  • JPEG.
  • Portable Network Graphics (PNG).
  • Structured Fax Format (SFF). Multi page.
  • TIFF (uncompressed, packbits, LZW, CCITT G3 and G4). Multi page.
  • WebP.
  • Windows Bitmap (BMP).
You can find more information about the component here and here.

























Combine PDF files using scConverter

From scConverter version 3.10 you may add PDF combining, or merging, to your application.
The interface is very easy to use, and you may combine all pages, or a selection of pages, from the individual PDF files.
The merge interface consist of 4 methods:

  • HRESULT PDFMergeInit(void)
  • HRESULT PDFMergeAddFile(BSTR PDFFileName)
  • HRESULT PDFMergeClose(BSTR PDFOutputName)
  • HRESULT PDFMergeAddFileEx(BSTR PDFFileName, BSTR PageInformation
To create a new combined/merged PDF file you start with a call to the PDFMergeInit method. You then add files using one of two methods; PDFMergeAddFile or PDFMergeAddFileEx.
The first method, PDFMergeAddFile, will add all pages from the given file to the combined PDF file. 
The second method, PDFMergeAddFileEx, have a second parameter that may be used to control which pages to include, e.g.: "1,2,3,10" will include page 1,2,3 and 10 from the given PDF.
When all required files and pages are added you create the new PDF using PDFMergeClose, the parameter is the name of the resulting PDF.

Sample code to combine/merge 3 PDFfiles:

scconverter.PDFMergeInit();                                  //Start a new PDF
scconverter.PDFAddFile("filea.pdf");                     //Add all files from filea.pdf
scconverter.PDFAddFileEx("fileb.pdf", "1,2" );       //Add page 1 and 2 from fileb.pdf
scconverter.PDFAddFileEx("filec.pdf", "2,3,5,10);  //Add page 2,3,5 and 10 from filec.pdf
scconverter.PDFMergeClose( "output.pdf" );           //Create new file named output.pdf

output.pdf will contain: 
  • All pages from filea.pdf, 
  • Page 1 and 2 from fileb.pdf 
  • Page 2,3,5 and 10 from filec.pdf
Please also take a look at the sample named scMergePDF:
This sample shows a preview of each page in the source PDF, and let you include all or individual pages into the combined PDF.

Read more about scConverter here:

Download scConverter SDK here:

The scConverter DLL documentation can be found here:



Wednesday, October 1, 2014

PDF to CAD Conversion with ViewCompanion Premium

ViewCompanion version 9 has just been released. One of the most important additions to this update is support for reading Adobe PDF files. All three editions can now view and print PDF files. With ViewCompanion Pro and Premium you can convert PDF files to many other formats including TIFF, DWF, JPEG, and PNG.
With ViewCompanion Premium you can now extract vector information from PDF files and save this data to a AutoCAD DXF file.This feature, also known as PDF to CAD, makes it possible to convert a PDF to an editable CAD file. In addition to DXF, you can convert your PDF to AutoDesk DWF, PLT, CGM or SVG formats.
ViewCompanion Premium includes a sample file that we will use in this demonstration, the file is named "ps2board.pdf". Open this file in ViewCompanion and then locate the "Export as Vector" command, found in the "Premium Tools" category:



Now press the "Export to Vector" command and select destination file name, and the output format to use. In this demonstration we'll convert a PDF file to an AutoCAD DXF file. After the conversion You can load the newly created DXF file into AutoDesk TrueView™ (or any other CAD application), to check the result. Below is an image showing the converted DXF displayed in TrueView:


Please note that the quality of the converted CAD file is highly dependent on the original PDF file. If your PDF file was generated from a CAD application, the result should be very good.

You can download a 30-days trial of ViewCompanion Premium 9 here:

More information about ViewCompanion Premium can be found here:

AutoDesk TrueView™ can be downloaded here:

Tuesday, December 17, 2013

Using GerbView to combine positive and negative layers into a single Gerber file.

Some PCB layout programs generates traces as a positive Gerber file, and power/ground plane as a negative Gerber file, which is supposed to be combined to create a finished Gerber file.
You can use GerbView to perform this task.
To do this you can do the following:
  1. Load the negative power/ground plane file. 
  2. On the right side of the screen you will see a list of available settings for the loaded Gerber file. In the list you will find a setting  named "invert". Enable this option to create a positive display of the layer.
Sample screenshot after adding layer and inverting this:



Then load the second layer and move it to the top of the layer list.
You should now see something like this:



Finally, save the two layers to a single Gerber file using Save As option:


Press OK and select a file name for the new Gerber file.
Final result shown is below:



GerbView® is a Software Companions product, and you will find more information about it here:







Wednesday, November 6, 2013

Creating layered PDF files with GerbView

One of the nice features of GerbView is the ability to create layered PDF files.
Layered PDF files can be displayed in Acrobat, and you can here control the visibility of each layer individually. Creating a layered PDF in GerbView is easy, you just add all the layers you want to include and then convert it to a PDF file!
First you need to make sure all layers are loaded, and displayed in the order you want them to be listed in the final PDF file:

Then locate and press the Save As button. A dialog will appear where you can select which layers you want to include in the PDF. Make sure you select all layers, like this:

Press OK and another dialog will appear. From this dialog select a file name and the file format to use for the converted file. Set the destination format to Adobe PDF.

Finally press OK again and your new layered PDF is created. You can now open the PDF file in Acrobat to verify that each layer is listed correctly. The image below shows how the PDF file may look in Acrobat:

In this guide we've used GerbView release 7 to do the conversion, but you could also use it for GerbView version 6.  You can follow this guide to create layered DWF and DXF files as well.

GerbView® is a Software Companions product, and you will find more information about it here:
https://www.gerbview.com/
and here:
https://www.softwarecompanions.com/gerbview.html














Friday, November 1, 2013

ViewCompanion with Classic Interface

ViewCompanion is by default using a Ribbon interface, as shown in the picture below.
ViewCompanion with ribbon interface

If you prefer to use a classic Toolbar & Menu based interface, you can configure ViewCompanion to use this instead, and here is how to do it:
Under the Tools category you will find a button named "User Interface", click this button to open the User Interface dialog. At the bottom of this dialog you will find a radio button labeled "Use Toolbar & Menu Based Interface", select it and close the dialog. Restart the application and you will now be able to use toolbar and menus.
ViewCompanion with classic toolbar & menu interface.

This information applies to all ViewCompanion editions; Standard, Pro and Premium.
Read more about ViewCompanion and our other products at www.softwarecompanions.com.