Gerber Setup
Contents
Parent page: WorkspaceManager Dialogs
Summary
The Gerber Setup dialog provides tools to completely configure your Gerber file output options. Each Gerber file corresponds to one layer in the physical board – the component overlay, top signal layer, bottom signal layer, the solder masking layers, etc. It is advisable to consult with your board fabricator to confirm their requirements before supplying the output documentation required to fabricate your design.
Access
This dialog can be accessed in the following ways:
- At the PCB document level, click Outputs | Fabrication | .
- Click Project | Project Actions | to access the Generate output files dialog. Click Configure to the right of Gerber Files.
- At the PCB or schematic document level, click Home | Project | » Generate outputs to access the Generate output files dialog. Click Configure to the right of Gerber Files.
Options/Controls
General Tab
Units
Use this region to choose the inherent units used in the generated file:
- Inches - enable this option to use imperial units, where all work is done in mils (1/1000 inch).
- Millimeters - enable this option to use metric units, where all work is done in millimeters.
Format
Use this region to specify the numerical precision of the plot coordinates in the Gerber file. The following precisions are supported:
2:3
- provides a resolution of 1 mil (1/1000 inch).2:4
- provides a resolution of 0.1 mil.2:5
- provides a resolution of 0.01 mil.
Layers Tab
Layers To Plot
This region is a list of all layers in the design.
- Plot - check the Plot box next to each specific layer(s) you wish to plot as part of the generated output.
- Mirror - check the Mirror box to the right of each layer if you want a mirrored Gerber file to be created.
Mechanical Layers to Add to All Plots
Check the box next to each mechanical layer(s) you want added to all plots.
Plot Layers
Use the drop down to access a menu of commands that allow the Plot field for all layers in the Layers to Plot region to be enabled or disabled:
- All On - select to check all boxes in the Plot column (Gerber data will be created for all checked layers).
- All Off - select to clear all checked boxes in the Plot column (no Gerber data will be created).
- Used On - select to check all boxes in the Plot column of the listed layers that are used in the design.
Mirror Layers
- All On - select to check all boxes in the Mirror column (mirrored Gerber data will be created for all checked layers).
- All Off - select to clear all checked boxes in the Mirror column (no mirrored Gerber data will be created).
- Used On - select to check all boxes in the Mirror column of the layers that are used in the design.
Right Click Commands
The Plot Layers and Mirror Layers commands can also be accessed by right clicking the layer name in the list region. The following are additional commands included on the right click context menu:
- Add Layer Class - use to open the Layer Class Name dialog and enter a name for the new layer.
- Edit Layer Class - use to edit the name of a Layer Class.
Check this box to allow unconnected pads in the mid-layer on Gerber plots.
Drill Drawing Tab
Use this tab to specify drill drawing is required. Mirrored plots can also be specified.
Drill Drawing Plots
- Plot all used layer pairs - check this option to plot all defined layer pairs.
- Mirror plot - check this option to mirror plots.
- Layer Pairs Region - this area shows all defined layer pairs in the design. Check the box in front of each layer pair to plot that layer pair.
Drill Guide Plots
- Plot all used layer pairs - check this option to plot all defined layer pairs.
- Mirror plots - check this option to mirror drill guide plots.
- Layer Pairs Region - this area shows all defined layer pairs in the design. Check the box in front of each layer pair to plot that layer pair.
Use this tab to set up the required aperture information for the design.
Embedded apertures (RS274X) - if this option is enabled, the apertures are embedded in the Gerber files according to the RS274X standard and all information for each layer is contained in a single file. Enabling this option ensures that the current apertures list includes all the required apertures. If this option is disabled, the Options region of the tab becomes available.
Apertures List - lists all the current aperture data.
Options - use this region to select the following:
- Maximum aperture size - input the maximum size of the apertures for the design.
- Generate relief shapes - select this option to create relief style apertures for thermal reliefs.
- Flash pad shapes- select his option to flash the pad shapes.
- Flash all fills - select this option to flash all fills
Other Controls:
- New - click to open the DCode dialog. Enter DCode to open the Aperture dialog where you can specify the properties of the new aperture. The DCode is a code assigned to that size aperture.
- Edit - click to edit the properties of the selected aperture.
- Rename - click to open the DCode dialog. Enter the new DCode name of the selected aperture.
- Clear - click to clear all apertures from the Apertures List. A confirmation box appears before clearing.
- Delete - click to delete the selected aperture.
- Create List from PCB - click to create the Apertures List from the current PCB design.
- Load - click to open the Load Aperture File dialog. Select the location of the aperture file to load.
- Save - click to save the current apertures in the Apertures List.
Tips on Apertures
Unless your PCB manufacturer does not support embedded apertures, it is highly recommended that you use the Embedded apertures (RS274X) option. Most modern photoplotters are raster plotters which can accept any size aperture. Generally, they also accept Gerber files with embedded apertures.
If your manufacturer does not use embedded apertures, a separate aperture file (*.apt) must be included with the Gerber files. If you use an existing aperture file rather than a generated one, the PCB Editor scans the primitives (tracks, pads, etc.) in the PCB document and matches these with aperture descriptions in the loaded *.apt file. If there is no exact match of aperture to primitive, the PCB Editor will automatically paint the primitive with a suitable smaller aperture. If there is no aperture suitable to paint with, a *.MAT (match) file will be generated listing the missing apertures, and Gerber file generation will be aborted.
Advanced Tab
Use this tab to specify options, such as film size, position on film, and plotter type, to be used during Gerber generation.
Film Size
- X (horizontal) - enter a value for the film length.
- Y (vertical) - enter a value for the film width.
- Border size - enter a value for the border size of the film.
Leading/Trailing Zeroes
- Keep leading and trailing zero - if this option is enabled, all leading and trailing zeroes will appear in the generated Gerber file.
- Suppress leading zeroes - if this option is enabled, no leading zeroes will appear in the generated Gerber file.
- Suppress trailing zeroes - if this option is enabled, no trailing zeroes will appear in the generated Gerber file.
Aperture Matching Tolerances
Use these options to set the tolerance range used when matching apertures for each item in the plots.
- Plus - use this box to define the positive tolerance for aperture matching.
- Minus - use this box to define the negative tolerance for aperture matching.
Position on Film
Use the following options to choose the position on the film.
- Reference to absolute origin
- Reference to relative origin
- Center on film
Batch Mode
- Separate file per layer - each layer will generate a separate Gerber file.
- Panelize layers - only one gerber file will be generated in the format of panelization.
Plotter Type
- Unsorted (raster) - use raster machine (default).
- Sorted (vector) - use vector machine.
Other
- G54 on aperture change - check this option to rotate the aperture wheel of the plotter after each aperture change.
- Use software arcs - check this option to use software arcs.
- Use polygons for octagonal pads - check this option to use polygons for any octagonal pads.
- Optimize change location commands - when this option is enabled, X or Y location data is not included if it does not change from one object to the next.
- Generate DRC Rules export file (.RUL) - check this option to generate a DRC Rules Export file (.RUL). This file report details the design rules for the source PCB document from which the Gerber data is being generated.
Generated Files
Location of Generated Gerber Files
The generated Gerber files are stored in a folder that is specified in the Options tab of the Options for Project dialog.