File: geda-pcb_tips.html

package info (click to toggle)
lepton-eda 1.9.18-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,024 kB
  • sloc: ansic: 66,688; lisp: 29,508; sh: 6,792; makefile: 3,111; perl: 1,404; pascal: 1,161; lex: 887; sed: 16; cpp: 8
file content (1485 lines) | stat: -rw-r--r-- 96,067 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div class="dokuwiki export">

<h1 class="sectionedit1"><a name="footprint_issues" id="footprint_issues">Footprint issues</a></h1>
<div class="level1">

</div>
<!-- EDIT1 SECTION "Footprint issues" [139-169] -->
<h2 class="sectionedit2"><a name="i_have_a_question_relating_to_footprints" id="i_have_a_question_relating_to_footprints">I have a question relating to footprints</a></h2>
<div class="level2">

<p>
See the <a href="geda-pcb_footprints.html" class="wikilink1" title="geda-pcb_footprints.html">PCB footprints</a> page.
</p>

</div>
<!-- EDIT2 SECTION "I have a question relating to footprints" [170-262] -->
<h1 class="sectionedit3"><a name="about_pcb_layout_and_routing" id="about_pcb_layout_and_routing">About PCB layout and routing</a></h1>
<div class="level1">
<ul>
<li class="level1"><div class="li"> This page contains <em>gEDA/PCB Specific</em> information about laying out circuit boards.</div>
</li>
<li class="level1"><div class="li"> Also see the gEDA/PCB <strong><a href="geda-glossary.html" class="wikilink1" title="geda-glossary.html"> Glossary of Terms. </a></strong></div>
</li>
</ul>

</div>
<!-- EDIT3 SECTION "About PCB layout and routing" [263-465] -->
<h2 class="sectionedit4"><a name="more_pcb_faq" id="more_pcb_faq">More PCB FAQ:</a></h2>
<div class="level2">
<ul>
<li class="level1"><div class="li"> <a href="geda-faq-pcb.html" class="wikilink1" title="geda-faq-pcb.html"> PCB FAQ</a></div>
</li>
<li class="level1"><div class="li"> <a href="http://www.luciani.org/geda/pcb/faq-pcb-footprint.html" class="urlextern" title="http://www.luciani.org/geda/pcb/faq-pcb-footprint.html"  rel="nofollow">http://www.luciani.org/geda/pcb/faq-pcb-footprint.html</a></div>
</li>
<li class="level1"><div class="li"> <a href="http://pcb.geda-project.org/faq.html" class="urlextern" title="http://pcb.geda-project.org/faq.html"  rel="nofollow">http://pcb.geda-project.org/faq.html</a></div>
</li>
</ul>

</div>
<!-- EDIT4 SECTION "More PCB FAQ:" [466-632] -->
<h2 class="sectionedit5"><a name="where_can_i_read_about_the_basics_of_using_pcb" id="where_can_i_read_about_the_basics_of_using_pcb">Where can I read about the basics of using pcb?</a></h2>
<div class="level2">

<p>
The pcb manual contains a concise description of the user interface in the
section <a href="http://pcb.geda-project.org/pcb-cvs/pcb.html#Getting-Started" class="urlextern" title="http://pcb.geda-project.org/pcb-cvs/pcb.html#Getting-Started"  rel="nofollow">&quot;Getting Started&quot;</a>.
</p>

</div>
<!-- EDIT5 SECTION "Where can I read about the basics of using pcb?" [633-860] -->
<h2 class="sectionedit6"><a name="is_there_a_way_to_save_the_file_as_an_older_version" id="is_there_a_way_to_save_the_file_as_an_older_version">Is there a way to save the file as an older version?</a></h2>
<div class="level2">

<p>
As new features are added to the file format, older versions of pcb might choke on portions of the layout using the bright new features. To prevent this kind of misbehavior, the pcb file contains a note on the minimum version string for the binary. Older versions of pcb refuse to load a layout saved by a newer pcb binary. This was the case for the addition of holes in polygons in 2010. You need a pcb that was compiled from source later than June 2010 to open these layouts.
</p>

<p>
Unfortunately, there is no way to save the layout in a way that allows older versions of pcb to read the file. However, if don&#039;t use the holes in polygon features, you can just hand-edit the file version header back to 20070407 and  open the file with the older pcb binary.
</p>

</div>
<!-- EDIT6 SECTION "Is there a way to save the file as an older version?" [861-1679] -->
<h2 class="sectionedit7"><a name="i_found_a_bug_what_can_i_do_about_it" id="i_found_a_bug_what_can_i_do_about_it">I found a bug! What can I do about it?</a></h2>
<div class="level2">
<ol>
<li class="level1"><div class="li"> Start by reading <a href="http://pcb.geda-project.org/bugs.html" class="urlextern" title="http://pcb.geda-project.org/bugs.html"  rel="nofollow">the pcb bug reporting page</a>.</div>
</li>
<li class="level1"><div class="li"> Check, what it needs to reproduce the bug.</div>
</li>
<li class="level1"><div class="li"> Ask on the <a href="http://wiki.geda-project.org/geda:mailinglists" class="urlextern" title="http://wiki.geda-project.org/geda:mailinglists"  rel="nofollow">geda-user mailing list</a> if there is a work around, or has been dealt with in the bleeding edge version of pcb. Note that you must subscribe to the geda-user e-mail list before you can post to this list.</div>
</li>
<li class="level1"><div class="li"> Check, weather the issue is already in the <a href="https://bugs.launchpad.net/pcb" class="urlextern" title="https://bugs.launchpad.net/pcb"  rel="nofollow">bug tracking system of pcb</a>. If not, <a href="https://bugs.launchpad.net/pcb/+filebug" class="urlextern" title="https://bugs.launchpad.net/pcb/+filebug"  rel="nofollow">file a bug report</a>. Make sure to give every information necessary to reproduce the bug and add the version of pcb that contains the bug.</div>
</li>
<li class="level1"><div class="li"> Finally, as with all open source projects, you may flex your programming muscles and try to squish the bug yourself. Please file a patch of the changes you had to make to the <a href="https://bugs.launchpad.net/pcb/+filebug" class="urlextern" title="https://bugs.launchpad.net/pcb/+filebug"  rel="nofollow">bug tracking system</a>. The patch will be gladly accepted to improve the next release of pcb.</div>
</li>
</ol>

</div>
<!-- EDIT7 SECTION "I found a bug! What can I do about it?" [1680-2749] -->
<h2 class="sectionedit8"><a name="how_can_i_set_the_manufacturing_rules_to_use_ie_drill_diameters_trace_width_space_specs" id="how_can_i_set_the_manufacturing_rules_to_use_ie_drill_diameters_trace_width_space_specs">How can I set the manufacturing rules to use (i.e. drill diameters, trace width/space specs)?</a></h2>
<div class="level2">

<p>
This topic is covered <a href="http://pcb.geda-project.org/pcb-cvs/pcb.html#Vendor-drill-mapping" class="urlextern" title="http://pcb.geda-project.org/pcb-cvs/pcb.html#Vendor-drill-mapping"  rel="nofollow">in the manual</a>.
</p>

</div>
<!-- EDIT8 SECTION "How can I set the manufacturing rules to use (i.e. drill diameters, trace width/space specs)?" [2750-2963] -->
<h1 class="sectionedit9"><a name="non-obvious_aspects_of_the_gui" id="non-obvious_aspects_of_the_gui">Non-obvious aspects of the GUI</a></h1>
<div class="level1">

</div>
<!-- EDIT9 SECTION "Non-obvious aspects of the GUI" [2964-3009] -->
<h2 class="sectionedit10"><a name="auto-pan_bugs_me_what_can_i_do_about_it" id="auto-pan_bugs_me_what_can_i_do_about_it">Auto-pan bugs me. What can I do about it?</a></h2>
<div class="level2">

<p>
The auto pan feature was removed in September 2011. So install of a more current version might help.
</p>

<p>
If you use an older version of PCB, you can do this:
</p>
<ul>
<li class="level1"><div class="li"> You can tell, whether the screen will auto-pan by looking for little squares at the end of the cross hair cursor.</div>
</li>
<li class="level1"><div class="li"> Auto-pan can be toggled during move with a right mouse button click.</div>
</li>
<li class="level1"><div class="li"> Auto-pan speed can be set in <code>$HOME/.pcb/preferences</code></div>
</li>
</ul>

</div>
<!-- EDIT10 SECTION "Auto-pan bugs me. What can I do about it?" [3010-3470] -->
<h2 class="sectionedit11"><a name="the_delete_key_sometimes_refuses_to_delete" id="the_delete_key_sometimes_refuses_to_delete">The delete key sometimes refuses to delete</a></h2>
<div class="level2">

<p>
Probably you try to delete a selected object. In pcb the <kbd>Delete</kbd> button does not act on the selection, but on the object currently under the mouse. Consequently nothing will be deleted if an object is selected and the mouse hovers at some other place. Bottom line: Just position the mouse over an object and press the <kbd>Delete</kbd> button. No need to select the object.
</p>

<p>
However, you can delete the current selection with the <kbd>Backspace</kbd> key.
</p>

</div>
<!-- EDIT11 SECTION "The delete key sometimes refuses to delete" [3471-3991] -->
<h2 class="sectionedit12"><a name="i_try_to_move_an_object_but_pcb_won_t_let_me" id="i_try_to_move_an_object_but_pcb_won_t_let_me">I try to move an object, but pcb won&#039;t let me!</a></h2>
<div class="level2">

<p>
Most probably the object is locked.  Locked objects won&#039;t highlight. To see, whether it indeed is, <strong><em>Select all connected objects</em></strong> from the <strong><em>Select</em></strong> menu. Locked footprints are shown with a little L at their diamond shaped insertion mark. Use the lock tool to unlock the object in question. Note, that the lock tool always toggles the lock state of the object you click at. Afterward, an object report pops up that contains the lock state in the last line.
</p>

<p>
If you want to remove all locks, you may consider to remove all instances of the string <code>lock</code> in the *.pcb file with your favorite ascii editor.
</p>

<p>
A different reason for numb objects is “Only Names” in the settings menu. When checked, the selection tool will exclusively act on text. This is useful with crammed layouts. There is a complementary setting “Lock Names”, too.
</p>

</div>
<!-- EDIT12 SECTION "I try to move an object, but pcb won't let me!" [3992-4896] -->
<h1 class="sectionedit13"><a name="component_placement" id="component_placement">Component placement</a></h1>
<div class="level1">

</div>
<!-- EDIT13 SECTION "Component placement" [4897-4931] -->
<h2 class="sectionedit14"><a name="how_do_i_rotate_a_selection_ie_of_more_than_one_item" id="how_do_i_rotate_a_selection_ie_of_more_than_one_item">How do I rotate a selection (i.e. of more than one item)?</a></h2>
<div class="level2">
<ol>
<li class="level1"><div class="li"> Select the items</div>
</li>
<li class="level1"><div class="li"> <strong><em>Buffer</em></strong> → <strong><em>Cut selection to buffer</em></strong></div>
</li>
<li class="level1"><div class="li"> <strong><em>Buffer</em></strong> → <strong><em>Rotate buffer 90 deg CCW</em></strong> (or CW)</div>
</li>
<li class="level1"><div class="li"> Click anywhere on the board and the selection is pasted on the design again.</div>
</li>
</ol>

<p>
Note: Square pads may not clear polygons correctly. Rectangular pads are ok, though. This is a known issue caused by the difficulty to know the reference direction of a square pad.
</p>

</div>
<!-- EDIT14 SECTION "How do I rotate a selection (i.e. of more than one item)?" [4932-5405] -->
<h2 class="sectionedit15"><a name="how_do_i_rotate_objects_by_an_arbitrary_angle" id="how_do_i_rotate_objects_by_an_arbitrary_angle">How do I rotate objects by an arbitrary angle?</a></h2>
<div class="level2">
<ol>
<li class="level1"><div class="li"> Cut the object into the paste buffer.</div>
</li>
<li class="level1"><div class="li"> Type ”:FreeRotateBuffer(45)”. The <kbd>:</kbd> key will open the command line. Replace “45” with the angle you want to rotate by.</div>
</li>
<li class="level1"><div class="li"> Paste the object back to your board.</div>
</li>
</ol>

