1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./style.css" />
6 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./design.css" />
7 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"./print.css" />
9 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
14 <em>Translations of this page are also available in the following languages:
</em> <a href=
"geda-pcb-quick_reference.fr.html" class=
"wikilink1" title=
"geda-pcb-quick_reference.fr.html">Français
</a>,
<a href=
"geda-pcb-quick_reference.ru.html" class=
"wikilink1" title=
"geda-pcb-quick_reference.ru.html">Русский
</a>.
17 <h1 id=
"pcbquickreference">PCB: Quick Reference
</h1>
22 <h2 id=
"additionalinformation">Additional information
</h2>
26 More information on PCB you can find in the PCB Command reference
27 (
<em><code>refcard.pdf
</code></em>) containing description of all PCB shortcuts
28 and in the PCB Manual (
<em><code>pcb.pdf
</code></em> or
<em><code>pcb.html
</code></em>)
29 residing in the
<em><code>doc/
</code></em> directory of your PCB installation
30 (its path may vary on various systems).
35 <h2 id=
"defaultkeymapping">Default Key Mapping
</h2>
40 <h3 id=
"allkeystrokes">All Keystrokes
</h3>
42 <div class=
"table sectionedit1"><table class=
"inline">
45 <th class=
"col0 centeralign"> Key
</th><th class=
"col1 leftalign"> Mnemonic
</th><th class=
"col2 leftalign"> Description
</th>
49 <td class=
"col0 rightalign"> <kbd>Esc
</kbd> </td><td class=
"col1 leftalign"> select
</td><td class=
"col2 leftalign"> enter select mode (same as
<kbd>Space
</kbd>, or
<kbd>F11
</kbd>)
</td>
52 <td class=
"col0 rightalign"> <kbd>Esc
</kbd> </td><td class=
"col1 leftalign"> end of action
</td><td class=
"col2 leftalign"> terminate the current action, e.g. stop drawing tracks
</td>
55 <td class=
"col0 rightalign"> <kbd>Insert
</kbd> </td><td class=
"col1 leftalign"> insert point
</td><td class=
"col2 leftalign"> enter insert point mode. Click and drag on track to insert a point
</td>
58 <td class=
"col0 rightalign"> <kbd>Return
</kbd> </td><td class=
"col1 leftalign"> click
</td><td class=
"col2 leftalign"> same as a click on the left mouse button
</td>
61 <td class=
"col0 rightalign"> <kbd>Space
</kbd> </td><td class=
"col1 leftalign"> select
</td><td class=
"col2 leftalign"> enter select mode (same as
<kbd>Esc
</kbd>, or
<kbd>F11
</kbd>)
</td>
64 <td class=
"col0 rightalign"> <kbd>Tab
</kbd> </td><td class=
"col1 leftalign"> flip up/down
</td><td class=
"col2 leftalign"> view: vertical flip
</td>
67 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Tab
</kbd> </td><td class=
"col1 leftalign"> flip left/right
</td><td class=
"col2 leftalign"> view: horizontal flip
</td>
70 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>Shift
</kbd>+
<kbd>Tab
</kbd> </td><td class=
"col1 leftalign"> far side
</td><td class=
"col2 leftalign"> view: exchange the roles of front side and far side
</td>
73 <td class=
"col0 rightalign"> <kbd>Del
</kbd> </td><td class=
"col1 leftalign"> delete
</td><td class=
"col2"> delete object under the mouse cursor
</td>
76 <td class=
"col0"> <kbd>Ctrl
</kbd>+
<kbd>Shift
</kbd> L-Mouse
</td><td class=
"col1 leftalign"> delete
</td><td class=
"col2"> delete object under the mouse cursor (fast)
</td>
79 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Del
</kbd> </td><td class=
"col1 leftalign"> del-sel
</td><td class=
"col2"> delete objects in selection
</td>
82 <td class=
"col0 rightalign"> <kbd>Backspace
</kbd> </td><td class=
"col1 leftalign"> del-sel
</td><td class=
"col2"> delete objects in selection
</td>
85 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Backspace
</kbd> </td><td class=
"col1 leftalign"> del-copper
</td><td class=
"col2 leftalign"> deletes connected copper under the cursor. Rats are considered a connection.
</td>
88 <td class=
"col0 rightalign"> <kbd>|
</kbd> </td><td class=
"col1 leftalign"> thin-draw
</td><td class=
"col2 leftalign"> toggles thin draw mode
</td>
91 <td class=
"col0 rightalign"> <kbd>A
</kbd> </td><td class=
"col1 leftalign"> set same
</td><td class=
"col2 leftalign"> read the parameters to use for new objects from the object below the cursor.
</td>
94 <td class=
"col0 rightalign"> <kbd>Alt
</kbd>+
<kbd>A
</kbd> </td><td class=
"col1 leftalign"> select-all
</td><td class=
"col2 leftalign"> select all objects on active layers. Deactivated layers are ignored.
</td>
97 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Alt
</kbd>+
<kbd>A
</kbd> </td><td class=
"col1 leftalign"> unselect
</td><td class=
"col2 leftalign"> clear selection
</td>
100 <td class=
"col0 rightalign"> <kbd>B
</kbd> </td><td class=
"col1 leftalign"> to other side
</td><td class=
"col2 leftalign"> flip object to the other side of the board
</td>
103 <td class=
"col0 rightalign"> <kbd>C
</kbd> </td><td class=
"col1 leftalign"> center
</td><td class=
"col2 leftalign"> view: center display at cursor position
</td>
106 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>C
</kbd> </td><td class=
"col1 leftalign"> copy to buffer
</td><td class=
"col2 leftalign"> copy selection to buffer and unselect
</td>
109 <td class=
"col0 rightalign"> <kbd>D
</kbd> </td><td class=
"col1 leftalign"> display name
</td><td class=
"col2 leftalign"> display pin or pad name
</td>
112 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>D
</kbd> </td><td class=
"col1 leftalign"> pinout dialog
</td><td class=
"col2 leftalign"> open pinout window for element under mouse cursor
</td>
115 <td class=
"col0 rightalign"> <kbd>E
</kbd> </td><td class=
"col1 leftalign"> eliminate rats
</td><td class=
"col2 leftalign"> delete all rats
</td>
118 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>E
</kbd> </td><td class=
"col1"> eliminate some rats
</td><td class=
"col2 leftalign"> delete selected rats
</td>
121 <td class=
"col0 rightalign"> <kbd>F
</kbd> </td><td class=
"col1 leftalign"> find
</td><td class=
"col2 leftalign"> highlight connections to object under mouse cursor. This includes rats and objects on invisible layers
</td>
124 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>F
</kbd> </td><td class=
"col1 leftalign"> add to found
</td><td class=
"col2 leftalign"> add connections to object under mouse cursor to the set of found objects
</td>
127 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>F
</kbd> </td><td class=
"col1 leftalign"> un-find
</td><td class=
"col2 leftalign"> un-highlight found connections
</td>
130 <td class=
"col0 rightalign"> <kbd>G
</kbd> </td><td class=
"col1 leftalign"> incr grid mil
</td><td class=
"col2 leftalign"> increment grid by configured imperial increment
</td>
133 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>G
</kbd> </td><td class=
"col1 leftalign"> decr grid mil
</td><td class=
"col2 leftalign"> decrement grid by configured imperial increment
</td>
136 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>G
</kbd> </td><td class=
"col1 leftalign"> incr grid mm
</td><td class=
"col2 leftalign"> increment grid by configured metric increment
</td>
139 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>Shift
</kbd>+
<kbd>G
</kbd> </td><td class=
"col1 leftalign"> decr grid mm
</td><td class=
"col2 leftalign"> decrement grid by configured metric increment
</td>
142 <td class=
"col0 rightalign"> <kbd>H
</kbd> </td><td class=
"col1 leftalign"> hide
</td><td class=
"col2"> toggle the visibility of the refdes or value attached to the component under the cursor
</td>
145 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>H
</kbd> </td><td class=
"col1 leftalign"> hide sel
</td><td class=
"col2 leftalign"> toggle the visibility of the refdes or value attached to selected components
</td>
148 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>H
</kbd> </td><td class=
"col1 leftalign"> holeplate
</td><td class=
"col2 leftalign"> toggle plating of a via. Used to produce non metalized mounting holes
</td>
151 <td class=
"col0 rightalign"> <kbd>J
</kbd> </td><td class=
"col1 leftalign"> lineclear
</td><td class=
"col2 leftalign"> toggle the polygon clear flag of the line under the cursor
</td>
154 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>J
</kbd> </td><td class=
"col1 leftalign"> lineclear sel
</td><td class=
"col2 leftalign"> toggle the polygon clear flag of selected lines
</td>
157 <td class=
"col0 rightalign"> <kbd>K
</kbd> </td><td class=
"col1 leftalign"> klear
</td><td class=
"col2 leftalign"> increment clearance (soldermask to copper edge)
</td>
160 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>K
</kbd> </td><td class=
"col1 leftalign"> klear (-)
</td><td class=
"col2 leftalign"> decrement clearance (soldermask to copper edge (NOTE: can go negative!))
</td>
163 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>K
</kbd> </td><td class=
"col1 leftalign"> klear sel
</td><td class=
"col2 leftalign"> increment clearance of selected objects (soldermask to copper edge)
</td>
166 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Ctrl
</kbd>+
<kbd>K
</kbd> </td><td class=
"col1 leftalign"> klear sel (-)
</td><td class=
"col2 leftalign"> decrement clearance of selected objects (soldermask to copper edge)
</td>
169 <td class=
"col0 rightalign"> <kbd>L
</kbd> </td><td class=
"col1 leftalign"> increase line
</td><td class=
"col2 leftalign"> increment width of the line tool, adds to the settings of the current line style
</td>
172 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>L
</kbd> </td><td class=
"col1 leftalign"> decrease line
</td><td class=
"col2"> reduce the current linewidth
</td>
175 <td class=
"col0 rightalign"> <kbd>M
</kbd> </td><td class=
"col1 leftalign"> move to layer
</td><td class=
"col2 leftalign"> move the object under the cursor to the current layer
</td>
178 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>M
</kbd> </td><td class=
"col1"> move selection to layer
</td><td class=
"col2 leftalign"> move selected objects to the current working layer (see
<a href=
"geda-pcb_tips.html#how_do_i_move_one_set_of_layer_tracks_to_another_layer" class=
"wikilink1" title=
"geda-pcb_tips.html">pcb tip
</a>)
</td>
181 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>M
</kbd> </td><td class=
"col1 leftalign"> move origin
</td><td class=
"col2"> set the origin to the current position of the mouse pointer
</td>
184 <td class=
"col0 rightalign"> <kbd>N
</kbd> </td><td class=
"col1 leftalign"> name
</td><td class=
"col2"> show object refdes / pin number at mouse pointer
</td>
187 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>N
</kbd> </td><td class=
"col1 leftalign"> next
</td><td class=
"col2"> Select the shortest unselected rat on the board
</td>
190 <td class=
"col0 rightalign"> <kbd>O
</kbd> </td><td class=
"col1 leftalign"> optimize rats
</td><td class=
"col2"> optimize and redraw all rats
</td>
193 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>O
</kbd> </td><td class=
"col1"> optimize some rats
</td><td class=
"col2"> optimize and redraw selected nets only
</td>
196 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>O
</kbd> </td><td class=
"col1 leftalign"> octagon
</td><td class=
"col2 leftalign"> toggle the octagon flag of the object under the cursor
</td>
199 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>P
</kbd> </td><td class=
"col1 leftalign"> polygon close
</td><td class=
"col2 leftalign"> connect the first point of a polygon with the last
</td>
202 <td class=
"col0 rightalign"> <kbd>Q
</kbd> </td><td class=
"col1 leftalign"> square toggle
</td><td class=
"col2 leftalign"> toggle square/round corners on pads
</td>
205 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>R
</kbd> </td><td class=
"col1 leftalign"> redo
</td><td class=
"col2 leftalign"> redo what was undone with undo
</td>
208 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>R
</kbd> </td><td class=
"col1 leftalign"> report
</td><td class=
"col2 leftalign"> show object report
</td>
211 <td class=
"col0 rightalign"> <kbd>S
</kbd> </td><td class=
"col1 leftalign"> size
</td><td class=
"col2 leftalign"> increment size of the object under the cursor
</td>
214 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>S
</kbd> </td><td class=
"col1 leftalign"> size (-)
</td><td class=
"col2 leftalign"> decrement size of the object under the cursor
</td>
217 <td class=
"col0 rightalign"> <kbd>Alt
</kbd>+
<kbd>S
</kbd> </td><td class=
"col1 leftalign"> sizehole
</td><td class=
"col2 leftalign"> increase the hole of the object under the cursor
</td>
220 <td class=
"col0 rightalign"> <kbd>Alt
</kbd>+
<kbd>Shift
</kbd>+
<kbd>S
</kbd> </td><td class=
"col1 leftalign"> sizehole (-)
</td><td class=
"col2 leftalign"> decrease the hole of the object under the cursor
</td>
223 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>S
</kbd> </td><td class=
"col1 leftalign"> sizehole
</td><td class=
"col2 leftalign"> increase the hole of the object under the cursor
</td>
226 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>Shift
</kbd>+
<kbd>S
</kbd> </td><td class=
"col1 leftalign"> sizehole (-)
</td><td class=
"col2 leftalign"> decrease the hole size
</td>
229 <td class=
"col0 rightalign"> <kbd>T
</kbd> </td><td class=
"col1 leftalign"> text tool size
</td><td class=
"col2 leftalign"> increase the size of new text by
10 mil
</td>
232 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>T
</kbd> </td><td class=
"col1"> text tool size (-)
</td><td class=
"col2 leftalign"> decrease the size of new text by
10 mil
</td>
235 <td class=
"col0 rightalign"> <kbd>V
</kbd> </td><td class=
"col1 leftalign"> view extents
</td><td class=
"col2 leftalign"> global view of working area
</td>
238 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>V
</kbd> </td><td class=
"col1 leftalign"> via tool dia
</td><td class=
"col2 leftalign"> increase the diameter of new vias by
5 mil
</td>
241 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>V
</kbd> </td><td class=
"col1 leftalign"> paste buffer
</td><td class=
"col2"> paste from buffer
</td>
244 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>Shift
</kbd>+
<kbd>V
</kbd> </td><td class=
"col1 leftalign"> via tool dia (-)
</td><td class=
"col2 leftalign"> decrease the diameter of new vias by
5 mil
</td>
247 <td class=
"col0 rightalign"> <kbd>Alt
</kbd>+
<kbd>V
</kbd> </td><td class=
"col1 leftalign"> via tool drill
</td><td class=
"col2 leftalign"> increase the drill diameter of new vias by
5 mil
</td>
250 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Alt
</kbd>+
<kbd>V
</kbd> </td><td class=
"col1"> via tool drill (-)
</td><td class=
"col2 leftalign"> decrease the drill diameter of new vias by
5 mil
</td>
253 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>X
</kbd> </td><td class=
"col1 leftalign"> cut to buffer
</td><td class=
"col2"> cut selection to buffer
</td>
256 <td class=
"col0 rightalign"> <kbd>Z
</kbd> </td><td class=
"col1 leftalign"> zoom
</td><td class=
"col2 leftalign"> view: zoom in
</td>
259 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Z
</kbd> </td><td class=
"col1 leftalign"> un-zoom
</td><td class=
"col2 leftalign"> view: zoom out
</td>
262 <td class=
"col0 rightalign"> <kbd>F1
</kbd> </td><td class=
"col1 leftalign"> via
</td><td class=
"col2"> enter via tool
</td>
265 <td class=
"col0 rightalign"> <kbd>F2
</kbd> </td><td class=
"col1 leftalign"> line
</td><td class=
"col2 leftalign"> enter line tool
</td>
268 <td class=
"col0 rightalign"> <kbd>F3
</kbd> </td><td class=
"col1 leftalign"> arc
</td><td class=
"col2"> enter arc tool
</td>
271 <td class=
"col0 rightalign"> <kbd>F4
</kbd> </td><td class=
"col1 leftalign"> text
</td><td class=
"col2"> enter text tool
</td>
274 <td class=
"col0 rightalign"> <kbd>F5
</kbd> </td><td class=
"col1 leftalign"> rectangle
</td><td class=
"col2"> enter rectangle tool
</td>
277 <td class=
"col0 rightalign"> <kbd>F6
</kbd> </td><td class=
"col1 leftalign"> polygon
</td><td class=
"col2"> enter polygon tool
</td>
280 <td class=
"col0 rightalign"> <kbd>F7
</kbd> </td><td class=
"col1 leftalign"> buffer
</td><td class=
"col2"> enter buffer mode
</td>
283 <td class=
"col0 rightalign"> <kbd>F8
</kbd> </td><td class=
"col1 leftalign"> delete
</td><td class=
"col2"> enter remove mode
</td>
286 <td class=
"col0 rightalign"> <kbd>F9
</kbd> </td><td class=
"col1 leftalign"> rotate
</td><td class=
"col2 leftalign"> enter rotate mode
</td>
289 <td class=
"col0 rightalign"> <kbd>F10
</kbd> </td><td class=
"col1 leftalign"> file menu
</td><td class=
"col2"> file menu
</td>
292 <td class=
"col0 rightalign"> <kbd>F11
</kbd> </td><td class=
"col1 leftalign"> select
</td><td class=
"col2 leftalign"> enter select mode (same as
<kbd>Space
</kbd>, or
<kbd>Esc
</kbd>)
</td>
295 <td class=
"col0 rightalign"> <kbd>F12
</kbd> </td><td class=
"col1 leftalign"> lock
</td><td class=
"col2"> enter lock mode
</td>
298 <!-- EDIT1 TABLE [588-8546] -->
301 <h3 id=
"viewportkeystrokes">Viewport Keystrokes
</h3>
303 <div class=
"table sectionedit2"><table class=
"inline">
306 <th class=
"col0 centeralign"> Key
</th><th class=
"col1 centeralign"> Mnemonic
</th><th class=
"col2 leftalign"> Description
</th>
310 <td class=
"col0 rightalign"> <kbd>V
</kbd> </td><td class=
"col1 leftalign"> view extents
</td><td class=
"col2 leftalign"> global view of working area
</td>
313 <td class=
"col0 rightalign"> <kbd>C
</kbd> </td><td class=
"col1 leftalign"> center
</td><td class=
"col2 leftalign"> centers view on cursor
</td>
316 <td class=
"col0 rightalign"> <kbd>Z
</kbd> </td><td class=
"col1 leftalign"> zoom
</td><td class=
"col2 leftalign"> zoom in
</td>
319 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Z
</kbd> </td><td class=
"col1 leftalign"> un-zoom
</td><td class=
"col2 leftalign"> zoom out
</td>
322 <td class=
"col0 rightalign"> <kbd>|
</kbd> </td><td class=
"col1"> thin-draw
</td><td class=
"col2 leftalign"> toggles thin draw mode
</td>
325 <td class=
"col0 rightalign"> <kbd>Tab
</kbd> </td><td class=
"col1 leftalign"> flip up/down
</td><td class=
"col2 leftalign"> vertical flip
</td>
328 <td class=
"col0 rightalign"> <kbd>Shift
</kbd>+
<kbd>Tab
</kbd> </td><td class=
"col1 leftalign"> flip left/right
</td><td class=
"col2 leftalign"> horizontal flip
</td>
331 <td class=
"col0 rightalign"> <kbd>Ctrl
</kbd>+
<kbd>Shift
</kbd>+
<kbd>Tab
</kbd> </td><td class=
"col1 leftalign"> far side
</td><td class=
"col2 leftalign"> exchange the roles of front and far side
</td>
334 <!-- EDIT2 TABLE [8579-9211] -->
337 <h3 id=
"layers">Layers
</h3>
339 <div class=
"table sectionedit3"><table class=
"inline">
342 <th class=
"col0 centeralign"> Key
</th><th class=
"col1 centeralign"> Mnemonic
</th><th class=
"col2 leftalign"> Description
</th>
346 <td class=
"col0 centeralign"> <kbd>1</kbd> to
<kbd>9</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> select layers
1 to
9 </td>
349 <td class=
"col0 centeralign"> <kbd>0</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> select layer
10<sup>*
</sup> </td>
352 <td class=
"col0 centeralign"> <kbd>Alt
</kbd>+
<kbd>1</kbd> to
<kbd>Alt
</kbd>+
<kbd>9</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> select layers
11 to
19<sup>*
</sup> </td>
355 <td class=
"col0 centeralign"> <kbd>Alt
</kbd>+
<kbd>0</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> select layer
20<sup>*
</sup> </td>
358 <td class=
"col0 centeralign"> <kbd>Ctrl
</kbd>+
<kbd>1</kbd> to
<kbd>Ctrl
</kbd>+
<kbd>9</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> toggle visibility of layers
1 to
9<sup>*
</sup> </td>
361 <td class=
"col0 centeralign"> <kbd>Ctrl
</kbd>+
<kbd>0</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> toggle visibility of layer
10<sup>*
</sup> </td>
364 <td class=
"col0 centeralign"> <kbd>Ctrl
</kbd>+
<kbd>Alt
</kbd>+
<kbd>1</kbd> to
<kbd>Ctrl
</kbd>+
<kbd>Alt
</kbd>+
<kbd>9</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> toggle visibility of
11 to
19<sup>*
</sup> </td>
367 <td class=
"col0 centeralign"> <kbd>Ctrl
</kbd>+
<kbd>Alt
</kbd>+
<kbd>0</kbd> </td><td class=
"col1 centeralign"> -
</td><td class=
"col2 leftalign"> toggle visibility of
20<sup>*
</sup> </td>
370 <!-- EDIT3 TABLE [9230-9995] -->
372 <sup>*
</sup> <sub>These accels are available in PCB, GTK GUI in versions after August
2011</sub>
377 <h1 id=
"footprintquickreference">Footprint Quick Reference
</h1>
381 The Master document for footprint creation is the PCB Manual. There is also Stuart Brorson’s Footprint Creation for the Open-Source Layout Program PCB.
386 <h2 id=
"generalsyntax">General syntax
</h2>
390 A pcb footprint file may contain any of the following commands:
393 <li class=
"level1"><div class=
"li"> <strong><code>Element [element_flags, description, pcb_name, value, mark_x, mark_y, text_x, text_y, text_direction, text_scale, text_flags]
</code></strong></div>
395 <li class=
"level1"><div class=
"li"> <strong><code>Pad [x1 y1 x2 y2 thickness clearance mask name pad_number flags]
</code></strong></div>
397 <li class=
"level1"><div class=
"li"> <strong><code>Pin [x y thickness clearance mask drillholedia name number flags]
</code></strong></div>
399 <li class=
"level1"><div class=
"li"> <strong><code>ElementArc [x y r1 r2 startangle sweepangle thickness]
</code></strong></div>
401 <li class=
"level1"><div class=
"li"> <strong><code>ElementLine [x1 y1 x2 y2 thickness] –
> thickness !=
1000 =
10 mils almost for all footprints
</code></strong></div>
403 <li class=
"level1"><div class=
"li"> Comment lines start with the ‘
<strong><code>#
</code></strong>’-sign
</div>
409 <h2 id=
"pcbunits">PCB Units
</h2>
413 PCB handles metric and imperial units in the following way:
416 <li class=
"level1"><div class=
"li"> The base Imperial unit is the
"centimil
", or
1/
100 of a thousandth, or
1/
100,
000 inch, or
0.00001 inch.
</div>
418 <li class=
"level3"><div class=
"li"> Allowable imperial value range:
"0.04" (
0.0000004 inches) to approx.
"78740000" (about
78-
3/
4")
</div>
420 <li class=
"level3"><div class=
"li"> The base Metric unit is
1nm (one nanometer). PCB parses in metric if the number has a
"mm
" behind it.
</div>
422 <li class=
"level3"><div class=
"li"> Allowable metric value range:
"0.000001mm
" to
"2000mm
"</div>
424 <li class=
"level3 node"><div class=
"li"> NOTES:
</div>
426 <li class=
"level4"><div class=
"li"> use
"mm
" after number to specify metric
</div>
428 <li class=
"level4"><div class=
"li"> imperial and metric may be mixed within a footprint (!)
</div>
436 <h2 id=
"elements">Elements
</h2>
440 <strong><code>Element [element_flags, description, pcb_name, value, mark_x, mark_y, text_x, text_y, text_direction, text_scale, text_flags]
</code></strong>
442 <div class=
"table sectionedit4"><table class=
"inline">
445 <th class=
"col0 leftalign"> </th><th class=
"col1 rightalign"> Allowed value (unit =
1e-5 inches)
</th><th class=
"col2 centeralign"> Allowed Value (mm)
</th><th class=
"col3 centeralign"> explanation
</th><th class=
"col4 centeralign"> comment
</th>
449 <td class=
"col0 centeralign"> element_flags
</td><td class=
"col1 centeralign"> unsigned hex value
</td><td class=
"col2 leftalign"> </td><td class=
"col3 leftalign"> </td><td class=
"col4"></td>
452 <td class=
"col0 centeralign"> description
</td><td class=
"col1 centeralign"> string
</td><td class=
"col2 leftalign"> </td><td class=
"col3 centeralign"> text description of footprint
</td><td class=
"col4 centeralign"> user-defined
</td>
455 <td class=
"col0 centeralign"> pcb_name
</td><td class=
"col1 centeralign"> string
</td><td class=
"col2 leftalign"> </td><td class=
"col3 rightalign"> generic refdes (R?, U? etc.)
</td><td class=
"col4 centeralign"> user-defined
</td>
458 <td class=
"col0 centeralign"> value
</td><td class=
"col1 centeralign"> string
</td><td class=
"col2 leftalign"> </td><td class=
"col3 centeralign"> component value (layout specific)
</td><td class=
"col4 centeralign"> user-defined (blank)
</td>
461 <td class=
"col0 centeralign"> mark_x
</td><td class=
"col1 centeralign"> "1" to ~
"78740000" </td><td class=
"col2 centeralign"> "0.000001mm
" to
"2000mm
" </td><td class=
"col3 centeralign"> (x,y) loc. of center mark
</td><td class=
"col4 leftalign"> </td>
464 <td class=
"col0 centeralign"> mark_y
</td><td class=
"col1 centeralign"> "1" to ~
"78740000" </td><td class=
"col2 centeralign"> "0.000001mm
" to
"2000mm
" </td><td class=
"col3 leftalign"> </td><td class=
"col4 leftalign"> </td>
467 <td class=
"col0 centeralign"> text_x
</td><td class=
"col1 centeralign"> "1" to ~
"78740000" </td><td class=
"col2 centeralign"> "0.000001mm
" to
"2000mm
" </td><td class=
"col3 centeralign"> (x,y) loc. of REFDES
</td><td class=
"col4 leftalign"> </td>
470 <td class=
"col0 centeralign"> text_y
</td><td class=
"col1 centeralign"> "1" to ~
"78740000" </td><td class=
"col2 centeralign"> "0.000001mm
" to
"2000mm
" </td><td class=
"col3 leftalign"> </td><td class=
"col4 leftalign"> </td>
473 <td class=
"col0 centeralign"> text_direction
</td><td class=
"col1 centeralign"> decimal integer
</td><td class=
"col2 leftalign"> </td><td class=
"col3 centeralign"> 0=horiz;
1=ccw90;
2=
180;
3=cw90
</td><td class=
"col4 leftalign"> </td>
476 <td class=
"col0 centeralign"> text_scale
</td><td class=
"col1 centeralign"> decimal integer
</td><td class=
"col2 leftalign"> </td><td class=
"col3 leftalign"> </td><td class=
"col4 centeralign"> usu. set to
100 </td>
479 <td class=
"col0 centeralign"> text_flags
</td><td class=
"col1 centeralign"> unsigned hex
</td><td class=
"col2 leftalign"> </td><td class=
"col3 leftalign"> </td><td class=
"col4 leftalign"> </td>
482 <!-- EDIT4 TABLE [11773-12694] -->
485 <h2 id=
"pads">Pads
</h2>
489 <strong><code>Pad[x1 y1 x2 y2 thickness clearance mask name pad_number flags]
</code></strong>
491 <div class=
"table sectionedit5"><table class=
"inline">
494 <th class=
"col0 centeralign"> Item
</th><th class=
"col1 centeralign"> Allowed Value
</th><th class=
"col2 centeralign"> Explanation
</th><th class=
"col3 centeralign"> Comment
</th>
498 <td class=
"col0 centeralign"> x1
</td><td class=
"col1 centeralign"> 1/
100th mil
</td><td class=
"col2 centeralign"> x (
1st point)
</td><td class=
"col3 leftalign"> </td>
501 <td class=
"col0 centeralign"> y1
</td><td class=
"col1 centeralign"> 1/
100th mil
</td><td class=
"col2 centeralign"> y (
1st point)
</td><td class=
"col3 leftalign"> </td>
504 <td class=
"col0 centeralign"> x2
</td><td class=
"col1 centeralign"> 1/
100th mil
</td><td class=
"col2 centeralign"> x (
2nd point)
</td><td class=
"col3 leftalign"> </td>
507 <td class=
"col0 centeralign"> y2
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> y (
2nd point)
</td><td class=
"col3 leftalign"> </td>
510 <td class=
"col0 centeralign"> thickness
</td><td class=
"col1 centeralign"> 1/
100 mils
</td><td class=
"col2 centeralign"> width of metal surrounding line segment
</td><td class=
"col3 leftalign">see Brorson .pdf
</td>
513 <td class=
"col0 centeralign"> clearance
</td><td class=
"col1 centeralign"> 1/
100 mils
</td><td class=
"col2 centeralign"> distance to any other copper on any layer
</td><td class=
"col3 leftalign">actually
1/
2 of this number is used!
</td>
516 <td class=
"col0 centeralign"> mask
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> width of mask relief
</td><td class=
"col3 leftalign">actual width of the mask centered on pad copper
</td>
519 <td class=
"col0 centeralign"> name
</td><td class=
"col1 centeralign"> string
</td><td class=
"col2 centeralign"> name of pad (arb. string)
</td><td class=
"col3 leftalign">e.g.
"pad_1
" or
"positive
" or any other string
</td>
522 <td class=
"col0 centeralign"> pad_number
</td><td class=
"col1 centeralign"> string
</td><td class=
"col2 centeralign"> pad #
</td><td class=
"col3 leftalign"> used for nets. it MUST be consistent with the definitions on the netlist.
</td>
525 <td class=
"col0 centeralign"> flags
</td><td class=
"col1 centeralign"> hex or string
</td><td class=
"col2 leftalign"> </td><td class=
"col3 leftalign"> examples:
</td>
528 <!-- EDIT5 TABLE [12786-13615] -->
531 <h2 id=
"pins">Pins
</h2>
535 <strong><code>Pin[x y thickness clearance mask drillholedia name number flags]
</code></strong>
537 <div class=
"table sectionedit6"><table class=
"inline">
540 <th class=
"col0 centeralign"> Item
</th><th class=
"col1 leftalign"> Allowed Value
</th><th class=
"col2 centeralign"> Explanation
</th><th class=
"col3 centeralign"> Comment
</th>
544 <td class=
"col0 centeralign"> x
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> pin x coord.
</td><td class=
"col3 leftalign"> </td>
547 <td class=
"col0 centeralign"> y
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> pin y coord.
</td><td class=
"col3 leftalign"> </td>
550 <td class=
"col0 centeralign"> thickness
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> copper diameter
</td><td class=
"col3 leftalign"> </td>
553 <td class=
"col0 centeralign"> clearance
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> 2*(cu to cu clearance)
</td><td class=
"col3 leftalign">if you want a
10 mil clearance, put
2000 (
20 mils) here
</td>
556 <td class=
"col0 centeralign"> mask
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> diameter of mask aperture
</td><td class=
"col3 leftalign">actual dia. of hole in mask
</td>
559 <td class=
"col0 centeralign"> drillholedia
</td><td class=
"col1 centeralign"> 1/
100th mils
</td><td class=
"col2 centeralign"> dia. of hole
</td><td class=
"col3 leftalign"> </td>
562 <td class=
"col0 centeralign"> name
</td><td class=
"col1 centeralign"> string
</td><td class=
"col2 centeralign"> arb. pin name
</td><td class=
"col3 leftalign"> </td>
565 <td class=
"col0 centeralign"> number
</td><td class=
"col1 centeralign"> decimal integer
</td><td class=
"col2 centeralign"> pin number used by nets/rats
</td><td class=
"col3 leftalign"> </td>
568 <td class=
"col0 centeralign"> flags
</td><td class=
"col1 centeralign"> hex
</td><td class=
"col2 centeralign"> xxx
</td><td class=
"col3 leftalign"> </td>
571 <!-- EDIT6 TABLE [13708-14314] -->
574 <h2 id=
"examples">Examples
</h2>
577 <li class=
"level1"><div class=
"li"> <strong><code>Pad[-
24606 14760 -
19538 14760 1181 2000 3181 "" "16" "square
"]
</code></strong></div>
579 <li class=
"level1"><div class=
"li"> <strong><code>Pad[-
14760 19538 -
14760 24606 1181 2000 3181 "" "17" "square,edge2
"]
</code></strong></div>
581 <li class=
"level1"><div class=
"li"> <strong><code>Pad[-
240.00mil
0.0000 -
80.00mil
0.0000 40.00mil
20.00mil
46.00mil
"2" "2" "onsolder,square
"]
</code></strong></div>
583 <li class=
"level1"><div class=
"li"> <strong><code>Pad[
80.00mil
0.0000 240.00mil
0.0000 40.00mil
20.00mil
46.00mil
"1" "1" "onsolder,square,edge2
"]
</code></strong></div>
585 <li class=
"level1"><div class=
"li"> <strong><code>Pin[
0 0 12000 2000 12500 6400 "" "1" 0×
00000001]
</code></strong></div>
587 <li class=
"level1"><div class=
"li"> <strong><code>Pin[
0 0 11500 11800 35000 12500 "" "1" 0x08]
</code></strong> <-- unplated / nonplated hole
</div>
589 <li class=
"level1"><div class=
"li"> <strong><code>ElementArc [
0 0 6800 6800 0 360 1000]
</code></strong></div>
591 <li class=
"level1"><div class=
"li"> <strong><code>ElementLine [-
26696 -
26696 26696 -
26696 1000]
</code></strong></div>
593 <li class=
"level1"><div class=
"li"> <strong><code># notes within PCB Footprints go after the pound sign
</code></strong></div>
599 <h1 id=
"pcbcommandlineactionreferenceabridged">PCB Command Line Action Reference (abridged)
</h1>
601 <div class=
"table sectionedit7"><table class=
"inline">
603 <td class=
"col0" colspan=
"2">:FreeRotateBuffer(degrees)
</td><td class=
"col2">Rotate buffer arbitrarily
</td>
606 <td class=
"col0" colspan=
"2">:MoveObject(x,y,unit)
</td><td class=
"col2">Move Absolute (x,y,mil) or Relative(+x,-y,mil)
</td>
609 <td class=
"col0" colspan=
"2">:ChangeClearSize(Selected,
<amount
>,
<unit
>)
</td><td class=
"col2"> Clearance Size
</td>
612 <td class=
"col0" colspan=
"2">:ChangeSize(SelectedPins, SIZE)
</td><td class=
"col2"> Pin Size
</td>
615 <td class=
"col0" colspan=
"2">:ChangeSize(SelectedLines,+N,mils)
</td><td class=
"col2"> Line Size
</td>
618 <td class=
"col0" colspan=
"2">:MinClearGap(Selected,
<amount
>,
<unit
>)
</td><td class=
"col2"> Clearance Gap
</td>
621 <!-- EDIT7 TABLE [15144-15489] --><ul>
622 <li class=
"level1"><div class=
"li"> units can be specified as mm or mil.
</div>
624 <li class=
"level1"><div class=
"li"> Action Reference from the PCB Manual
</div>
630 <h1 id=
"pcbphysicallayerreference">PCB Physical Layer Reference
</h1>
633 <li class=
"level1"><div class=
"li"> outline layer reference
</div>
635 <li class=
"level1"><div class=
"li"> physical layer how-to (outline, direct (x,y) footprint placement, part insertion)
</div>