Free Trials

Download a free trial to find out which Altium software best suits your needs

Altium Online Store

Buy any Altium Products with few clicks or send us your quote to contact our sales

Downloads

Download the latest in PCB design and EDA software

  • PCB DESIGN SOFTWARE
  • Altium Designer

    Complete Environment for Schematic + Layout

  • CircuitStudio

    Entry Level, Professional PCB Design Tool

  • CircuitMaker

    Community Based PCB Design Tool

  • NEXUS

    Agile PCB Design For Teams

  • CLOUD PLATFORM
  • Altium 365

    Connecting PCB Design to the Manufacturing Floor

  • COMPONENT MANAGEMENT
  • Altium Concord Pro

    Complete Solution for Library Management

  • Octopart

    Extensive, Easy-to-Use Component Database

  • PRODUCT EXTENSIONS
  • PDN Analyzer

    Natural and Effortless Power Distribution Network Analysis

  • See All Extensions
  • EMBEDDED
  • TASKING

    World-Renowned Technology for Embedded Systems Development

  • TRAININGS
  • Live Courses

    Learn best practices with instructional training available worldwide

  • On-Demand Courses

    Gain comprehensive knowledge without leaving your home or office

  • ONLINE VIEWER
  • Altium 365 Viewer

    View & Share electronic designs in your browser

  • Altium Designer 20

    The most powerful, modern and easy-to-use PCB design tool for professional use

    ALTIUMLIVE

    Annual PCB Design Summit

    • Forum

      Where Altium users and enthusiasts can interact with each other

    • Blog

      Our blog about things that interest us and hopefully you too

    • Ideas

      Submit ideas and vote for new features you want in Altium tools

    • Bug Crunch

      Help make the software better by submitting bugs and voting on what's important

    • Wall

      A stream of events on AltiumLive you follow by participating in or subscribing to

    • Beta Program

      Information about participating in our Beta program and getting early access to Altium tools

    All Resources

    Explore the latest content from blog posts to social media and technical white papers gathered together for your convenience

    Altium Online Store

    Buy any Altium Products with few clicks or send us your quote to contact our sales

    Downloads

    Take a look at what download options are available to best suit your needs

    • Documentation

      The documentation area is where you can find extensive, versioned information about our software online, for free.

    • Training & Events

      View the schedule and register for training events all around the world and online

    • Design Content

      Browse our vast library of free design content including components, templates and reference designs

    • Webinars

      Attend a live webinar online or get instant access to our on demand series of webinars

    • Support

      Get your questions answered with our variety of direct support and self-service options

    • Technical Papers

      Stay up to date with the latest technology and industry trends with our complete collection of technical white papers.

    • Video Library

      Quick and to-the-point video tutorials to get you started with Altium Designer

    How to Generate Gerber Files in Altium Designer Step-by-Step

    Altium Designer
    |  March 30, 2018

     

    Generate Gerber Files in Altium Designer Step-by-Step from Schematic to PCB

    Once you've got your PCB layout finished and you're ready to start preparing for manufacturing, one of the critical steps is to generate Gerber files. These files are used by PCB manufacturers to prepare stencils for photoresist exposure and subsequent etching. When you're ready to create your Gerber files, you need the right set of CAM tools that can take data from your PCB layout. Altium Designer helps make the process for generating Gerber files quick and easy without forcing you to use an external program. In this article, we'll guide you through this process and show some example tasks you might need to perform to generate Gerber files.

    What's in Your Gerber Files?

    In an earlier post, we focused on creating a schematic for a simple active amplifier, then we created a simple 1-layer PCB layout from this schematic. The finalized layout is shown in the window below. We only have features in 2 layers on this board (1 silkscreen layer, 1 top PCB layer), as well as vias on some nets.

    Fully routed and with vias added PCB in Altium DesignerFinalized op-amp PCB layout with vias and silkscreen visible.

    If we want to generate Gerber files for this PCB, we need to add a new OutJob file to the project. From here, you can create a host of deliverables for your PCB, including:

    • Gerber files in RS-274X and X2 formats
    • Bills of materials in PDF or Excel format
    • Fabrication drawings
    • STEP files for importing your board into a mechanical design program
    • Netlists (IPC-D-350 and IPC-D-356)
    • DXF/DWG files for the PCB layout
    • NC drill files
    • Testpoint reports
    • IPC-2581 and ODB++ output files
    • Pick-and-place files for automated assembly

    The image below shows the PCB layout above translated into Gerber files and viewed in the CAMtastic viewer. When you generate Gerber files, information in each layer will be saved in its own file, and these files can be loaded into a new CAMtastic document for inspection. The image below shows two layers from the above PCB layout. Here, only the silkscreen layer and copper features on the top layer are visible.

    PCB Gerber file
    A preview of what our final PCB Gerber file will look like.

    Note that there are additional files for other layers, which will be generated when you create your Gerber files. These other layers include more information than is shown in the above image. Although they aren't visible above, they include many important pieces of information:

    • Pad locations for application of solder paste
    • Drill hit locations, which are can be delineated by plated vs. non-plated through-holes
    • Information in mechanical layers, such as a drill table, stackup diagram, and any dimensions
    • Backdrill layer spans
    • Soldermask openings

    Some of these documents can be generated quite easily from an OutJob file in Altium Designer, while others require a few steps to setup. However, once you've setup the options in your OutJob file for your project, you can regenerate manufacturing deliverables whenever you want.

    How to Generate Gerber Files

    To get started generating Gerber files, add a new OutJob file to your PCB project. Once this is created, you can start configuring which manufacturing files you need to generate, as well as the file formats you want. The image below shows an OutJob file with multiple options enabled for different sets of manufacturing documentation. An option has been created for Gerber RS-274X files and specificallt for backdrilled layers. To create a new export option for Gerber X2 files, right-click in the 'Fabrication Outputs' area and select the Gerber X2 entry. 

    Generate Gerber files and output files

    Use an OutJob file to generate Gerber files.

    Note that you can create multiple sets of Gerber outputs. In the above image, the 'Backdrill Gerbers' entry and the 'Gerber Files' entry are both in RS-274X format, but these options will generate Gerber files for different layer sets. After you create a new Gerber output option, you'll need to configure what information is exported with each of these options. The image below shows the dialog you'll use to select units, file format, and layers for export. To access this dialog, simply right-click on one of the Gerber file entries and click 'Configure.'

    Generate Gerber files output format

    The above image shows the dialog you'll see for the RS-274X format, but you'll see a similar dialog if you want to export in the X2 format. There are two important tabs in this dialog:

    1. Layers Tab: You can scroll through the table on this tab and select specific layers for export. This includes all the electrical layers on your PCB, as well as mechanical layers, silkscreen layers, and any other layers in the PCB.
    2. Drill Drawing Tab: From here, you can select which paired drill layers will be converted to a Gerber file. By default, there is a 'Top layer-Bottom layer' option on this tab. However, if you've enabled any other unique via or drill features, like blind/buried vias or backdrilling, you will see options for these layer pairs as well.

    In the image below, the Gerber files we want to export, as well as several other manufacturing files, have been enabled and will be exported to your local machine. Simply click 'Generate content' in the highlighted box on the right-hand side of this dialog.

    Generate Gerber files from OutJob file

    You'll have a complete set of Gerber files and other deliverables once you click 'Generate content' in this dialog.

    Now that you've created your Gerber files, you should inspect them to make sure there are no errors. Your Gerber files can reveal some simple problems that can cause a failed fabrication run. If you want to view your exported Gerber files, simply import them into a new CAMtastic document and scroll through each layer.

    Another Way to Generate Gerber Files in Altium Designer

    If you don't want to create an output job or you don't need to standardize your output format, you can skip this step and generate Gerber files from inside the PCB Editor. After saving you PCB layout, you can navigate to ‘File’ > ‘Fabrication Outputs’ > ‘Gerber Files.’ This will bring up the configuration window shown above. You can then select the layers you want to include in your exported Gerber file package, just like you would do with the OutJob file.

    You'll notice there are plenty of other fabrication and assembly file outputs that are accessible in the PCB Editor. With Altium Designer®, you can do much more than generate Gerber files. You'll have a complete set of CAD tools needed for PCB layout, routing, and fabrication/assembly drawing creation in a single program. Once you've finished creating your PCB layout and manufacturing files, you can easily share your data with your manufacturer using the Altium 365 platform.

    We have only scratched the surface of what is possible to do with Altium Designer on Altium 365. You can check the product page for a more in-depth feature description or one of the On-Demand Webinars.

    About Author

    About Author

    PCB Design Tools for Electronics Design and DFM. Information for EDA Leaders.

    most recent articles

    Back to Home