<p>
Note: For internal reasons, FreeRotateBuffer does not work with exact squares. As workaround use two or more polygons that add to give a square.
</p>

</div>
<!-- EDIT15 SECTION "How do I rotate objects by an arbitrary angle?" [5406-5829] -->
<h2 class="sectionedit16"><a name="how_do_i_move_objects_by_an_arbitrary_distance" id="how_do_i_move_objects_by_an_arbitrary_distance">How do I move objects by an arbitrary distance?</a></h2>
<div class="level2">
<ol>
<li class="level1"><div class="li"> Let the mouse hover over the object to be moved.</div>
</li>
<li class="level1"><div class="li"> Type ”:MoveObject(x,y,unit)”. The <kbd>:</kbd> key will open the command line. Replace “x” and “y” with the desired coordinates and “unit” with either “mm”, or “mil”.</div>
</li>
<li class="level1"><div class="li"> Type <kbd>Enter</kbd>.</div>
</li>
</ol>

<p>
If both coordinates are prefixed with a ”+”, or ”-” the move is relative to the current position. Else the object is moved to absolute coordinates.
</p>

</div>
<!-- EDIT16 SECTION "How do I move objects by an arbitrary distance?" [5830-6289] -->
<h2 class="sectionedit17"><a name="how_do_i_move_objects_to_an_absolute_location" id="how_do_i_move_objects_to_an_absolute_location">How do I move objects to an absolute location?</a></h2>
<div class="level2">

<p>
Use the command “MoveObject()” as described above.
</p>

</div>
<!-- EDIT17 SECTION "How do I move objects to an absolute location?" [6290-6400] -->
<h2 class="sectionedit18"><a name="how_do_i_change_the_size_of_a_graphical_object_such_as_text_silkscreen_lines_etc" id="how_do_i_change_the_size_of_a_graphical_object_such_as_text_silkscreen_lines_etc">How do I change the size of a graphical object (such as text, silkscreen lines, etc)?</a></h2>
<div class="level2">
<ul>
<li class="level1"><div class="li"> Mouse over the object and hit <kbd>S</kbd>. This will increase the size of the object you are mousing over.</div>
</li>
<li class="level1"><div class="li"> Mouse over the object and hit <kbd>Shift</kbd>+<kbd>S</kbd>. This will decrease the size of the object you are mousing over.</div>
</li>
</ul>

<p>
You can alter the increase/decrease quantum using the <strong><em>File</em></strong> → <strong><em>Preferences…</em></strong> → <strong>Increments</strong> menu.
(Note, this setting is currently broken)
</p>

</div>
<!-- EDIT18 SECTION "How do I change the size of a graphical object (such as text, silkscreen lines, etc)?" [6401-6887] -->
<h2 class="sectionedit19"><a name="how_do_i_put_components_on_both_faces_in_pcb" id="how_do_i_put_components_on_both_faces_in_pcb">How do I put components on both faces in PCB?</a></h2>
<div class="level2">

<p>
There are two ways to do it:
</p>
<ul>
<li class="level1"><div class="li"> Pressing the <kbd>Tab</kbd> key will alternate the active side between the component and solder sides. When you place components, they will go on the active side.</div>
</li>
<li class="level1"><div class="li"> If you are viewing one side of the board, place a component there and (with the cursor over it) press the <kbd>B</kbd> key (which means, send the component to the Back side) the component go to the other side of the board.</div>
</li>
</ul>

</div>
<!-- EDIT19 SECTION "How do I put components on both faces in PCB?" [6888-7369] -->
<h2 class="sectionedit20"><a name="i_can_t_move_the_components_on_the_other_side_of_the_board" id="i_can_t_move_the_components_on_the_other_side_of_the_board">I can&#039;t move the components on the other side of the board!</a></h2>
<div class="level2">

<p>
The mouse is only sensitive to components on the active side of the board. This prevents ambiguities with components placed on both, top and bottom.  By default, top side is active and the bottom side is the “far side” whose components are ignored by the mouse. You can swap the roles of the sides to make components on the far side accessible. The key-accels <kbd>Tab</kbd>, <kbd>Shift</kbd>+<kbd>Tab</kbd>, <kbd>Ctrl</kbd>+<kbd>Tab</kbd> and <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd> will do the trick. These accels combine the swap with different vertical and horizontal flips.
Specifically:
</p>
<ul>
<li class="level1"><div class="li"> <kbd>Tab</kbd> : swap sides and mirror along horizontal axis. This is like flipping a real board upside-down.</div>
</li>
<li class="level1"><div class="li"> <kbd>Shift</kbd>+<kbd>Tab</kbd>: swap sides and mirror along vertical axis. This mimics flipping a real board like a page in a book.</div>
</li>
<li class="level1"><div class="li"> <kbd>Ctrl</kbd>+<kbd>Tab</kbd>: swap sides and mirror along both axis. That is, do an inversion. This cannot be done with a real board …</div>
</li>
<li class="level1"><div class="li"> <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd> : No mirroring, just swap front side and far side. This is like an x-ray view.</div>
</li>
</ul>

</div>
<!-- EDIT20 SECTION "I can't move the components on the other side of the board!" [7370-8480] -->
<h2 class="sectionedit21"><a name="how_do_i_know_which_side_a_component_sits_on" id="how_do_i_know_which_side_a_component_sits_on">How do I know, which side a component sits on?</a></h2>
<div class="level2">

<p>
If the component is on the currently far side of the layout, its silk layer is drawn in grey. If unsure, deactivate the far side with the “far side” button, at the bottom of the layer button row. This should remove the silk of all far side components from the view.
</p>

</div>
<!-- EDIT21 SECTION "How do I know, which side a component sits on?" [8481-8806] -->
<h2 class="sectionedit22"><a name="how_do_i_define_a_silkscreen_layer_for_the_other_side_of_the_board" id="how_do_i_define_a_silkscreen_layer_for_the_other_side_of_the_board">How do I define a silkscreen layer for the other side of the board?</a></h2>
<div class="level2">

<p>
Although only one silk layer button is visible in the <acronym title="Graphical User Interface">GUI</acronym>, silkscreen for both sides is automatically configured. In default view the silk layer button refers to silkscreen on the component side of the board. To place text or lines on solder silk you have to flip the board with the <kbd>Tab</kbd> key (or <kbd>Shift</kbd>+<kbd>Tab</kbd> if you prefer a left-right flip). This is like physically turning the board to the other side. It turns the solder layer on top, and component layer on bottom. Objects on component silk layer
will be greyed out. If you draw to silk, lines will always go to the current top silk layer, which is solder now. The same happens to components and their silk screen. Flip the board again to return to default view.
</p>

</div>
<!-- EDIT22 SECTION "How do I define a silkscreen layer for the other side of the board?" [8807-9622] -->
<h2 class="sectionedit23"><a name="why_text_i_add_to_the_solder_side_not_reversed" id="why_text_i_add_to_the_solder_side_not_reversed">Why text I add to the solder side not reversed?</a></h2>
<div class="level2">

<p>
Add it while the board is flipped (<kbd>Tab</kbd>).  Just selecting the solder side is insufficient.  New text always reads correctly from the side
you&#039;re looking at.
</p>

</div>
<!-- EDIT23 SECTION "Why text I add to the solder side not reversed?" [9623-9851] -->
<h2 class="sectionedit24"><a name="is_it_possible_to_use_an_arbitrary_grid_spacing" id="is_it_possible_to_use_an_arbitrary_grid_spacing">Is it possible to use an arbitrary grid spacing?</a></h2>
<div class="level2">

<p>
Yes. You can use the command setvalue(grid,value,unit). To do this:
</p>
<ol>
<li class="level1"><div class="li"> Type ”:SetValue(grid,=x,unit)”. The <kbd>:</kbd> key will open the command line. Replace “x” with the desired grid spacing and “unit” with either “mm”, or “mil”.</div>
</li>
<li class="level1"><div class="li"> Type <kbd>Enter</kbd>.</div>
</li>
</ol>

</div>
<!-- EDIT24 SECTION "Is it possible to use an arbitrary grid spacing?" [9852-10192] -->
<h2 class="sectionedit25"><a name="how_do_i_set_the_origin_in_pcb" id="how_do_i_set_the_origin_in_pcb">How do I set the origin in pcb?</a></h2>
<div class="level2">

<p>
The absolute origin is always in the upper left corner of the accessible area. This cannot be set to some other place. However, coordinates of objects can also be given relative to the current grid. In the GTK2 version of pcb coordinates are shown in the upper right corner of the main window. The right pair is the absolute position, while the left pair reflects the position relative to an arbitrary marker. This marker is set to the current position of the mouse by the key sequence <kbd>Ctrl</kbd>+<kbd>M</kbd>. You may want to set the marker to a grid point or a specific pin.
</p>

</div>
<!-- EDIT25 SECTION "How do I set the origin in pcb?" [10193-10808] -->
<h2 class="sectionedit26"><a name="how_do_i_measure_distances_and_dimensions_of_components" id="how_do_i_measure_distances_and_dimensions_of_components">How do I measure distances and dimensions of components?</a></h2>
<div class="level2">

<p>
Use <kbd>Ctrl</kbd>+<kbd>M</kbd> to set the origin and read the distance of the mouse pointer relative to this point on the upper right of the pcb window. Some objects like vias and tracks yield useful information in object reports. Access the report of the object currently under the mouse pointer with <kbd>Ctrl</kbd>+<kbd>R</kbd>.
</p>

</div>
<!-- EDIT26 SECTION "How do I measure distances and dimensions of components?" [10809-11190] -->
<h2 class="sectionedit27"><a name="how_do_i_hide_rats_of_specific_nets" id="how_do_i_hide_rats_of_specific_nets">How do I hide rats of specific nets?</a></h2>
<div class="level2">

<p>
In the netlist window, doubleclick on the specific rat name, then press <kbd>O</kbd> on your board window. Your rats are hidden for that net. In the <strong>Netlist</strong> window an asterisk appears in from of the rat name.
To reverse: follow the same procedure.
</p>

</div>
<!-- EDIT27 SECTION "How do I hide rats of specific nets?" [11191-11492] -->
<h1 class="sectionedit28"><a name="routing" id="routing">Routing</a></h1>
<div class="level1">

</div>
<!-- EDIT28 SECTION "Routing" [11493-11514] -->
<h2 class="sectionedit29"><a name="how_do_i_route_a_connection_from_solder_to_component_side_and_back" id="how_do_i_route_a_connection_from_solder_to_component_side_and_back">How do I route a connection from solder to component side and back?</a></h2>
<div class="level2">

<p>
While using the line tool, use the number keys on top of the keyboard to switch layers. A via will be placed automatically at the endpoint of the last complete segment.
</p>

</div>
<!-- EDIT29 SECTION "How do I route a connection from solder to component side and back?" [11515-11765] -->
<h2 class="sectionedit30"><a name="how_do_i_change_the_routing_style" id="how_do_i_change_the_routing_style">How do I change the routing style?</a></h2>
<div class="level2">

<p>
There is a set of predefined sizes for routing. The sets bear suggestive names (Signal, Power, Fat and Skinny). Hit the button “Route Style” to configure the sizes of the current set to your needs. You can set the names and the default values of these parameter sets in a config file ( ~/.pcb/settings for the <a href="geda-glossary.html" class="wikilink1" title="geda-glossary.html">GTK-HID</a>, or ~/.Xdefaults for the <a href="geda-glossary.html" class="wikilink1" title="geda-glossary.html">Lesstif-HID</a>). Example for such a setting:
</p>
<pre class="code">route-styles = Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:Fat,4000,6000,3500,1000:Skinny,600,2402,1181,600</pre>

<p>
Be sure, to remove any route-style line in ~/.pcb/preferences . Else, the line in settings will be ignored.
</p>

