Gerber files are essentially independent views, taken a layer at a time, with information on such aspects as board outline, apertures and test points being kept as separate files, so that it becomes difficult to check layers in relation to each other or to get an overall perspective of the design. The tool we use to give a combined picture is GC-Prevue, the free viewer from a range of Graphicode CAD/CAM programs for fabricators and assemblers.
GC-Prevue is widely used in the electronics industry for viewing and printing electronic manufacturing data, and reads all common formats, including Gerber-X (RS-274X), Gerber-D (RS-274D), and the languages used for NC drilling machines. Whilst cut down, GC-Prevue is not a toy, but a real program that is very useful for verifying CAD data before photoplotting and fabrication, and for adding annotations to layers in order to assist the flow of information. Also, although GC-Prevue has no means of automatic checking for compliance with design rules, it can be used as a tool for manual checking.
Job files prepared using GC-Prevue can be saved in the .gwk format, which integrates all the circuit, solder mask and solder paste layer data, aperture tables (including custom aperture shapes) and drill information that is needed to make a board.
1. Go to http://www.graphicode.com/pages/prevue.cfm, which will take you directly to the product page in Graphicode’s web site:
2. Access the Download page: Choose Download GC-Prevue by clicking where indicated at the bottom of the page, fill in the registration form, and press Download.

Shortly afterwards you will receive a Welcome e-mail from Graphicode, but the email contains no registration information and is not part of the installation process.

[ back to top ]
3. You will be taken to a Downloads page, where you should click on the ‘GC-Prevue v13.4.4’ link to download the software, which comes as a zipped file called gcprevue.zip. Note that this is a large file, and download is best carried out with a fast connection.
A ‘File Download’ pop-up will appear, asking you either to ‘Open this file from its current location’ or to ‘Save this file to disk’. Choose the ‘Save this file to disk’ radio button and press OK. A ‘Save As’ pop up will ask you where you would like to save the file. We recommend creating a new directory on your local drive (usually C or D) called ‘GCPrevue’ as the location for both the zipped file and the unzipped application. Click Save.

[ back to top ]
4. Extract files and start installation. When the download is complete choose ‘Open Folder’ from the ‘Download complete’ pop up and double-click to open gcprevue.zip. Identify the directory to extract to and use WinZip or an equivalent to extract the zipped files. Afterwards, from this directory, double-click to open setup.exe:

Depending on your security settings, you may have to bypass a security warning before the InstallShield Wizard will open:


Click Next and read through the Graphicode License Agreement:

If you agree to accept the terms then click on the ‘I accept the terms in the license agreement’ radio button and click Next. Then type in your name and organisation and click Next.

[ back to top ]
5. Complete installation.
The next part of the Wizard allows you to specify the destination of the GC-Prevue application. Click Next.

Select the ‘Complete’ Setup Type radio button and click Next.

The final screen informs you it is ready to install the program. Click Install to continue.

The installation will take several minutes.

When the installation is finished you will see:

Click Finish to close. Unless you have chosen the custom setup option, you will find that an icon has been put on your desk-top:

[ back to top ]
6. Start up GC-Prevue by double-clicking the icon on your desk-top, or by opening Windows Explorer, finding your GC-Prevue directory and double-clicking on the ‘gcprevue.exe’ icon.

Ignore the splash screen which disappears as the application opens,

close the upgrade offer by clicking the cross in the top right-hand corner,

and you will see the Graphical Viewer. Its default appears as:
Make more room for the board image by closing the right-hand side ‘Repair Station’ panel, and maximise the image by clicking the Maximize
icon, or dragging the bottom corner handle; the image size can be reduced to the previous small panel using the Restore Down
icon near the upper right-hand corner of the screen.
Click here for more information on the GC-Prevue Graphical Viewer.
[ back to top ]
7. Import the relevant file set. The Import feature in the File menu allows separate data files to be selected and imported, but (more usefully) will also import files within a zip file directly into GC-Prevue, recognising readable file types and automatically loading the data files.
We recommend you to:
From the File Menu, select Import. The Import dialog appears:

Go to the directory where you have the zipped file (in this case, 4945_ass_02_Gerbers.zip). Highlight the file by clicking on it once, then press Select.

[ back to top ]
8. Identify the files.
The selected file will be automatically uncompressed, auto identification of each file attempted, and an Import Verify File Information dialog box similar to that below will appear:

Compare the file list with the manifest (in the read_me.txt file) and uncheck any items (usually text files) that have been incorrectly identified, and then click OK. Once File Verification has taken place, Tool Table Assignment is necessary. A similar dialogue box will appear applying tool tables to each file for the import process. Press OK to accept .

