Reference manual

This document is Copyright © 2010-2015 by it’s contributors as listed below. You may distribute it and/or modify it under the terms of either the GNU General Public License (http://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0/), version 3.0 or later.

All trademarks within this guide belong to their legitimate owners.

Contributors

The KiCad Team.

Feedback

Please direct any comments or suggestions about this document to the KiCad mailing list: https://launchpad.net/~kicad-developers

Publication date and software version

Published on February 14, 2015.

1. Introduction to GerbView

GerbView is a Gerber file viewer (RS 274 X format), and is also able to display drill files from Pcbnew (in Excellon format).

It accepts up to 32 files (Gerber and/or Drill files)

Files can be displayed using a transparency mode or stacked mode.

For more information about the Gerber file format please have a read at the specification in The Gerber File Format Specification - Ucamco.

2. Main Screen

3360000029F09D033B0_png

3. Upper toolbar

3150000002942B9EBC2_png

02300000024FBC55C9F_png

Clear all layers

0200000002457CCFCE9_png

Load Gerber files

02100000024EB14912C_png

Load drill files (Excellon format from Pcbnew)

02200000024BE5ADAA7_png

Set page size for printing and show/hide page limits

02400000024A913E3D7_png

Open print dialog

045000000244408D83B_png

Zoom in and out

01F00000024DD76E9AF_png

Refresh screen

0220000002491A62928_png

Zoom fit in page

09900000024E535CABE_png

Layer selection

098000000245059DA89_png

D Code selection (hight light items that use this dcode)

099000000242A1CE20F_png

Info about Gerber file options loaded in the current layer

4. Left toolbar

4.1. Options

026000001BEE0A3377E_png

0230000002297132A4B_png

Grid on / off

02200000024A5DABF2F_png

Display polar coordinates on / off

02200000040EBBD93BF_png

Units selection to display coordinates

02200000021210A7A5E_png

On grid cursor shape selection

0220000002219346E01_png

Display mode selection (solid or outlines) for flashed items

02200000021B60BCA1E_png

Display mode selection (solid or outlines) for lines

022000000210325F1DA_png

Display mode selection (solid or outlines) for polygons

022000000227C688616_png

Show / hide D Codes values (for items using a dcode)

02200000064732E80FB_png

Mode used by Gerbview to show layers.

02100000024D9139755_png

Show / hide the layer manager

4.2. Layer Manager

0B3000001287840DA48_png

The layer manager has 2 purposes:

* Select the active layer * Show/hide layers

The active layer is drawn after the other layers.

When loading a new file, the active layer is used (the new data replace the previous data)

Note:

* Mouse left click on a line: select the active layer * Mouse right click on the layer manager: show/hide all layers * Mouse middle click on a icon: select the layer color.

4.3. Modes to show Gerber layers

022000000247878A42D_png

Raw mode.

Each gerber file and each item in files are drawn in the order files are loaded.

However the active layer is draw last.

When Gerber files have negative items (drawn in black) artefacts are visible on already drawn layers

1E300000128112D054B_png

0220000001F3490EB21_png

Stacked mode.

Each gerber file is drawn in the order files are loaded.

The active layer is draw last.

When Gerber files have negative items (drawn in black) there are no artefacts on already drawn layers, because this mode draws each file in a local buffer before it is shown on screen. Negative items do not create artefacts.

1E300000128112D054B_png

02200000020BC136BD9_png

Transparency mode

1E5000001173F9F077E_png

4.4. Effect of layer selection for drawings

This effect is visible only in raw or stacked mode.

177000000C0CEC3BA7F_png

The layer 1 (green layer) is drawn after the layer 2

1AC000000DFCC4C960B_png

The layer 2 (blue layer) is drawn after the layer 1

5. Print layers

5.1. Print dialog access

To print layers, use the 02400000024A913E3D7_png tool, or the main menu (files)

5.2. Caution

But be sure items are inside the printable area (select by 02200000024BE5ADAA7_png a suitable page format).

Do not forget photoplotters can use a large plottable area, much bigger than the page sizes used by printers)

Moving (by block move command) the entire layers is often needed.

5.3. Move block command

You can move items by selecting them (drag the mouse with left button down) and then moving the selected area on screen.

Click the left button to finally place the area you are moving.

6. Commands in menu bar

6.1. Menu Files

gerbview-file-menu_png

It is possible to load gerber and drill files into Gerbview. There is also an auxiliary option to export gerbers to pcbnew. Previously (a long time ago) it was also possible to load so called Dcodes, but those are now obsolete and is therefore not possible anymore.

6.2. Export to Pcbnew

GerbView has a limited capability to export Gerber files to Pcbnew.

The final result depends on what features of RS 274 X format are used in Gerber Files.

RS 274 X format has raster oriented features that cannot be converted (mainly all features relative to negative objects).

Flashed items are converted to vias.

Lines items are converted to track segments (or graphic lines for non copper layers)

So the usability of the converted file is very dependent upon the way each Gerber file was built by the original Pcb tool.

6.3. Preference menu

0A1000000964D11366E_png

Gives access to the hot keys editor, and some options to display items.

6.4. Miscellaneous menu

07C000000A353743B55_png

  • List Dcodes shows the Dcodes in use and some of Dcode parameters.

  • Show Source displays the Gerber file contents of the active layer in a text editor.

  • Clear Layer erases the contents of the active layer.