<p>
The line tool knows about different modes to deal with transversal connections. The status line on the bottom of the page tells, which mode is in effect:
</p>
<ol>
<li class="level1"><div class="li"> 45° plus vertical/horizontal (status line: “\_”)</div>
</li>
<li class="level1"><div class="li"> vertical plus 45° (status line: “_/”)</div>
</li>
<li class="level1"><div class="li"> either vertical or 45° (status line: “45”)</div>
</li>
<li class="level1"><div class="li"> arbitrary angle (status line: “all”)</div>
</li>
</ol>

<p>
The way to access these modes differs among the <acronym title="Graphical User Interface">GUI</acronym> versions. The current GTK snapshot (v20060288) defaults to “_/” but can be temporarily turned to “\_” with the <kbd>Shift</kbd> key. You can switch to 45° mode with the slash key <kbd>/</kbd>. For arbitrary angles, press the period key <kbd>.</kbd>, or choose <strong><em>&#039;All-direction&#039; lines</em></strong> in the <strong><em>Setting</em></strong> menu.
</p>

</div>
<!-- EDIT30 SECTION "How do I change the routing style?" [11766-13205] -->
<h1 class="sectionedit31"><a name="routing_issues" id="routing_issues">Routing Issues</a></h1>
<div class="level1">

</div>
<!-- EDIT31 SECTION "Routing Issues" [13206-13236] -->
<h2 class="sectionedit32"><a name="i_got_stuck_how_do_i_go_back" id="i_got_stuck_how_do_i_go_back">I got stuck! How do I go back?</a></h2>
<div class="level2">

<p>
The universal undo key <kbd>U</kbd> works even while in the middle of track layout actions. It will remove the last segment but keep the line tool attached to the mouse. So you can immediately go on routing and find a better way.
</p>

</div>
<!-- EDIT32 SECTION "I got stuck! How do I go back?" [13237-13510] -->
<h2 class="sectionedit33"><a name="how_do_i_move_one_set_of_layer_tracks_to_a_different_layer" id="how_do_i_move_one_set_of_layer_tracks_to_a_different_layer">How do I move one set of layer tracks to a different layer?</a></h2>
<div class="level2">
<ol>
<li class="level1"><div class="li"> Select the tracks. It’s easiest to do this if you shut off everything but that layer first (i.e. silk, pins, other layers, etc).</div>
</li>
<li class="level1"><div class="li"> Now set the current layer to be the new layer. Yes, the layer might get displayed; not a problem as you’ve already selected the tracks you want.</div>
</li>
<li class="level1"><div class="li"> Press <kbd>Shift</kbd>+<kbd>M</kbd> to move all the selected tracks to the current layer.</div>
</li>
</ol>

</div>
<!-- EDIT33 SECTION "How do I move one set of layer tracks to a different layer?" [13511-13952] -->
<h2 class="sectionedit34"><a name="how_do_i_achieve_open_vias_clear_of_soldermask" id="how_do_i_achieve_open_vias_clear_of_soldermask">How do I achieve open vias clear of soldermask</a></h2>
<div class="level2">

<p>
In pcb vias are covered by soldermask by default. You can achieve open vias by setting their clearance value to a proper value. This can be done individually for every object, or collectively for selections of objects.
</p>

<p>
For individual vias:
</p>
<ol>
<li class="level1"><div class="li"> Turn on the soldermask layer. This will make the <kbd>K</kbd> key refer to the soldermask clearance instead of polygon clearance.</div>
</li>
<li class="level1"><div class="li"> Position the mouse above the via (mouse cursor will change in recent versions of pcb)</div>
</li>
<li class="level1"><div class="li"> Type <kbd>K</kbd> several times until soldermask clearance exceeds the diameter of the via pad. Every strike of the key will increase the clearance by 2 mil. The first strike will let the pad of the via pop through the soldermask color. Yet, the actual clearance is only 2 mil at this point. You can decrease the clearance by using the <kbd>Shift</kbd>+<kbd>K</kbd> key.</div>
</li>
</ol>

<p>
For groups of vias:
</p>
<ol>
<li class="level1"><div class="li"> Turn on the solder mask layer.</div>
</li>
<li class="level1"><div class="li"> select the all the vias you want to clear from soldermask. You may switch off all the other layers to conveniently collect exclusively the vias.</div>
</li>
<li class="level1"><div class="li"> Type <kbd>Ctrl</kbd>+<kbd>K</kbd> key several times. <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>K</kbd> will decrease the clearance of all selected objects.</div>
</li>
</ol>

<p>
The command interface provides more control over the actual size of the clearance. Type <kbd>:</kbd> to get the command line window, then type:
</p>
<pre class="code">ChangeClearSize(SelectedVias, &lt;delta&gt;)</pre>

<p>
where <code>&lt;delta&gt;</code> is a size given in 1/100 of a mil. Thus the number 3000 corresponds to 30 mil. Simple integers for <code>&lt;delta&gt;</code> will set the clearance to this value. If the value is preceded by a minus ”-” or a plus ”+” the clearance will be decreased or increased. This also works with <code>SelectedPins</code>, <code>SelectedPads</code>, <code>SelectedLines</code>, <code>SelectedArcs</code> or even <code>SelectedObjects</code>.
</p>

</div>
<!-- EDIT34 SECTION "How do I achieve open vias clear of soldermask" [13953-15744] -->
<h2 class="sectionedit35"><a name="how_do_i_change_the_soldermask_clearance_around_a_hole_pad" id="how_do_i_change_the_soldermask_clearance_around_a_hole_pad">How do I change the soldermask clearance around a hole/pad?</a></h2>
<div class="level2">

<p>
By default holes and pads will be cleared by an amount given in the corresponding footprint file. Sometimes this clearance might not be what your design needs. You can change the clearance on the fly for individual holes and pads just like vias. See the paragraph above for the details. If pad clearance is not compatible with the demands of your pcb-fab you may consider to make local copies of the footprint files and change the clearance accordingly.
</p>

</div>
<!-- EDIT35 SECTION "How do I change the soldermask clearance around a hole/pad?" [15745-16271] -->
<h2 class="sectionedit36"><a name="how_do_i_change_the_size_of_my_tracks" id="how_do_i_change_the_size_of_my_tracks">How do I change the size of my tracks?</a></h2>
<div class="level2">

<p>
There are a number of ways to change the size of already laid down tracks:
</p>
<ol>
<li class="level1"><div class="li"> Use <kbd>S</kbd> and <kbd>Shift</kbd>+<kbd>S</kbd> to increase and decrease the size of the track currently under the mouse cursor.</div>
</li>
<li class="level1"><div class="li"> Choose <strong><em>Select</em></strong> → <strong><em>Change size of selected objects</em></strong> → <strong><em>Lines -10 mil</em></strong> from the <strong><em>Select</em></strong> menu. The actual amount of change can be set in <strong><em>File</em></strong> → <strong><em>Preferences…</em></strong> → <strong>Sizes</strong>. This only acts on the tracks. So the selection may contain components, text, vias and the like.</div>
</li>
<li class="level1"><div class="li"> Select the tracks to be changed and type <strong><code>:ChangeSize(SelectedLines,+4,mils)</code></strong>. The <kbd>:</kbd> key gets you to the command line and <strong><code>ChangeSize()</code></strong> is the command version of the previously described action. Replace “<strong><code>+4</code></strong>” by the amount you want to increase the track size. Use the minus sign to decrease the track size. If you omit the sign the command sets the track size to the value given.</div>
</li>
</ol>

</div>
<!-- EDIT36 SECTION "How do I change the size of my tracks?" [16272-17257] -->
<h2 class="sectionedit37"><a name="how_do_i_drive_a_via_to_connect_a_track_to_a_ground_plane_on_a_different_layer" id="how_do_i_drive_a_via_to_connect_a_track_to_a_ground_plane_on_a_different_layer">How do I drive a via to connect a track to a ground plane on a different layer?</a></h2>
<div class="level2">
<ol>
<li class="level1"><div class="li"> Set the GND plane layer as the active layer.</div>
</li>
<li class="level1"><div class="li"> Select the “via” tool.</div>
</li>
<li class="level1"><div class="li"> Place the via where you want it to live (left click to place).</div>
</li>
<li class="level1"><div class="li"> Now select the “thermal” tool.</div>
</li>
<li class="level1"><div class="li"> Left click on the via you just placed.</div>
</li>
<li class="level1"><div class="li"> Now change the active layer to your desired routing layer.</div>
</li>
<li class="level1"><div class="li"> Select the “line” tool.</div>
</li>
<li class="level1"><div class="li"> Route the track on the active layer to or from the via as usual.</div>
</li>
</ol>

</div>
<!-- EDIT37 SECTION "How do I drive a via to connect a track to a ground plane on a different layer?" [17258-17743] -->
<h2 class="sectionedit38"><a name="what_is_the_easiest_way_to_create_a_thermal_via" id="what_is_the_easiest_way_to_create_a_thermal_via">What is the easiest way to create a &quot;thermal via&quot;?</a></h2>
<div class="level2">

<p>
A “thermal via” is not a via with a thermal relief.  Rather, it&#039;s a via with no thermal relief punched into polygons on both sides of the board.  These vias get filled with solder to help create a large thermal mass to be used as a heat sink.  For more info, see Freescale App-Note AN4005.
</p>

<p>
Here are some suggestions:
</p>
<ul>
<li class="level1"><div class="li"> Draw a rectangle to comfortably surround the vias.  Then, mouse over the rectangle and hit <kbd>S</kbd>.  This will flood the thermal reliefs on the vias.  If you want to ever de-solder the part from the back, make sure the pad on the opposite side has the solder resist cleared.</div>
</li>
<li class="level1"><div class="li"> Just put a normal thermal relief on the via and then shift click on it to cycle through to the one with no relief.</div>
</li>
</ul>

</div>
<!-- EDIT38 SECTION "What is the easiest way to create a thermal via?" [17744-18529] -->
<h2 class="sectionedit39"><a name="i_want_to_draw_a_track_between_two_segments_on_the_same_net_but_pcb_won_t_let_me_why" id="i_want_to_draw_a_track_between_two_segments_on_the_same_net_but_pcb_won_t_let_me_why">I want to draw a track between two segments on the same net, but PCB won&#039;t let me! Why?</a></h2>
<div class="level2">

<p>
You are likely drawing tracks with auto-DRC on. To connect the two segments, here are some suggestions:
</p>
<ul>
<li class="level1"><div class="li"> DRC enforcement uses the ratsnest to determine where a track is allowed to go. Thus, you must have the ratsnest drawn in order to make connections in auto-DRC mode. Otherwise you will not be allowed to connect (or approach) any copper that is not already connected to your net. (If the rat visibility bothers you, you can hide the rats layer – but the rats must exist).</div>
</li>
<li class="level1"><div class="li"> You should also refresh the rats regularly when drawing. Hit <kbd>O</kbd> to redraw/re-optimize the rats. Make sure a rat is visibly connecting the two pieces of metal you want to connect.</div>
</li>
<li class="level1"><div class="li"> It is also possible that you will experience this situation when drawing tracks between pins in a connector. In this case, it is possible that your track width violates the clearance requirements of the pin field. Try decreasing the pin-to-metal clearance, or use a narrower track width.</div>
</li>
<li class="level1"><div class="li"> Sometimes this route-blocking behaviour can come about from an error in your netlist.  Don&#039;t end refdes&#039;s with lower case letters - they&#039;re reserved for gates within devices.  End with upper case or a digit; the lowercase letters are simply ignored.</div>
</li>
</ul>

</div>
<!-- EDIT39 SECTION "I want to draw a track between two segments on the same net, but PCB won't let me! Why?" [18530-19848] -->
<h2 class="sectionedit40"><a name="pcb_won_t_let_me_connect_to_copper_that_is_not_connected_to_anything" id="pcb_won_t_let_me_connect_to_copper_that_is_not_connected_to_anything">PCB won&#039;t let me connect to copper that is not connected to anything!</a></h2>
<div class="level2">