[ back to top ]
9. First view of the data layers.
GC-Prevue will then construct each data layer and show a ‘File Import Results’ dialogue box. With luck there will be a green tick next to ‘Status’, but you can expect (and ignore) a small number of warnings. Press OK.
The imported assignment files will appear in a manner similar to that shown below. In this case the resulting imported board has 20 layers (designated P1 to P20 in the GC Explorer frame).
Click here for more information on layers in GC-Prevue.
[ back to top ]
You will need the supplied ‘read_me’ file, preferably as a hard copy:

The recommended preparatory work is to identify each layer and reorder the layers to represent the physical stack-up. It is much easier to analyse data if layers have been identified with their type (silkscreen, copper, etc.) and layer number, and have been arranged in stack-up order. At the moment the layers are only identified as P1 to P20, they appear in a random order, and the layer types are marked as ‘unknown’.
[ back to top ]
10. Identify each layer
Within GC Explorer, you will find most of the controls for physical layers in the Properties tabs, which can be activated in three ways:

Using any of the above the following dialogue box appears:

From within the Physical Layer Properties tab you can perform the following actions:
Let us take as an example the topmost physical layer, in this case 4945_sst.gbx, which the ‘Read_me’ file states is top-side silkscreen layer 1.
Double-click on Physical layer and the Properties tab will appear.

Edit the properties box:
In this version of the program, the information is automatically applied to the layer.
Click on the next physical layer in the properties tab and repeat the procedure. Note that signal layers have to be defined in terms of their coverage. The final result appears as:
[ back to top ]
11. Arrange the layers into their physical stack-up order. To move a layer, click on the physical layer in GC Explorer and, with the mouse button still depressed, drag to the required position.
A suggested layer order is:
[ back to top ]
Once the assignment files are imported into GC-Prevue and have been properly identified and annotated, you will need to be able to view individual layers, zoom and pan to specific areas on the board, and measure distances between points on the board.
There are two ways of viewing, hiding or editing the layers.
1: Right-clicking on the layer offers a drop-down menu:

The options Edit, View and Hide change the status of the layer. Click on the option you want for each layer and when finished move the mouse over the board image area. Note that, when you change the status of a layer in GC Explorer, the view of the board won’t change until you move the mouse over the board image area. [In previous versions of the program, you had to click once in the board image area]
2: Highlighting a layer in GC Explorer (left click once) and on the keyboard pressing <e> for edit, <v> for view, or <h> for hide. When you have changed the status of all required layers, move the mouse to the board image area to see your changes.
If you highlight the Physical Layers directory icon, you can use either method to edit, view or hide all layers simultaneously. The right-click drop-down menu makes this explicit:

GC-Prevue offers two types of zoom, menu-based and mouse wheel-based.
1: Menu-based zoom. On the board image, place the cross-hair on the top left hand corner of the area you would like to zoom to. Click and hold the left mouse button and drag to the bottom right of the area. A rectangle will form around the area. When you release the mouse button a menu will appear:

Right-clicking anywhere on the board image area generates a different drop-down menu:

2: Mouse wheel-based zoom. If your mouse is equipped with a small wheel between the two buttons, pushing the wheel towards the front of the mouse (wire side) zooms toward the board, whilst pulling the wheel backward zooms away from the board. In both cases, the zoom changes by a factor of roughly 2:1 for each click, and the cross-hair will appear at the centre of the new viewing area.
There are three ways to pan around a board:
1: On the View menu choose Zoom and then Pan. You can then choose which direction you want to pan.
2: Switch on the <Num Lock> on your keyboard. You can then pan using the keyboard number pad (1–9):
| number | direction | number | direction | number | direction |
|---|---|---|---|---|---|
1 |
down left | 4 |
left | 7 |
up left |
2 |
down | 5 |
none | 8 |
up |
3 |
down right | 6 |
right | 9 |
up right |
3: Move the Windows-style sliders at the bottom and right of the main window as in standard Windows applications.

There is no automated feature measurement process in GC-Prevue, but you can measure the distance between two points on a board. For example, the simplest way to measure the gap between two pads is to place the cross-hair on the edge of one pad and press <z> on your keyboard. This zeroes the ‘Relative mm’ or ‘Relative inches’ in the Coordinates Display. Then move the cross-hair to the edge of the other feature and read the separation from ‘Distance’ in the Coordinates Display.

Points to remember:
If the two features are symmetric pads, you can get a more accurate measurement using the snap facility. Position the cross-hair anywhere over the feature
and press <s>.

The cross-hair then jumps to the centre of the nearest pad.
To measure the distance between two features:



To measure the distance between the edges of the pads, display the feature dimensions by placing the cross-hair over each feature, and looking at the Status Bar at the bottom of the Graphical Viewer. The line of text that appears defines the data type, position and aperture:
![]()
In our example, the features are rectangular, and each is 0.889×2.9972mm in size (35×118mil, so probably originally an imperial design). As the pad centres are 1.3792mm apart, the nominal distance between the edges of the pads can be calculated as 1.3792 − 0.889 = 0.4902mm.
Author: Martin Tarr
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Licence.
Terms and conditions apply.