Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Jan 25, 2008

Exporting Gerber Files from NI Ultiboard

1 ratings | 5.00 out of 5
Print

Overview

When the design of a printed circuit board (PCB) is complete, the design needs to be sent to a PCB manufacturer to be physically fabricated. Rather than send the entire design file, manufacturers require an industry standard file format to be used in their fabrication process. The standard format is called a Gerber file.

NI Ultiboard exports to the Gerber format. Gerber files effectively break-down a board into its various layers providing computer controlled fabrication machines the exact design patterns to be drawn upon the fabricated board.

The Gerber file contains information (on a layer-by-layer basis) of the board outline, landpatterns (footprints), drilled holes, vias, copper routes, and any other information that is required by the board manufacturer to create a board.

In this article we will begin discussing how to export a Gerber file from NI Ultiboard, and investigate the various options in the export dialog box.

Introduction

Exporting a file refers to taking a CAD representation of a PCB (as can be seen in your Ultiboard file) and producing an output in a format that can be understood by the fabrication equipment at the board manufacturer. There are many different manufacturing techniques used to produce printed circuit boards and Ultiboard can produce a wide variety of outputs to meet these needs.

 

Export and Manufacturing

It is important to talk to your production house and identify all the files and formatting information they need to support their manufacturing process.

You can export a file in the following formats:

  • Gerber photoplotter 274X or 274D
  • DXF
  • 3D DXF
  • 3D IGES
  • IPC-D-356A Netlist
  • NC drill
  • SVG (Scalable Vector Graphics)

You can also export text files that contain:

  • Board Statistics
  • Part Centroids
  • Bill of Materials

You can also create reports on:

  • Copper Amounts
  • Test Points
  • Layer Stackup

 

Gerber Files

A Gerber File is a standard file format that contains information necessary for the computer controlled machines used by PCB manufacturers to exactly replicate CAD based design patterns. The patterns usually contains features such as the board outline, landpatterns (footprints),  drilled holes, vias, copper routes, and any other information that is required by the board manufacturer to create a board.

There are two Gerber Formats currently used by PCB manufacturers the RS-274D and RS-274X. The current industry standard is the RS-274X format, due to the fact that these files provide a complete set of manufacturing instructions including the routing patterns and landpatterns as well as the aperture settings.

NI Ultiboard has a standard Export dialog box to export a set of Gerber files.

 

The Export Dialog

The Export dialog box is a simplified dialog box which allows you to establish the different parameters required by different manufacturers for the final file export.

For this tutorial we will use a shipping example in order to showcase the export process.

  1. Select File >> Open Samples.
  2. Select Intl4lRouted.ewprj.
  3. Click on the Open button.

We are now ready to view the export dialog box.

  1. Choose File»Export. The Export dialog box appears as seen in Figure 1 below.

You can see in the dialog box the various types of formats and reports that can be exported from NI Ultiboard for manufacturing purposes. In this tutorial we will focus primarily on the Gerber RS-274X options, as this is one of the most common outputs for manufacturing purposes.

Figure 1 - Export Dialog Box

 

Exporting a Gerber File

The Gerber properties (RS-274X or RS-274D) dialog box allows you to select the layers to be exported, the number of digits in numerals, and the kind of measurements.

  1. In the Export dialog box select Gerber RS-274X and click the Properties button.

In Figure 2 below you will see the various parameters that can be set to configure your Gerber file export.

Figure 2 - Gerber File Export

 

As can be seen in the figure above, there are a number of different parameters that must be set in order to properly export your design to the Gerber format. In Table 1 below we are able to see a description for each export option.

 

Table 1 - Gerber File Parameters

Option What is this Setting For?
 Available Layers  Set the layers of the design that are to be exported.
 Units  Set or change the measurement unit. There are two options,
either metric (mm) or imperial (mil).
 Digits  Set the number of digits of precision for board measurements.
 Oversize  Top Soldermask  Add incremental size to the soldermask on the top layer to  
increase the real-estate available to solder SMD parts.
 Bottom 
Soldermask
 Add incremental size to the soldermask on the bottom layer to  
increase the real-estate available to solder SMD parts.
 Solderpaste  Add incremental size to the solderpaste layer.
 Options  Open Pad Holes  Open up the pad holes on the design (a requirement by some
manufacturers)
 Reflection  Set a mirror image of the board design.
 Board Outline  Include the board outline on each exported Gerber file layer.
 Negative Image  Invert all the colors on the board.
 Allow
Non-Convex
Polygon
 Check this box if the design contains complex polygons.
 Merge Polygons  Merging of the polygons is a requirement by some manufacturers.

 

Selecting Layers to Export

  1. To select the layers to export to Gerber format, you can left-click on the name of each layer in the Available Layers selection box. To select multiple layers at once, hold down the <CTRL> key while selecting.

The following are typical Gerber files needed to produce the board:

  • All copper layers
  • Soldermask Top/Bottom
  • Silkscreen Top/Bottom
  • Board Outline

Once you have selected all of the necessary layers, click the right arrow (highlighted in red in Figure 3 below), to add the selection to the Export Layers list.


[+] Enlarge Image

Figure 3 - Selected Layers

With the layers selected (and any other option set, such as units, digits, options, oversize etc...) you are ready to export the Gerber files.

Click on the OK button to save the settings and exit the properties dialog box.

 

The Export Process

  1. To finally export the various layers of your design, click on the Export button in the export dialog box (as seen in Figure 1).

Ultiboard will direct you to the Create aperture mapping dialog box (figure 4). For Gerber RS-274X files there is no need to edit the aperture settings as they are automatically set by the export process.

Figure 4 - Aperture Mappings

  1. Click on the OK button to finalize the export.
  2. Ultiboard will direct you to save the exported gerber file. Select a destination folder and click on the Save button to finalize the location of the export.

Ultiboard will now cycle through all the layers, and allow you to set the aperture settings and file locations for each layer of the design. This will mean repeating step 8 and 9 for each layer.

 

Viewing the Gerber File

Ultiboard includes a built-in Gerber Viewer that can be used to verify the production files created. 

  1. Simply go to File»Open and select a generated Gerber files.
  2. Click on the Open button.

You can now view the exact file that the manufacturer will view as can be seen in Figure 5 below.

Figure 5 - Gerber Viewer

 

1 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).