<p>
This is a known weakness of the Auto-enforce-DRC mode. In this mode, the line tool will only allow you to connect to copper with the same net as the place where the track started.
</p>

<p>
There are two ways to connect to unconnected copper, anyway: Obviously, you can temporarily deactivate <strong><em>Auto enforce DRC clearance</em></strong> in the <strong><em>Settings</em></strong> menu. A second way uses the fact that auto-DRC relies on the found flag:
</p>
<ol>
<li class="level1"><div class="li"> enter the “line” mode (<kbd>F2</kbd>).</div>
</li>
<li class="level1"><div class="li"> hover the mouse cursor over the unconnected copper.</div>
</li>
<li class="level1"><div class="li"> press <kbd>F</kbd> to mark it as “found”.</div>
</li>
<li class="level1"><div class="li"> start the line from somewhere else. Both should now be marked with the “found” color and should be connectable.</div>
</li>
</ol>

</div>
<!-- EDIT40 SECTION "PCB won't let me connect to copper that is not connected to anything!" [19849-20608] -->
<h2 class="sectionedit41"><a name="i_want_to_draw_two_vias_very_close_to_each_other_but_pcb_won_t_let_me" id="i_want_to_draw_two_vias_very_close_to_each_other_but_pcb_won_t_let_me">I want to draw two vias very close to each other, but PCB won&#039;t let me!</a></h2>
<div class="level2">

<p>
Unfortunately, older versions of PCB not only prevent you from placing overlapping vias but drop them on load. In December 2010 this overly cautious behavior was fixed. If you really need overlapping vias, you have to install a version of pcb younger than that.
</p>

<p>
The 2011 version of PCB still won&#039;t allow you to place vias so close that their holes overlap. However, it won&#039;t complain if you managed to work-around this restriction. E.g. place tiny vias and increase their size afterwards.
</p>

</div>
<!-- EDIT41 SECTION "I want to draw two vias very close to each other, but PCB won't let me!" [20609-21182] -->
<h2 class="sectionedit42"><a name="pcb_seems_to_munge_my_components_names_and_complains_that_it_can_t_find_proper_nets_for_the_pins_how_come" id="pcb_seems_to_munge_my_components_names_and_complains_that_it_can_t_find_proper_nets_for_the_pins_how_come">PCB seems to munge my components names and complains that it can&#039;t find proper nets for the pins! How come?</a></h2>
<div class="level2">

<p>
Most likely you named them such that PCB believes they are one part. Lower case letters at the end of a refdes are ignored. Thus, the components U2foo and U2bar both look like U2 to pcb. When building the rat nests pcb is will look for nets to U2 that, of course don&#039;t exist. Lower case letters are meant to differentiate slots of a multi-component. E.g. the four opamp symbols of a quad operational amplifier.<br/>

Bottom line: Don&#039;t use lower case letters at the end of a refdes, unless you know what you are doing.
</p>

</div>
<!-- EDIT42 SECTION "PCB seems to munge my components names and complains that it can't find proper nets for the pins! How come?" [21183-21819] -->
<h2 class="sectionedit43"><a name="how_can_i_set_color_and_thickness_of_the_rats_nests" id="how_can_i_set_color_and_thickness_of_the_rats_nests">How can I set color and thickness of the rats nests?</a></h2>
<div class="level2">

<p>
You can set the color of the rats in <strong><em>File</em></strong> → <strong><em>Preferences…</em></strong> → <strong>Colors</strong> → <strong>Main colors</strong>
</p>

<p>
There is currently no <acronym title="Graphical User Interface">GUI</acronym> way to set the rat width, but you can edit your <code>$HOME/.pcb/preferences</code> file manually. Close all instances of pcb and look for the line that starts with <code>rat-thickness</code>.
</p>

<p>
Values 0..19 are fixed width in screen pixels. Anything larger means PCB units (i.e. 100 means “1 mil”). On zoom, PCB unit rats will scale accordingly.
</p>

</div>
<!-- EDIT43 SECTION "How can I set color and thickness of the rats nests?" [21820-22349] -->
<h2 class="sectionedit44"><a name="where_is_that_last_remaining_rat" id="where_is_that_last_remaining_rat">Where is that last remaining rat?</a></h2>
<div class="level2">

<p>
Sometimes remaining rats are hard to see, because they have zero length. This will be the case if a via is missing for some reason. You can make them pop into your eye by setting the rat thickness to some big value e.g. 3000 mil. Rat thickness is set in <code>$HOME/.pcb/preferences</code>.
</p>

</div>
<!-- EDIT44 SECTION "Where is that last remaining rat?" [22350-22678] -->
<h1 class="sectionedit45"><a name="beyond_tracks_and_footprints" id="beyond_tracks_and_footprints">Beyond tracks and footprints</a></h1>
<div class="level1">

</div>
<!-- EDIT45 SECTION "Beyond tracks and footprints" [22679-22721] -->
<h2 class="sectionedit46"><a name="how_do_i_trace_a_drawing_a_print_or_another_pcb" id="how_do_i_trace_a_drawing_a_print_or_another_pcb">How do I trace a drawing, a print, or another PCB?</a></h2>
<div class="level2">

<p>
See the page <a href="http://www.delorie.com/pcb/bg-image.html" class="urlextern" title="http://www.delorie.com/pcb/bg-image.html"  rel="nofollow">http://www.delorie.com/pcb/bg-image.html</a> at DJ Delorie&#039;s PCB HID website.
</p>

<p>
This is a great way to trace hand-drawn artwork or another PCB, say one you made in software with a proprietary format, which you&#039;d now like to &#039;unlock&#039;.  Furthermore, you can use the background image as tool for making board revisions or redesigns.
</p>

<p>
If you don&#039;t like to use PCB confined to the area of the board, i.e. if you want margins around your board, then add them in the GIMP.  I like to make a 1.00000 inch margin around the board.  When you set your PCB size in PCB, you&#039;ll want to add the margin area.  CTRL-M will help you verify the scaling.  Also, the time to correct distortions from your scanner, or from your drawing is before you load it, in the GIMP or the like.
</p>

</div>
<!-- EDIT46 SECTION "How do I trace a drawing, a print, or another PCB?" [22722-23560] -->
<h2 class="sectionedit47"><a name="i_can_t_copy_component_pads_in_a_layout_what_gives" id="i_can_t_copy_component_pads_in_a_layout_what_gives">I can&#039;t copy component pads in a layout.  What gives?</a></h2>
<div class="level2">

<p>
<strong>Question:</strong>  I want to copy a section of my existing layout to another spot.
</p>

<p>
I can select the existing area.  Everything turns pretty blue.
</p>

<p>
“Buffer” → “Copy Selection To Buffer” seems to succeed (no complaints).
</p>

<p>
Then I go to paste the copied area… and all that moves are a couple
of traces and some vias.  The pads I&#039;ve painstakingly created
aren&#039;t copied.   What gives!?!?!?
</p>

<p>
<strong>Answer:</strong>  If the silk layer is off, you can&#039;t copy elements through the paste
buffer.  Weird, but that&#039;s how it works.  Therefore, turn on the silk
layer before trying to copy a section of a layout.
</p>

</div>
<!-- EDIT47 SECTION "I can't copy component pads in a layout.  What gives?" [23561-24214] -->
<h2 class="sectionedit48"><a name="how_do_i_fill_areas_with_copper" id="how_do_i_fill_areas_with_copper">How do I fill areas with copper?</a></h2>
<div class="level2">

<p>
Use rectangles and polygon planes. These items will always avoid vias, pads and pins. Tracks are also avoided, if they have the clear polygons flag set (menu: <strong><em>Settings</em></strong> → <strong><em>New lines, arcs clear polygons</em></strong>). Since version 20070208 of pcb the resulting polygon will be one contiguous piece. Isolated snippets are removed.
</p>

</div>
<!-- EDIT48 SECTION "How do I fill areas with copper?" [24215-24595] -->
<h2 class="sectionedit49"><a name="how_can_i_assign_my_polygon_to_a_net" id="how_can_i_assign_my_polygon_to_a_net">How can I assign my polygon to a net?</a></h2>
<div class="level2">

<p>
Polygons are not “assigned” to nets, they&#039;re connected to them. Pads are the only carriers of netnames in pcb. This means, you need to design some copper to connect the polygon with a pad. The net of the pad automatically transfers to the polygon.
</p>

</div>
<!-- EDIT49 SECTION "How can I assign my polygon to a net?" [24596-24898] -->
<h2 class="sectionedit50"><a name="how_can_i_connect_tracks_pads_or_vias_to_my_polygon" id="how_can_i_connect_tracks_pads_or_vias_to_my_polygon">How can I connect tracks, pads, or vias to my polygon?</a></h2>
<div class="level2">

<p>
There are different ways to adequately connect different types of objects to a polygon:
</p>
<ul>
<li class="level1"><div class="li"> tracks: Set the join flag of the track. You can do this with the <kbd>J</kbd> key, while the mouse hovers above the track. Alternatively you can select the lines and apply the command “SetFlag(selected,join)”. For new lines, you can uncheck the <strong><em>New lines, arcs clear polygons</em></strong> in the <strong><em>Settings</em></strong> menu. The polygon will immediately flow into the track.</div>
</li>
<li class="level1"><div class="li"> pads: Currently, there is no way to directly connect a polygon to a pad. Draw a track without the join flag from the pad to the polygon. (see above)</div>
</li>
<li class="level1"><div class="li"> pins and vias: Choose the thermal tool (“THRM”). Select the layer the polygon sits on. Shift-Click on the via to circle through the available styles of the connection.</div>
</li>
<li class="level1"><div class="li"> polygons: Just define them geometrically overlapping.</div>
</li>
</ul>

</div>
<!-- EDIT50 SECTION "How can I connect tracks, pads, or vias to my polygon?" [24899-25805] -->
<h2 class="sectionedit51"><a name="the_polygons_are_shorting_my_tracks_what_can_i_do_about_it" id="the_polygons_are_shorting_my_tracks_what_can_i_do_about_it">The polygons are shorting my tracks! What can I do about it?</a></h2>
<div class="level2">

<p>
You didn&#039;t have <strong><em>New lines, arcs clear polygons</em></strong> checked in the <strong><em>Settings</em></strong> menu when you layed down the tracks. Enter <code>changejoin(selected)</code> in the command window to toggle this flag for all tracks that are currently selected. The keyboard shortcut to this action is <kbd>Shift</kbd>+<kbd>J</kbd>.
If you want to set or clear the join flag rather than toggle it, you can use
the commands <code>SetFlag(selected, join)</code> and  <code>ClrFlag(selected, join)</code>. See
the SetFlag description in the <a href="http://pcb.geda-project.org/pcb-cvs/pcb.html#SetFlag-Action" class="urlextern" title="http://pcb.geda-project.org/pcb-cvs/pcb.html#SetFlag-Action"  rel="nofollow">pcb manual</a> for more details on these commands.
</p>

</div>
<!-- EDIT51 SECTION "The polygons are shorting my tracks! What can I do about it?" [25806-26479] -->
<h2 class="sectionedit52"><a name="how_do_i_change_polygon_clearance" id="how_do_i_change_polygon_clearance">How do I change polygon clearance?</a></h2>
<div class="level2">

<p>
In pcb, the polygon itself has no built-in clearance. It is the tracks, pads and pins that bear this property. This means, you can adjust the clearance individually:
</p>

<p>
Make sure, the soldermask layer is not active. Else the following will apply to the soldermask rather than to the polygon. Press <kbd>K</kbd> to increase the clearance of the object under the cursor. Use <kbd>Ctrl</kbd>+<kbd>K</kbd> to increase the clearance of selected objects. Add the <kbd>Shift</kbd> modifier to decrease the clearance. To change a whole track press <kbd>F</kbd> to find all segments that are connected to the object under the cursor and apply the action <code>select(connection)</code>.
</p>

<p>
The amount of the increment can be configured in the dialog <strong><em>File</em></strong> → <strong><em>Preferences…</em></strong> → <strong>Increments</strong>. (Note, this setting is currently ignored)
</p>

<p>
The above only applies to one object at a time. You can manipulate the clearance of all selected objects with the action <code>ChangeClearSize(Selected,&lt;amount&gt;,&lt;unit&gt;)</code>. The parameter <code>&lt;amount&gt;</code> should be a number. A prefixed sign means increment, or decrement. A prefixed <code>=</code> sets the clearance to the following value. The parameter can be <code>mil</code> or <code>mm</code>. If not specified the units will default to the internal unit of 0.01 mil.
</p>

<p>
In addition, there is a special action that acts only on objects with clearance below a given minimum: <code>MinClearGap(Selected,&lt;amount&gt;,&lt;unit&gt;)</code>.
</p>

</div>
<!-- EDIT52 SECTION "How do I change polygon clearance?" [26480-27928] -->
<h2 class="sectionedit53"><a name="how_do_i_hide_the_polygons_while_i_edit_the_layout" id="how_do_i_hide_the_polygons_while_i_edit_the_layout">How do I hide the polygons while I edit the layout?</a></h2>
<div class="level2">

<p>
Put the polygons (and rectangles) on a separate layer. Use the <strong>Preferences…</strong> dialog to make sure, this layer is not in the same group as the tracks. Disable the layer by a click on the corresponding layer button in the main window. After you are finished with the changes, use the <strong>Preferences…</strong> dialog to let the polygon layer join the layer of the tracks. You will have to save and reload the layout to trigger recalculation of polygons so they are adapted to your edits. Alternatively a restart will recalculate the polygons too.
</p>

</div>
<!-- EDIT53 SECTION "How do I hide the polygons while I edit the layout?" [27929-28535] -->
<h2 class="sectionedit54"><a name="polygons_are_making_the_gui_sluggish_what_i_can_do_about_it" id="polygons_are_making_the_gui_sluggish_what_i_can_do_about_it">Polygons are making the GUI sluggish. What I can do about it?</a></h2>
<div class="level2">

<p>
Parts of the polygon that are not connected to some net are automatically eliminated. This effectively removes <a href="geda-glossary.html" class="wikilink1" title="geda-glossary.html">dead copper</a>. While this is desirable for the actual board, it requires calculation of quite extensive algorithms. So it is not necessarily a bug, but a price to be paid for a powerful feature. Still, there is a couple of things you can do to improve the situation:
</p>
<ul>
<li class="level1"><div class="li"> Temporarily hide the polygons. (see above)</div>
</li>
<li class="level1"><div class="li"> Choose <strong><em>Thin draw poly</em></strong> from the <strong><em>Settings</em></strong> menu to display only the outlines of the polygons and disable dead copper removal. In recent versions of gschem, i.e. later than September 2007, you can select through the polygons.</div>
</li>
<li class="level1"><div class="li"> Make sure, you don&#039;t have redundant polygons defined, which multiply overlay the same area. These polygons won&#039;t display because they shade each other. But they demand calculation resources. The best way to check for redundant polygons is to edit the source of your layout with an ascii editor.</div>
</li>
</ul>

</div>
<!-- EDIT54 SECTION "Polygons are making the GUI sluggish. What I can do about it?" [28536-29592] -->
<h2 class="sectionedit55"><a name="after_i_defined_those_ground_planes_pcb_takes_ages_to_load_how_come" id="after_i_defined_those_ground_planes_pcb_takes_ages_to_load_how_come">After I defined those ground planes, pcb takes ages to load. How come?</a></h2>
<div class="level2">

<p>
Polygon calculation is potentially an expensive operation in terms of processor cycles. Unless your layout is pretty complex, you most likely have redundant polygons defined. Look into the source of your layout to find and delete unnecessary polygons. If this does not apply, see above for possible measures to ameliorate the situation.
</p>

</div>
<!-- EDIT55 SECTION "After I defined those ground planes, pcb takes ages to load. How come?" [29593-30013] -->
<h2 class="sectionedit56"><a name="how_do_i_edit_polygons" id="how_do_i_edit_polygons">How do I edit polygons?</a></h2>
<div class="level2">

<p>
There are four basic ways to edit polygon outlines. You can move and delete vertices and you can insert vertices using two techniques. Polygons can be edited equally well in “thin line draw” mode (<strong><em>Settings</em></strong> → <strong><em>Thin draw poly</em></strong>) or in normal mode. Moving a vertex is easily accomplished by un-selecting your polygon and then clicking and dragging that vertex to a new location. To delete a vertex, a corner in your polygon, put your crosshairs over the point and hit <kbd>Delete</kbd> on the keyboard. To insert a vertex, you’ll use the insert tool (<kbd>Insert</kbd> keystroke). Start by clicking the edge you want to split with a new point. Click and drag a new point into the polygon. A variation on this technique is 1) click to select, followed by 2) click to place new vertex.
</p>

<p>
(NOTE: Inserting points into polygon will generally work ONLY with “all direction lines” enabled (<strong><em>Settings</em></strong> → <strong><em>&#039;All direction&#039; lines</em></strong>). This is because PCB has a powerful 45/90 degree constraints system. If you try to insert new vertices into a polygon that don’t fall onto lines of proper 45 and 90 degree constraints, PCB disallows the action!)
</p>

</div>
<!-- EDIT56 SECTION "How do I edit polygons?" [30014-31219] -->
<h2 class="sectionedit57"><a name="how_do_i_place_vias_that_connect_to_a_polygon_for_full_thermal_dissipation_or_full_shielding_integrity" id="how_do_i_place_vias_that_connect_to_a_polygon_for_full_thermal_dissipation_or_full_shielding_integrity">How do I place vias that connect to a polygon for full thermal dissipation or full shielding integrity?</a></h2>
<div class="level2">

<p>
Often it’s useful to have vias connect completely to a polygon (a field of copper) for heat transfer – the apparent problem is that PCB polygons have only a single “clear pins/vias” flag for the entire polygon (toggled by the <kbd>S</kbd> key). Our goal is to only connect some of the pins/vias to the polygon, but to connect them better than a thermal does. Here are a few ways to do this:
</p>

<p>
One way, you’ll make an object that’s almost just like a thermal in that it goes between your via and the polygon – the difference is that you’ll actually create an annulus to completely fill the space between the hole and polygon (which because it’s clearance is turned on, is not connected to the pin). This annulus is four arc segments. You can copy these four items to the buffer to create a “zero-clearance thermal tool”. The drawback of this trick is that when you change via size, you’ll also have to modify the size of these filler parts.
</p>

<p>
The arcs allow you to use this fill trick in tight places by only placing, say two of the four arcs.
</p>

<p>
Another trick is to make a zero-length line. Take a single line segment and move the end-point on top of the start-point. Now you have a “single point line” (a circle) with the diameter equal to the line thickness. Move to different layers (<kbd>M</kbd> key) as you see fit. Place this object centered on your via to connect it to a polygon.
</p>

<p>
Power-users may want to keep a small custom library of these parts by saving them as elements. It’s also handy to put these “parts” in one of your PCB buffers so they’re at your fingertips.
</p>

<p>
You can also add another polygon on-top of the polygon to which you want to connect you vias. You’ll un-set the “clear pins/vias” flag and the vias will be connected to the larger polygon underneath.
</p>

</div>
<!-- EDIT57 SECTION "How do I place vias that connect to a polygon for full thermal dissipation or full shielding integrity?" [31220-33145] -->
<h2 class="sectionedit58"><a name="can_polygons_be_un-masked_can_a_polygon_be_made_bare-copper_with_no_solder_mask" id="can_polygons_be_un-masked_can_a_polygon_be_made_bare-copper_with_no_solder_mask">Can polygons be un-masked? (Can a polygon be made bare-copper with no solder mask?)</a></h2>
<div class="level2">

<p>
Currently, there is no way to directly make polygons clear solder mask. The usual workaround is to work with pads.
</p>
<ol>
<li class="level1"><div class="li"> Draw a track in the middle of the desired no solder mask area. Every track will become a pad.</div>
</li>
<li class="level1"><div class="li"> Select the tracks</div>
</li>
<li class="level1"><div class="li"> Do <strong><em>Convert selection to element</em></strong> from the <strong><em>Select</em></strong> menu</div>
</li>
<li class="level1"><div class="li"> Activate the solder mask layer. The solder mask should keep clear of the tracks</div>
</li>
<li class="level1"><div class="li"> Increase the clearance of the pads to match the desired bare copper area. To do this, press <kbd>K</kbd> while the mouse cursor hovers above the pads.</div>
</li>
<li class="level1"><div class="li"> Optionally press <kbd>Q</kbd> to set the square flag of the pads.</div>
</li>
</ol>

<p>
While the pad width is limited to 250 mil, clearance can be arbitrary.
</p>

</div>
<!-- EDIT58 SECTION "Can polygons be un-masked? (Can a polygon be made bare-copper with no solder mask?)" [33146-33930] -->
<h2 class="sectionedit59"><a name="how_can_i_increase_the_size_of_all_pins" id="how_can_i_increase_the_size_of_all_pins">How can I increase the size of all pins?</a></h2>
<div class="level2">

<p>
This is a two step process. First select the objects you want to manipulate. Then act on the selection:
</p>
<ol>
<li class="level1"><div class="li"> select all components. You may shut off all layers except silk so the select tool doesn&#039;t catch tracks.</div>
</li>
<li class="level1"><div class="li"> from the menu choose <strong><em>Select</em></strong> → <strong><em>Change size of selected objects</em></strong> → <strong><em>Pins +10 mil</em></strong></div>
</li>
</ol>

<p>
You may rip off the sub menu at the dashed line to make it stay on the screen for convenient repeated application.
</p>

<p>
Alternatively, issue the ChangeSize action with the command tool:
</p>
<ul>
<li class="level1"><div class="li"> Type <kbd>:</kbd> to open the command line.</div>
</li>
<li class="level1"><div class="li"> In the command line type:</div>
</li>
</ul>
<pre class="code">ChangeSize(SelectedPins, SIZE)</pre>

<p>
Replace SIZE with the desired size, given in 1/100 mil. 1mm = 3937. If SIZE is
prefixed by ”-” the size is decreased. If the prefix is ”+”, the size is
increased. If there is no sign, it is interpreted as an absolute value. Refer
to the <a href="http://pcb.geda-project.org/pcb-cvs/pcb.html#ChangeSize-Action" class="urlextern" title="http://pcb.geda-project.org/pcb-cvs/pcb.html#ChangeSize-Action"  rel="nofollow">pcb manual</a> for the syntax of the ChangeSize action.
</p>

</div>
<!-- EDIT59 SECTION "How can I increase the size of all pins?" [33931-34970] -->
<h2 class="sectionedit60"><a name="how_do_i_place_mounting_holes" id="how_do_i_place_mounting_holes">How do I place mounting holes?</a></h2>
<div class="level2">

<p>
Use a footprint for the mounting hole or place a via.
</p>

<p>
If the pads surrounding the mounting hole need to be electrically connected then you should show the connection in your schematic. Add a symbol for the mounting hole and change its footprint attribute.
</p>

<p>
My preference is to create PCB footprints for the various types of mounting hardware. I have a variety of silkscreens for various hardware combinations (hex nut, hex nut with washer, etc.) The silkscreen provides a convenient placement reference during PCB layout.
</p>

<p>
For footprint examples see <a href="http://www.luciani.org/geda/pcb/pcb-footprint-list.html#Hardware" class="urlextern" title="http://www.luciani.org/geda/pcb/pcb-footprint-list.html#Hardware"  rel="nofollow">http://www.luciani.org/geda/pcb/pcb-footprint-list.html#Hardware</a>.
</p>

</div>
<!-- EDIT60 SECTION "How do I place mounting holes?" [34971-35635] -->
<h2 class="sectionedit61"><a name="why_is_it_possible_to_make_a_thermal_for_pin_but_not_for_a_pad" id="why_is_it_possible_to_make_a_thermal_for_pin_but_not_for_a_pad">Why is it possible to make a thermal for pin, but not for a pad?</a></h2>
<div class="level2">

<p>
The reason is that pins usually have sufficient spacing that the plane surrounding them remains intact on all sides and pads usually are so tightly spaced that they do not. Because of this you must manually draw the thermal “fingers” to connect the pad to the ground plane. Be sure that you have the settings such that new lines connect to planes when you draw them. If you need to make several such thermals, spend a little time making the first one just the way you want then copy the fingers to the buffer and paste it where you want the others.
</p>

</div>
<!-- EDIT61 SECTION "Why is it possible to make a thermal for pin, but not for a pad?" [35636-36267] -->
<h2 class="sectionedit62"><a name="can_pcb_be_used_to_make_single_layer_boards" id="can_pcb_be_used_to_make_single_layer_boards">Can PCB be used to make single layer boards?</a></h2>
<div class="level2">

<p>
It&#039;s all just names when you&#039;re doing single sided.  There&#039;s no such
thing as a single sided board in pcb - just a double sided board with nothing
on one side.
</p>

<p>
Design for two-sided, but with all the traces on the solder side. If you use
the autorouter, turn off all but the bottom layer. This will make the autorouter
stick to that layer. If you need wire jumpers, you have two options to let pcb know
there is a valid connection: You can draw tracks on top layer similar to a two layer
layout. Alternatively you can Create a “jumper” symbol in the schematic and put that
in places where you need a jumper. This is likely to be a major pain, but you can
enforce dimensions of the jumpers this way if you care.
</p>

<p>
Single sided boards do not have plated holes, so pad diameter for pins must be
greater, usually two to three times the drill size. Some footprints in the default
library have very small pads which will be too weak if used for single sided board.
Tweak them to your needs and place them in a local library.
</p>

<p>
When you dump your gerbers, delete the component side one and rename
the plated-holes one to unplated-holes.  Voila!  A single sided board.
</p>

</div>
<!-- EDIT62 SECTION "Can PCB be used to make single layer boards?" [36268-37489] -->
<h2 class="sectionedit63"><a name="what_resources_exist_to_process_pcb_files_using_scripts" id="what_resources_exist_to_process_pcb_files_using_scripts">What resources exist to process PCB files using scripts?</a></h2>
<div class="level2">

<p>
One of PCB&#039;s great features is that it uses an easily understood <acronym title="American Standard Code for Information Interchange">ASCII</acronym> file format.  Therefore, many people use scripts (commonly <acronym title="Practical Extraction and Report Language">Perl</acronym>) to process their boards in various ways.  You can use these scripts either as they are, or modify them to suit your own goals.  Here are some links to available scripts:
</p>
<ol>
<li class="level1"><div class="li"> John Luciani has a large number of <a href="http://www.luciani.org/geda/pcb/pcb-perl-library.html" class="urlextern" title="http://www.luciani.org/geda/pcb/pcb-perl-library.html"  rel="nofollow">scripts</a> available on <a href="http://www.luciani.org/" class="urlextern" title="http://www.luciani.org"  rel="nofollow"> his website</a>.  Included in his collection are scripts for generating footprints, as well as</div>
</li>
<li class="level1"><div class="li"> David Rowe has scripts for updating elements as well as adding/subtracting PCB files from each other on <a href="http://www.rowetel.com/perl4pcb.html" class="urlextern" title="http://www.rowetel.com/perl4pcb.html"  rel="nofollow">his website.</a></div>
</li>
<li class="level1"><div class="li"> The website <a href="http://www.gedasymbols.org/" class="urlextern" title="http://www.gedasymbols.org/"  rel="nofollow"> gedasymbols.org</a> has gathered a collection of footprints, symbols, scripts, and other materials from many different gEDA contributors.  The website is organized by contributor, so if you take the time to browse around there, you may find exactly what you are looking for!</div>
</li>
</ol>

</div>
<!-- EDIT63 SECTION "What resources exist to process PCB files using scripts?" [37490-38773] -->
<h2 class="sectionedit64"><a name="how_do_i_import_external_vector_graphics" id="how_do_i_import_external_vector_graphics">How do I import external vector graphics?</a></h2>
<div class="level2">

<p>
There is a third party open source utility called <a href="http://www.pstoedit.net/" class="urlextern" title="http://www.pstoedit.net/"  rel="nofollow">pstoedit</a> that converts postscript data to pcb format. It is included in most major Linux distributions. You can use your favorite vector graphics utility to produce a logo or any kind of fancy layout. Export as eps if you can and make sure that your logo fits into the bounding box (check with a postscript viewer such as ggv). If there is no eps export available, you can produce postscript by printing to a file. In this case you may add a bounding   box with <a href="http://www.cs.wisc.edu/~ghost/doc/gnu/6.53/Ps2epsi.htm" class="urlextern" title="http://www.cs.wisc.edu/~ghost/doc/gnu/6.53/Ps2epsi.htm"  rel="nofollow">ps2epsi</a>. Call pstoedit with the option ”<code>-f pcb</code>” to produce a valid pcb file that contains the graphics as tracks on layer 1. Load this file to pcb. The graphics will sit somewhere on the lower left of the view port. You may have to zoom out to get it on the screen.
</p>

<p>
Import of external vector graphics is useful if an irregular shape of the pcb is required. Use the cut buffer to copy the shape to your actual design.
</p>

</div>
<!-- EDIT64 SECTION "How do I import external vector graphics?" [38774-39851] -->
<h2 class="sectionedit65"><a name="is_there_a_way_to_import_a_dxf_drawing_from_mechanical_cad_applications" id="is_there_a_way_to_import_a_dxf_drawing_from_mechanical_cad_applications">Is there a way to import a DXF drawing from mechanical CAD applications?</a></h2>
<div class="level2">

<p>
There is no import filter to directly load a DXF file to pcb. However, the open source application <a href="http://www.qcad.org/" class="urlextern" title="http://www.qcad.org"  rel="nofollow">qcad</a> can open DXF files and export them as postscript. The tool pstoedit can turn this postscript file into a format readable by pcb (see above).
</p>

</div>
<!-- EDIT65 SECTION "Is there a way to import a DXF drawing from mechanical CAD applications?" [39852-40206] -->
<h2 class="sectionedit66"><a name="what_is_the_best_way_to_do_weird_footprints" id="what_is_the_best_way_to_do_weird_footprints">What is the best way to do weird footprints?</a></h2>
<div class="level2">

<p>
Sometimes footprints call for shapes that are difficult to achieve with the restricted graphics <acronym title="Graphical User Interface">GUI</acronym> of pcb. It may be easier to start with the vector drawing application inkscape and convert to pcb.
In inkscape:
</p>
<ul>
<li class="level1"><div class="li"> draw the weird shape with lines. Lines don&#039;t have to be straight.</div>
</li>
<li class="level1"><div class="li"> save as eps (uncheck “make bounding box around page”)</div>
</li>
</ul>

<p>
Convert to pcb format:
</p>
<ul>
<li class="level1"><div class="li"> pstoedit -f pcb &gt; footprint.pcb</div>
</li>
</ul>

<p>
In pcb do:
</p>
<ul>
<li class="level1"><div class="li"> <strong><em>File</em></strong> → <strong><em>Load layout data to paste-buffer</em></strong></div>
</li>
<li class="level1"><div class="li"> edit to your needs (lines only, no polygons)</div>
</li>
<li class="level1"><div class="li"> select the bunch of lines</div>
</li>
<li class="level1"><div class="li"> copy to buffer ( ctrl-c )</div>
</li>
<li class="level1"><div class="li"> <strong><em>Buffer</em></strong> → <strong><em>Convert buffer to element</em></strong></div>
</li>
<li class="level1"><div class="li"> <strong><em>Buffer</em></strong> → <strong><em>Save buffer elements to file</em></strong></div>
</li>
</ul>

<p>
In a text editor:
</p>
<ul>
<li class="level1"><div class="li"> add the same pin number to all the lines with search and replace</div>
</li>
<li class="level1"><div class="li"> save as *.fp at a place where pcb is looking for footprint libraries</div>
</li>
</ul>

</div>
<!-- EDIT66 SECTION "What is the best way to do weird footprints?" [40207-41122] -->
<h2 class="sectionedit67"><a name="how_do_i_attach_a_name_to_my_layout" id="how_do_i_attach_a_name_to_my_layout">How Do I attach a name to my layout?</a></h2>
<div class="level2">

<p>
You can set the name of the current pcb with menu <strong><em>Edit</em></strong> → <strong><em>Edit name of</em></strong> → <strong><em>layout</em></strong>. This sets the title attribute of the layout. This attribute is used for the export actions. It does not interfere with the file name.
</p>

</div>
<!-- EDIT67 SECTION "How Do I attach a name to my layout?" [41123-41414] -->
<h2 class="sectionedit68"><a name="is_there_a_way_to_do_multiple_instances_of_a_subcircuits" id="is_there_a_way_to_do_multiple_instances_of_a_subcircuits">Is there a way to do multiple instances of a subcircuits?</a></h2>
<div class="level2">

<p>
The <acronym title="Graphical User Interface">GUI</acronym> provides no way to do similar subcircuits automatically. You can copy groups of tracks and vias. However, you have to place the footprints manually. Deactivate <strong><em>Auto enforce DRC clearance</em></strong> in the <strong><em>Settings</em></strong> menu during placement. Else pcb won&#039;t let you connect the footprints with the copied tracks and vias.
</p>

<p>
John Luciani wrote a pair of perl scripts that can do better than that. The script sch-matrix places multiple copies of a basic block on the sheet. It increments the numbers and positions of the symbols as needed. The layout script pcb-matrix arranges multiple copies of a sample layout in a matrix way. The result is a matching pair of schematic and layout with a subcircuit repeated multiple times. See <a href="http://www.luciani.org/geda/util/matrix/index.html" class="urlextern" title="http://www.luciani.org/geda/util/matrix/index.html"  rel="nofollow">Johns website</a> for the details and a download of the scripts.
</p>

<p>
The pair of scripts was written a few years ago and is not used regularly. They may need to be updated when used with recent versions of pcb.
Contribution of bug reports and/or patches are welcome.
</p>

</div>
<!-- EDIT68 SECTION "Is there a way to do multiple instances of a subcircuits?" [41415-42535] -->
<h2 class="sectionedit69"><a name="can_i_overlay_a_bitmap_in_the_background" id="can_i_overlay_a_bitmap_in_the_background">Can I overlay a bitmap in the background?</a></h2>
<div class="level2">

<p>
There is a special option to put a bitmap graphic in the background of the canvas. The image can be in jpg, png, or ppm format. Use gimp, or any other image manipulation program to make the image look hazy so it does not interfere too much with the actual layout colors. Call PCB like this:
</p>
<pre class="code">$ pcb --bg-image background.png layout.pcb</pre>

<p>
The image will be scaled to the size of the canvas. See
the <a href="http://www.delorie.com/pcb/bg-image.html" class="urlextern" title="http://www.delorie.com/pcb/bg-image.html"  rel="nofollow">howto page by DJ Delorie</a> for a screenshot of pcb with background image.
</p>

</div>
<!-- EDIT69 SECTION "Can I overlay a bitmap in the background?" [42536-43114] -->
<h1 class="sectionedit70"><a name="auto_router" id="auto_router">Auto Router</a></h1>
<div class="level1">

</div>
<!-- EDIT70 SECTION "Auto Router" [43115-43144] -->
<h2 class="sectionedit71"><a name="how_do_i_make_the_most_of_the_auto_router" id="how_do_i_make_the_most_of_the_auto_router">How do I make the most of the auto router?</a></h2>
<div class="level2">
<ol>
<li class="level1"><div class="li"> Turn off visibility of any layers you don&#039;t want the router using.</div>
</li>
<li class="level1"><div class="li"> Turn off via visibility if you don&#039;t want it to introduce any new vias.</div>
</li>
<li class="level1"><div class="li"> Use only plain rectangles for power/ground planes that you want the router to use. (Use the rectangle tool rather than the polygon tool!)</div>
</li>
<li class="level1"><div class="li"> Make at least one connection from any plane you want the router to use to the net you want it to connect to.</div>
</li>
<li class="level1"><div class="li"> Draw continuous lines on all routing layers to outline keep-out zones.</div>
</li>
<li class="level1"><div class="li"> Use routing styles in the netlist to have per-net routing styles.</div>
</li>
<li class="level1"><div class="li"> Set the current routing style for any nets not having a defined route style in the netlist.</div>
</li>
<li class="level1"><div class="li"> Disable any nets that you don&#039;t want the autorouter to route – double-click them in the  netlist window to add/remove the “*”.</div>
</li>
<li class="level1"><div class="li"> Create a fresh rat&#039;s nest. (press the <kbd>O</kbd> key)</div>
</li>
<li class="level1"><div class="li"> Select <strong><em>Show autorouter trials</em></strong> in the <strong><em>Settings</em></strong> menu if you want to watch what&#039;s happening.</div>
</li>
<li class="level1"><div class="li"> Choose <strong><em>Auto-route all rats</em></strong> in the <strong><em>Connects</em></strong> menu.</div>
</li>
</ol>

<p>
Note on disabled nets: If you will be manually routing these later not using planes, it is usually better to let the autorouter route them then rip them up yourself afterwards. If you plan to use a ground/power plane manually, consider making it from one or more pure rectangles and letting the autorouter have a go at it.
</p>

<p>
If you really want to muck with the router because you have a special design, e.g. all through-hole components you can mess with layer directional
costs by editing the autoroute.c source file and changing the directional costs in lines 929-940 and try again. Even more mucking about with costs is possible in lines 4540-4569, but it&#039;s probably not such a good idea unless you really just want to experiment.
</p>

</div>
<!-- EDIT71 SECTION "How do I make the most of the auto router?" [43145-44948] -->
<h2 class="sectionedit72"><a name="how_do_i_force_the_autorouter_to_only_put_traces_on_a_particular_layer" id="how_do_i_force_the_autorouter_to_only_put_traces_on_a_particular_layer">How do I force the autorouter to only put traces on a particular layer?</a></h2>
<div class="level2">

<p>
Just unselect the layers you don’t want (usually green and blue) by clicking on the name of the layer, then press autoroute.
</p>

</div>
<!-- EDIT72 SECTION "How do I force the autorouter to only put traces on a particular layer?" [44949-45160] -->
<h2 class="sectionedit73"><a name="how_do_i_make_autorouter_leave_particular_nets_alone" id="how_do_i_make_autorouter_leave_particular_nets_alone">How do I make autorouter leave particular nets alone?</a></h2>
<div class="level2">

<p>
Open up the netlist window.  It has options for including or excluding nets from the ratlist. If you use the GTK-HID double-click a route to disable it. Make sure, only the nets you want are enabled. Optimize the rats with key <kbd>O</kbd>.  Do <strong><em>Auto-route all rats</em></strong>.
</p>

</div>
<!-- EDIT73 SECTION "How do I make autorouter leave particular nets alone?" [45161-45501] -->
<h2 class="sectionedit74"><a name="how_do_i_force_the_autorouter_to_route_only_within_my_pcb_outline" id="how_do_i_force_the_autorouter_to_route_only_within_my_pcb_outline">How do I force the autorouter to route only within my pcb outline?</a></h2>
<div class="level2">

<p>
You can have the autorouter work only within a given area by drawing a copper polygon conforming to your board’s boundary and placing it in each layer you’re trying to autoroute. You can also use this trick to autoroute only with small areas. Of course, if you accidentally have a net touching the polygon, all routes will get shorted to that net.
</p>

</div>
<!-- EDIT74 SECTION "How do I force the autorouter to route only within my pcb outline?" [45502-45933] -->
<h2 class="sectionedit75"><a name="how_do_i_route_power_and_ground_planes_with_the_autorouter" id="how_do_i_route_power_and_ground_planes_with_the_autorouter">How do I route power and ground planes with the autorouter?</a></h2>
<div class="level2">

<p>
Connect the polygon that will become your power planes to a net and the autorouter will figure it all out. You may need some trick polygon clearances to get power routing <em class="u">and</em> routing within a board outline.
</p>

</div>
<!-- EDIT75 SECTION "How do I route power and ground planes with the autorouter?" [45934-46217] -->
<h2 class="sectionedit76"><a name="the_layout_produced_by_the_autorouter_is_inefficient" id="the_layout_produced_by_the_autorouter_is_inefficient">The layout produced by the autorouter is inefficient!</a></h2>
<div class="level2">

<p>
This is a technological limitation of the current auto router. It is gridless and uses geometric rectangles only.
</p>

</div>
<!-- EDIT76 SECTION "The layout produced by the autorouter is inefficient!" [46218-46398] -->
<h2 class="sectionedit77"><a name="the_layout_produced_by_the_autorouter_is_ugly" id="the_layout_produced_by_the_autorouter_is_ugly">The layout produced by the autorouter is ugly!</a></h2>
<div class="level2">

<p>
Have you tried the various clean-up tools under <strong><em>Connects</em></strong> → <strong><em>Optimize routed tracks</em></strong>?
</p>

</div>
<!-- EDIT77 SECTION "The layout produced by the autorouter is ugly!" [46399-46559] -->
<h1 class="sectionedit78"><a name="gerber_files_prints_and_other_i_o_issues" id="gerber_files_prints_and_other_i_o_issues">Gerber files, prints and other I/O issues</a></h1>
<div class="level1">

</div>
<!-- EDIT78 SECTION "Gerber files, prints and other I/O issues" [46560-46616] -->
<h2 class="sectionedit79"><a name="is_is_possible_to_produce_output_without_gui_intervention" id="is_is_possible_to_produce_output_without_gui_intervention">Is is possible to produce output without GUI intervention?</a></h2>
<div class="level2">

<p>
Yes, you can tell pcb on the command line to do an export. All the parameters set in the print dialog can be used in the command line too. Some simple examples:
</p>

<p>
Gerber files:
</p>
<pre class="code">pcb -x gerber --gerberfile BOARD BOARD.pcb</pre>

<p>
Encapsulated Postscript:
</p>
<pre class="code">pcb -x eps --eps-file BOARD.eps</pre>

<p>
Multi page formated Postscript print:
</p>
<pre class="code">pcb -x ps --psfile BOARD.ps BOARD.pcb</pre>

<p>
<acronym title="Portable Network Graphics">PNG</acronym> format:
</p>
<pre class="code">pcb -x png --dpi 300 --only-visible --outfile BOARD.png BOARD.pcb</pre>

<p>
Different output procedures allow for different options. See the output of <code>pcb --help</code> for details.
</p>

</div>
<!-- EDIT79 SECTION "Is is possible to produce output without GUI intervention?" [46617-47302] -->
<h2 class="sectionedit80"><a name="how_can_i_print_specific_layers_only" id="how_can_i_print_specific_layers_only">How can I print specific layers only?</a></h2>
<div class="level2">

<p>
In the <acronym title="Graphical User Interface">GUI</acronym>:
</p>
<ul>
<li class="level1"><div class="li"> deactivate all layers you don&#039;t want to print</div>
</li>
<li class="level1"><div class="li"> choose <strong><em>File</em></strong> → <strong><em>Export layout…</em></strong> → <strong>eps</strong></div>
</li>
<li class="level1"><div class="li"> check <strong>as-shown</strong></div>
</li>
</ul>

<p>
From the command line:
</p>
<pre class="code">pcb -x eps \
  --layer-stack &quot;outline,top,silk&quot; \
  --as-shown \
  --eps-file &quot;foobar.eps&quot; BOARD.pcb</pre>

<p>
The layer-stack string can contain a comma separated list of the layers used in the <acronym title="Graphical User Interface">GUI</acronym>. You have to give the option ”--as-shown”. Else, a default layer stack file will be used. In addition there are a number of tokens that are technically no layers  like “pins”, or “invisible”. If you put an unknown token in the layer-stack string, pcb responds with a list of known layer names.
</p>

</div>
<!-- EDIT80 SECTION "How can I print specific layers only?" [47303-48027] -->
<h2 class="sectionedit81"><a name="how_can_i_print_the_bottom_side_of_the_board" id="how_can_i_print_the_bottom_side_of_the_board">How can I print the bottom side of the board?</a></h2>
<div class="level2">

<p>
From the command line: Add “solderside” to the layer-stack string of the print command. Example:
</p>
<pre class="code">  pcb -x eps --layer-stack &quot;silk,solderside&quot; \
     --as-shown \
     --eps-file &quot;/tmp/foobar.eps&quot; BOARD.pcb</pre>

</div>
<!-- EDIT81 SECTION "How can I print the bottom side of the board?" [48028-48307] -->
<h2 class="sectionedit82"><a name="how_do_i_make_a_board_outline_to_go_with_my_gerbers_to_the_board_maker" id="how_do_i_make_a_board_outline_to_go_with_my_gerbers_to_the_board_maker">How do I make a board outline to go with my gerbers to the board maker?</a></h2>
<div class="level2">

<p>
PCB interprets the lines in a layer called ‘outline’ as the absolute edge of the pcb. If no such layer is present, you can either rename a layer (<strong><em>Edit</em></strong> → <strong><em>Edit name of</em></strong> → <strong><em>active layer</em></strong>). Or you can add a layer from scratch (<strong><em>File</em></strong> → <strong><em>Preferences…</em></strong> → <strong>Layers</strong> → <code>Add</code>) and rename it accordingly. Note, that the name of this layer is case sensitive.
</p>

<p>
You can enter your outline thru PCB’s <acronym title="Graphical User Interface">GUI</acronym>. You just draw the desired outline with the line tool or the arc too. Most fabs will cut the board at the center of the lines. You can generate boards of any shape this way. Arcs, polygons and text in the outline layer also enter the gerber file.
</p>

<p>
It’s also possible to edit the native .pcb file format of your layout. I usually use layer 8 for outlines:
</p>
<pre class="code">Layer(8 &quot;outline&quot;)
(
	Line[x1 y1 x2 y2 1000 2000 0x00000000]
	Line[x2 y2 x3 y3 1000 2000 0x00000000]
	Line[x3 y3 x4 y4 1000 2000 0x00000000]
	Line[x4 y4 x1 y1 1000 2000 0x00000000]
	Line[&lt;more points go here for non-square boards&gt; 1000 2000 0x00000000]
)</pre>

<p>
PCB will produce a gerber file called $NAME.outline.gbr that exclusively contains the objects in the outline layer.
</p>

</div>
<!-- EDIT82 SECTION "How do I make a board outline to go with my gerbers to the board maker?" [48308-49574] -->
<h2 class="sectionedit83"><a name="how_do_i_make_sure_that_the_design_contains_only_certain_hole_sizes" id="how_do_i_make_sure_that_the_design_contains_only_certain_hole_sizes">How do I make sure, that the design contains only certain hole sizes?</a></h2>
<div class="level2">

<p>
Some fabs provide lists of standard drill sizes and charge extra if the design
contains additional sizes. You can put this list in a “vendor resource file”.
This file may also exceptions and specify if the nearest diameter should be
chosen, or rounded up to the next size in the list. See
<a href="http://pcb.geda-project.org/pcb-cvs/pcb.html#Vendor-drill-mapping" class="urlextern" title="http://pcb.geda-project.org/pcb-cvs/pcb.html#Vendor-drill-mapping"  rel="nofollow">the section Vendor-drill-mapping</a> in the pcb manual for the syntax of this file.
</p>

<p>
Load the file to pcb with <strong><em>File</em></strong> → <strong><em>Load vendor resource file</em></strong>. Alternatively, you can use with the command <code>:LoadVendor(drillfile)</code>. Substitute “drillfile” with the name of your file.
</p>

<p>
On load, pcb will substitute drill sizes so that the layout conforms to the list. If you want to apply an already loaded vendor resource file again, you can do <strong><em>Apply vendor drill mapping</em></strong> from the <strong><em>Connects</em></strong> menu.
</p>

</div>
<!-- EDIT83 SECTION "How do I make sure, that the design contains only certain hole sizes?" [49575-50526] -->
<h2 class="sectionedit84"><a name="how_many_pads_are_in_my_layout" id="how_many_pads_are_in_my_layout">How many pads are in my layout?</a></h2>
<div class="level2">

<p>
Some board houses ask for the number of SMD pads to help them with their quote. You can use gerbv to extract this pad count from your layout.
</p>
<ol>
<li class="level1"><div class="li"> export the layout to gerbers</div>
</li>
<li class="level1"><div class="li"> open the file $NAME.frontpaste.gbr with gerbv</div>
</li>
<li class="level1"><div class="li"> choose Gerber codes report from the <strong><em>Analyze</em></strong> menu</div>
</li>
<li class="level1"><div class="li"> The tab “Aperture usage” gives the number of SMD pads.</div>
</li>
</ol>

</div>
<!-- EDIT84 SECTION "How many pads are in my layout?" [50527-50917] -->
<h2 class="sectionedit85"><a name="i_m_done_with_my_layout_how_should_i_check_my_design" id="i_m_done_with_my_layout_how_should_i_check_my_design">I&#039;m done with my layout. How should I check my design?</a></h2>
<div class="level2">
<ul>
<li class="level1"><div class="li"> Run a check of design rules either through the command interface (“DRC()”) or from the menu (<strong><em>Connects</em></strong> → <strong><em>Design Rule Checker</em></strong>). You can set the rules in the <strong>Sizes</strong> section of the <strong>Preferences…</strong> dialog. Results of the check are shown in the log window.</div>
</li>
</ul>

<p>
Besides running the DRC checker, it is essential to check your Gerber files. The gEDA Suite includes the program “gerbv” for this task. Here are some things to check/verify:
</p>
<ul>
<li class="level1"><div class="li"> Check that all trace widths are the correct size. Also make sure your trace widths and metal-metal separations are above the minimum specified by your PCB vendor.</div>
</li>
<li class="level1"><div class="li"> Check that all hole diameters are called out at the correct size.</div>
</li>
<li class="level1"><div class="li"> Check that metal annular rings around holes/vias are large enough. The annular ring is the distance between the hole’s edge and the outer diameter of the metallization. The annular ring must be large enough to accommodate drill location + layer registration + other manufacturing inaccuracy. This information should be available from your PCB fabrication house; they normally publish the minimum annular ring requirements in their manufacturing rules document.</div>
</li>
<li class="level1"><div class="li"> Check that your antipads (clearance around holes/vias) are large enough. This information should be available from your PCB fabrication house; ask them for their manufacturing rules document.</div>
</li>
<li class="level1"><div class="li"> Verify that no soldermask or silkscreen overlays a copper pad or through-hole.</div>
</li>
<li class="level1"><div class="li"> On plane layers, verify that at least some vias connect to it (yes, I have seen a board where the entire ground plane was floating – not done in pcb btw)</div>
</li>
<li class="level1"><div class="li"> On plane layers, verify that at least some vias <em class="u">don’t</em> connect to it.</div>
</li>
<li class="level1"><div class="li"> Do a visual sanity check of all layers. Nothing detailed, just does it look approximately like you think it should.</div>
</li>
<li class="level1"><div class="li"> Sign it and date it. At least put a version number on it, so if you have to rev the board, you can tell the good from the bad.</div>
</li>
<li class="level1"><div class="li"> Are all layers negative/positive as they should be? Note that some fab houses want positive layers only. PCB will automatically create negative Gerbers on outer layer planes with no tracks. If you want an all-plane layer to be output as a positive layer, draw a single track somewhere in an unused part of the plane. This will trigger PCB to render that layer as a positive layer.</div>
</li>
</ul>

</div>
<!-- EDIT85 SECTION "I'm done with my layout. How should I check my design?" [50918-53298] -->
<h1 class="sectionedit86"><a name="exporting_other_formatsraster_and_ps_files" id="exporting_other_formatsraster_and_ps_files">Exporting Other Formats: Raster and PS Files</a></h1>
<div class="level1">

</div>
<!-- EDIT86 SECTION "Exporting Other Formats: Raster and PS Files" [53299-53358] -->
<h2 class="sectionedit87"><a name="what_is_xy-max_in_the_png_export_dialog_box" id="what_is_xy-max_in_the_png_export_dialog_box">What is xy-max in the PNG export dialog box?</a></h2>
<div class="level2">

<p>
It limits the size of the image to NxN pixels, but maintains the aspect ratio.  For example, if you set it to 400, a 6000&times;8000 mil board would yield a 300&times;400 image, but a 6000&times;4500 board yields a 400&times;300 image.
</p>

</div>
<!-- EDIT87 SECTION "What is xy-max in the PNG export dialog box?" [53359-53629] -->
<h1 class="sectionedit88"><a name="customization" id="customization">Customization</a></h1>
<div class="level1">

</div>
<!-- EDIT88 SECTION "Customization" [53630-53658] -->
<h2 class="sectionedit89"><a name="i_don_t_like_that_old-style_black_background_how_can_i_get_a_light_canvas" id="i_don_t_like_that_old-style_black_background_how_can_i_get_a_light_canvas">I don&#039;t like that old-style black background. How can I get a light canvas?</a></h2>
<div class="level2">

<p>
In <a href="geda-glossary.html" class="wikilink1" title="geda-glossary.html">GTK-HID</a> there is a <strong>Preferences…</strong> dialog in the <strong><em>File</em></strong> menu. The <strong>Colors</strong> tab presents a convenient way to set all the colors pcb uses via the standard GTK color chooser. The colors are saved to $HOME/.pcb/preferences on shut down of the application.
With <a href="geda-glossary.html" class="wikilink1" title="geda-glossary.html">Lesstif-HID</a> there is no preference dialog. Colors can be set in <code>$HOME/.pcb/settings</code>
</p>

</div>
<!-- EDIT89 SECTION "I don't like that old-style black background. How can I get a light canvas?" [53659-54132] -->
<h2 class="sectionedit90"><a name="how_do_i_set_the_default_values_of_the_postscript_dialog" id="how_do_i_set_the_default_values_of_the_postscript_dialog">How do I set the default values of the postscript dialog?</a></h2>
<div class="level2">

<p>
You can set the default options of the postscript printing dialog as command line parameters when invoking pcb. Type <code>pcb --help</code> for a list of available options. These options can also be set in a file <code>$HOME/.pcb/settings</code>. A settings file for a4 paper, no alignment marks, multi page output would contain:
</p>
<pre class="code">media = A4
align-marks = 0
multi-file = 1</pre>

</div>
<!-- EDIT90 SECTION "How do I set the default values of the postscript dialog?" [54133-54575] -->
<h2 class="sectionedit91"><a name="how_do_i_customize_the_mouse_behavior" id="how_do_i_customize_the_mouse_behavior">How do I customize the mouse behavior?</a></h2>
<div class="level2">

<p>
There is no <acronym title="Graphical User Interface">GUI</acronym> way to modify the mouse behavior. However, you can adapt it to your needs without recompiling. This is how:
</p>
<ol>
<li class="level1"><div class="li"> locate the file <code>gpcb-menu.res</code> on your box. For lesstif there is a similar file called <code>pcb-menu.res</code></div>
</li>
<li class="level1"><div class="li"> copy the file to <code>$HOME/.pcb</code></div>
</li>
<li class="level1"><div class="li"> edit to your needs, save</div>
</li>
<li class="level1"><div class="li"> on start-up, pcb will read this localised copy. This will overwrite whatever settings were made by the system gpcb-menu.res</div>
</li>
</ol>

</div>
<!-- EDIT91 SECTION "How do I customize the mouse behavior?" [54576-55055] -->
<h2 class="sectionedit92"><a name="how_do_i_temporarily_change_keyboard_shortcuts" id="how_do_i_temporarily_change_keyboard_shortcuts">How do I temporarily change keyboard shortcuts?</a></h2>
<div class="level2">

<p>
The GTK version of pcb includes a neat way to change shortcuts on the fly:
</p>
<ul>
<li class="level1"><div class="li"> go to the menu and let the mouse hover over the item to be configured. Don&#039;t press any mouse button.</div>
</li>
<li class="level1"><div class="li"> type whatever shortcut you&#039;d like to assign to the item under the mouse.</div>
</li>
<li class="level1"><div class="li"> the shortcut will be working immediately. Conflicts with other shortcuts will be resolved by removing the shortcut of the conflicting definition.</div>
</li>
</ul>

<p>
This setting will be reset at the next session of pcb.
</p>

</div>
<!-- EDIT92 SECTION "How do I temporarily change keyboard shortcuts?" [55056-55578] -->
<h2 class="sectionedit93"><a name="how_do_i_permanently_change_keyboard_shortcuts" id="how_do_i_permanently_change_keyboard_shortcuts">How do I permanently change keyboard shortcuts?</a></h2>
<div class="level2">

<p>
Default keyboard shortcuts are defined in files called <code>gpcb-menu.res</code> if you use the default GTK interface. On start-up pcb reads the configuration from a system path, e.g. <code>/usr/local/share</code> or <code>/usr/share/</code>. For permanent change of keyboard shortcuts you can copy the system file to <code>$HOME/.pcb/gpcb-menu.res</code> and edit to your needs. Settings in this file will overwrite the system configuration.
</p>

<p>
The lesstif interface reads <code>pcb-menu.res</code> files instead.
</p>

</div>
<!-- EDIT93 SECTION "How do I permanently change keyboard shortcuts?" [55579-56108] -->
<h2 class="sectionedit94"><a name="can_i_customize_the_menu" id="can_i_customize_the_menu">Can I customize the menu?</a></h2>
<div class="level2">

<p>
The menu is defined in <code>gpcb-menu.res</code> for the GTK-UI. You can place a localized copy in <code>$HOME/.pcb/</code>. See the notes above on configuration of keyboard shortcuts and mouse behavior.
</p>

</div>
<!-- EDIT94 SECTION "Can I customize the menu?" [56109-56335] -->
<h1 class="sectionedit95"><a name="you_didn_t_answer_my_question_what_other_resources_exist_for_pcb_information" id="you_didn_t_answer_my_question_what_other_resources_exist_for_pcb_information">You didn&#039;t answer my question. What other resources exist for PCB information?</a></h1>
<div class="level1">
<ul>
<li class="level1"><div class="li"> <a href="http://pcb.geda-project.org/pcb-cvs/pcb.html" class="urlextern" title="http://pcb.geda-project.org/pcb-cvs/pcb.html"  rel="nofollow">the pcb manual</a></div>
</li>
<li class="level1"><div class="li"> <a href="http://www.luciani.org/geda/pcb/faq-pcb-footprint.html" class="urlextern" title="http://www.luciani.org/geda/pcb/faq-pcb-footprint.html"  rel="nofollow">http://www.luciani.org/geda/pcb/faq-pcb-footprint.html</a></div>
</li>
<li class="level1"><div class="li"> <a href="http://pcb.geda-project.org/faq.html" class="urlextern" title="http://pcb.geda-project.org/faq.html"  rel="nofollow">http://pcb.geda-project.org/faq.html</a></div>
</li>
</ul>

<p>
You can get fast responses from the geda-user email list. If you haven’t found an answer to your question about PCB on this page, or in the other documentation, then post to the list! Note that you must subscribe to the geda-user e-mail list before you can post to the list. The gEDA e-mail lists, and their archives, are at: <a href="http://wiki.geda-project.org/geda:mailinglists" class="urlextern" title="http://wiki.geda-project.org/geda:mailinglists"  rel="nofollow">http://wiki.geda-project.org/geda:mailinglists</a>.
</p>

</div>
<!-- EDIT95 SECTION "You didn't answer my question. What other resources exist for PCB information?" [56336-] --></div>
</body>
</html>