1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en"
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
7 <title>geda:pcb_tips
</title>
8 <meta name=
"generator" content=
"DokuWiki Release rc2007-05-24" />
9 <meta name=
"robots" content=
"index,follow" />
10 <meta name=
"date" content=
"2007-07-24T17:36:35-0400" />
11 <meta name=
"keywords" content=
"geda,pcb_tips" />
12 <link rel=
"search" type=
"application/opensearchdescription+xml" href=
"http://geda.seul.org/wiki/lib/exe/opensearch.php" title=
"geda Wiki" />
13 <link rel=
"start" href=
"http://geda.seul.org/wiki/" />
14 <link rel=
"contents" href=
"http://geda.seul.org/wiki/geda:pcb_tips?do=index" title=
"Index" />
15 <link rel=
"alternate" type=
"application/rss+xml" title=
"Recent Changes" href=
"http://geda.seul.org/wiki/feed.php" />
16 <link rel=
"alternate" type=
"application/rss+xml" title=
"Current Namespace" href=
"http://geda.seul.org/wiki/feed.php?mode=list&ns=geda" />
17 <link rel=
"alternate" type=
"text/html" title=
"Plain HTML" href=
"http://geda.seul.org/wiki/_export/xhtml/geda:pcb_tips" />
18 <link rel=
"alternate" type=
"text/plain" title=
"Wiki Markup" href=
"http://geda.seul.org/wiki/_export/raw/geda:pcb_tips" />
19 <link rel=
"stylesheet" media=
"all" type=
"text/css" href=
"lib/exe/css" />
20 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"lib/exe/001css" />
21 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"lib/exe/002css" />
24 <div class=
"dokuwiki export">
26 <div class=
"tocheader toctoggle" id=
"toc__header">Table of Contents
</div>
27 <div id=
"toc__inside">
30 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#pcb_tools" class=
"toc">PCB Tools
</a></span></div>
32 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#where_can_i_read_about_the_basics_of_using_pcb" class=
"toc">Where can I read about the basics of using pcb?
</a></span></div></li>
33 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#i_found_a_bug_what_can_i_do_about_it" class=
"toc">I found a bug! What can I do about it?
</a></span></div></li>
34 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_can_i_set_the_manufacturing_rules_to_use_i.e._drill_diameters_trace_width_space_specs" class=
"toc">How can I set the manufacturing rules to use (i.e. drill diameters, trace width/space specs)?
</a></span></div></li>
37 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#non-obvious_aspects_of_the_gui" class=
"toc">Non-obvious aspects of the GUI
</a></span></div>
39 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#auto-pan_bugs_me._what_can_i_do_about_it" class=
"toc">Auto-pan bugs me. What can I do about it?
</a></span></div></li>
40 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#the_delete_key_sometimes_refuses_to_delete" class=
"toc">The delete key sometimes refuses to delete
</a></span></div></li>
43 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#footprint_issues" class=
"toc">Footprint issues
</a></span></div>
45 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_pcb_s_footprints_work" class=
"toc">How do PCB
's footprints work?
</a></span></div></li>
46 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#where_can_i_get_pre-drawn_footprints_for_pcb" class=
"toc">Where can I get pre-drawn footprints for PCB?
</a></span></div></li>
47 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#i_want_to_use_pcb_to_do_layout._how_do_i_know_what_value_to_use_for_the_footprint_attribute" class=
"toc">I want to use PCB to do layout. How do I know what value to use for the footprint attribute?
</a></span></div>
49 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#newlib" class=
"toc">Newlib
</a></span></div></li>
50 <li class=
"level3"><div class=
"li"><span class=
"li"><a href=
"#m4_library" class=
"toc">M4 library
</a></span></div></li>
53 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#what_is_the_recommended_way_to_deal_with_different_footprints_for_the_same_sort_of_device" class=
"toc">What is the recommended way to deal with different footprints for the same sort of device?
</a></span></div></li>
54 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_draw_a_new_footprint" class=
"toc">How do I draw a new footprint?
</a></span></div></li>
55 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_edit_change_an_existing_footprint" class=
"toc">How do I edit/change an existing footprint?
</a></span></div></li>
56 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_add_a_footprint_library_to_pcb" class=
"toc">How do I add a footprint library to PCB?
</a></span></div></li>
57 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_update_a_footprint_in_my_layout" class=
"toc">How do I update a footprint in my layout?
</a></span></div></li>
58 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#pcb_is_not_finding_my_footprints._why" class=
"toc">PCB is not finding my footprints. Why?
</a></span></div></li>
59 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#now_that_i_have_all_of_these_footprints_where_do_i_put_them" class=
"toc">Now that I have all of these footprints where do I put them?
</a></span></div></li>
62 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#component_placement" class=
"toc">Component placement
</a></span></div>
64 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_rotate_a_selection_i.e._of_more_than_one_item" class=
"toc">How do I rotate a selection (i.e. of more than one item)?
</a></span></div></li>
65 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_change_the_size_of_a_graphical_object_such_as_text_silkscreen_lines_etc" class=
"toc">How do I change the size of a graphical object (such as text, silkscreen lines, etc)?
</a></span></div></li>
66 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_put_components_on_both_faces_in_pcb" class=
"toc">How do I put components on both faces in PCB?
</a></span></div></li>
67 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_set_the_origin_in_pcb" class=
"toc">How do I set the origin in pcb?
</a></span></div></li>
68 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_measure_distances_and_dimensions_of_components" class=
"toc">How do I measure distances and dimensions of components?
</a></span></div></li>
69 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_hide_rats_of_specific_nets" class=
"toc">How do I hide rats of specific nets?
</a></span></div></li>
72 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#routing" class=
"toc">Routing
</a></span></div>
74 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_route_a_connection_from_solder_to_component_side_and_back" class=
"toc">How do I route a connection from solder to component side and back?
</a></span></div></li>
75 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_change_the_routing_style" class=
"toc">How do I change the routing style?
</a></span></div></li>
76 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#i_got_stuck_how_do_i_go_back" class=
"toc">I got stuck! How do I go back?
</a></span></div></li>
77 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_move_one_set_of_layer_tracks_to_a_different_layer" class=
"toc">How do I move one set of layer tracks to a different layer?
</a></span></div></li>
78 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_achieve_open_vias_clear_of_soldermask" class=
"toc">How do I achieve open vias clear of soldermask
</a></span></div></li>
79 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_change_the_soldermask_clearance_around_a_hole_pad" class=
"toc">How do I change the soldermask clearance around a hole/pad?
</a></span></div></li>
80 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_change_the_size_of_my_tracks" class=
"toc">How do I change the size of my tracks?
</a></span></div></li>
81 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_drive_a_via_to_connect_a_track_to_a_ground_plane_on_a_different_layer" class=
"toc">How do I drive a via to connect a track to a ground plane on a different layer?
</a></span></div></li>
82 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#what_is_the_easiest_way_to_create_a_thermal_via" class=
"toc">What is the easiest way to create a
"thermal via
"?
</a></span></div></li>
83 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#i_want_to_draw_a_track_between_two_segments_on_the_same_net_but_pcb_won_t_let_me_why" class=
"toc">I want to draw a track between two segments on the same net, but PCB won
't let me! Why?
</a></span></div></li>
84 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#pcb_seems_to_munge_my_components_names_and_complains_that_it_can_t_find_proper_nets_for_the_pins_how_come" class=
"toc">PCB seems to munge my components names and complains that it can
't find proper nets for the pins! How come?
</a></span></div></li>
85 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_can_i_set_color_and_thickness_of_the_rats_nests" class=
"toc">How can I set color and thickness of the rats nests?
</a></span></div></li>
88 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#beyond_tracks_and_footprints" class=
"toc">Beyond tracks and footprints
</a></span></div>
90 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_trace_a_drawing_a_print_or_another_pcb" class=
"toc">How do I trace a drawing, a print, or another PCB?
</a></span></div></li>
91 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#i_can_t_copy_component_pads_in_a_layout._what_gives" class=
"toc">I can
't copy component pads in a layout. What gives?
</a></span></div></li>
92 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_fill_areas_with_copper" class=
"toc">How do I fill areas with copper?
</a></span></div></li>
93 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#the_polygons_are_shorting_my_tracks_what_can_i_do_about_it" class=
"toc">The polygons are shorting my tracks! What can I do about it?
</a></span></div></li>
94 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_change_polygon_clearance" class=
"toc">How do I change polygon clearance?
</a></span></div></li>
95 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_hide_the_polygons_while_i_edit_the_layout" class=
"toc">How do I hide the polygons while I edit the layout?
</a></span></div></li>
96 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_edit_polygons" class=
"toc">How do I edit polygons?
</a></span></div></li>
97 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_place_vias_that_connect_to_a_polygon_for_full_thermal_dissipation_or_full_shielding_integrity" class=
"toc">How do I place vias that connect to a polygon for full thermal dissipation or full shielding integrity?
</a></span></div></li>
98 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#can_polygons_be_un-masked_can_a_polygon_be_made_bare-copper_with_no_solder_mask" class=
"toc">Can polygons be un-masked? (Can a polygon be made bare-copper with no solder mask?)
</a></span></div></li>
99 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_place_mounting_holes" class=
"toc">How do I place mounting holes?
</a></span></div></li>
100 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#why_is_it_possible_to_make_a_thermal_for_pin_but_not_for_a_pad" class=
"toc">Why is it possible to make a thermal for pin, but not for a pad?
</a></span></div></li>
101 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#can_pcb_be_used_to_make_single_layer_boards" class=
"toc">Can PCB be used to make single layer boards?
</a></span></div></li>
102 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#what_resources_exist_to_process_pcb_files_using_scripts" class=
"toc">What resources exist to process PCB files using scripts?
</a></span></div></li>
103 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_import_external_vector_graphics" class=
"toc">How do I import external vector graphics?
</a></span></div></li>
104 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_attach_a_name_to_my_layout" class=
"toc">How Do I attach a name to my layout?
</a></span></div></li>
107 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#auto_router" class=
"toc">Auto Router
</a></span></div>
109 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_force_the_autorouter_to_only_put_traces_on_a_particular_layer" class=
"toc">How do I force the autorouter to only put traces on a particular layer?
</a></span></div></li>
110 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_force_the_autorouter_to_route_only_within_my_pcb_outline" class=
"toc">How do I force the autorouter to route only within my pcb outline?
</a></span></div></li>
111 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_route_power_and_ground_planes_with_the_autorouter" class=
"toc">How do I route power and ground planes with the autorouter?
</a></span></div></li>
112 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#the_layout_produced_by_the_autorouter_is_inefficient" class=
"toc">The layout produced by the autorouter is inefficient!
</a></span></div></li>
113 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#the_layout_produced_by_the_autorouter_is_ugly" class=
"toc">The layout produced by the autorouter is ugly!
</a></span></div></li>
116 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#gerber_generation_and_file_i_o_issues" class=
"toc">Gerber generation and file I/O issues
</a></span></div>
118 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#how_do_i_make_a_board_outline_to_go_with_my_gerbers_to_the_board_maker" class=
"toc">How do I make a board outline to go with my gerbers to the board maker?
</a></span></div></li>
119 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#i_m_done_with_my_layout._how_should_i_check_my_design" class=
"toc">I
'm done with my layout. How should I check my design?
</a></span></div></li>
122 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#exporting_other_formatsraster_and_ps_files" class=
"toc">Exporting Other Formats: Raster and PS Files
</a></span></div>
124 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#what_is_xy-max_in_the_png_export_dialog_box" class=
"toc">What is xy-max in the PNG export dialog box?
</a></span></div></li>
127 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#you_didn_t_answer_my_question._what_other_resources_exist_for_pcb_information" class=
"toc">You didn
't answer my question. What other resources exist for PCB information?
</a></span></div></li></ul>
133 <h1><a name=
"pcb_tools" id=
"pcb_tools">PCB Tools
</a></h1>
137 <!-- SECTION "PCB Tools" [1-25] -->
138 <h2><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>
142 The
<a href=
"http://pcb.sourceforge.net/manual.html" class=
"urlextern" title=
"http://pcb.sourceforge.net/manual.html" rel=
"nofollow">pcb manual
</a> contains a concise description of the user interface in the section “Getting Started”(
<a href=
"http://pcb.sourceforge.net/pcb-20060822/pcb.html#Getting%20Started" class=
"urlextern" title=
"http://pcb.sourceforge.net/pcb-20060822/pcb.html#Getting%20Started" rel=
"nofollow">version
20060822</a>)
146 <!-- SECTION "Where can I read about the basics of using pcb?" [26-323] -->
147 <h2><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>
150 <li class=
"level1"><div class=
"li"> Start by reading
<a href=
"http://pcb.sourceforge.net/bugs.html" class=
"urlextern" title=
"http://pcb.sourceforge.net/bugs.html" rel=
"nofollow">the pcb bug reporting page
</a>.
</div>
152 <li class=
"level1"><div class=
"li"> Check, what it needs to reproduce the bug.
</div>
154 <li class=
"level1"><div class=
"li"> Ask on the
<a href=
"http://www.geda.seul.org/mailinglist/index.html" class=
"urlextern" title=
"http://www.geda.seul.org/mailinglist/index.html" rel=
"nofollow">geda-user mailing
</a> list if there is a work around, or has been dealt with in the bleading edge version of pcb. Note that you must subscribe to the geda-user e-mail list before you can post to this list.
</div>
156 <li class=
"level1"><div class=
"li"> Check, wether the issue is already in the
<a href=
"http://sourceforge.net/tracker/?group_id=73743&atid=538811" class=
"urlextern" title=
"http://sourceforge.net/tracker/?group_id=73743&atid=538811" rel=
"nofollow">bug tracking system of pcb
</a>. If not, file a bug report. Make sure to give every information necessary to reproduce the bug and add the version of pcb that contains the bug.
</div>
158 <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=
"http://sourceforge.net/tracker/?group_id=73743&atid=538811" class=
"urlextern" title=
"http://sourceforge.net/tracker/?group_id=73743&atid=538811" rel=
"nofollow">BTS of pcb
</a>. The patch will be gladly accepted to improve the next release of pcb.
</div>
163 <!-- SECTION "I found a bug! What can I do about it?" [324-1386] -->
164 <h2><a name=
"how_can_i_set_the_manufacturing_rules_to_use_i.e._drill_diameters_trace_width_space_specs" id=
"how_can_i_set_the_manufacturing_rules_to_use_i.e._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>
168 This topic is covered
<a href=
"http://pcb.sourceforge.net/pcb-20060422/pcb.html#Vendor%20drill%20mapping" class=
"urlextern" title=
"http://pcb.sourceforge.net/pcb-20060422/pcb.html#Vendor%20drill%20mapping" rel=
"nofollow">in the documentation available at the PCB website
</a>.
172 <!-- SECTION "How can I set the manufacturing rules to use (i.e. drill diameters, trace width/space specs)?" [1387-1644] -->
173 <h1><a name=
"non-obvious_aspects_of_the_gui" id=
"non-obvious_aspects_of_the_gui">Non-obvious aspects of the GUI
</a></h1>
177 <!-- SECTION "Non-obvious aspects of the GUI" [1645-1690] -->
178 <h2><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>
181 <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>
183 <li class=
"level1"><div class=
"li"> Auto-pan can be toggled during move with a right mouse button click.
</div>
185 <li class=
"level1"><div class=
"li"> Auto-pan speed can be set in
<code>$HOME/.pcb/preferences
</code> </div>
190 <!-- SECTION "Auto-pan bugs me. What can I do about it?" [1691-1998] -->
191 <h2><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>
195 Probably you try to delete a selected object. In pcb the delete 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 delete button. No need to select the object.
199 However, the Select menu contains an action that lets you delete the current selection. Currently, there is no accel key attached to this action.
203 <!-- SECTION "The delete key sometimes refuses to delete" [1999-2563] -->
204 <h1><a name=
"footprint_issues" id=
"footprint_issues">Footprint issues
</a></h1>
208 <!-- SECTION "Footprint issues" [2564-2595] -->
209 <h2><a name=
"how_do_pcb_s_footprints_work" id=
"how_do_pcb_s_footprints_work">How do PCB
's footprints work?
</a></h2>
213 PCB supports two entirely separate footprint library mechanisms:
216 <li class=
"level1"><div class=
"li"> The first is referred to as the “oldlib”, “pcblib”, or the “M4 library”. This system uses the macro language M4 to generate footprints on the fly. The M4 library is fairly large. A powerful feature of the m4 library is that an entire family of footprints can quickly be defined by defining an appropriate base macro. Several standard families of footprints exist in pcblib. Starting with the pcb-
20070208 snapshot, the entire m4 library is available as “newlib” footprints (see the following paragraph) under the name “pcblib-newlib”.
</div>
218 <li class=
"level1"><div class=
"li"> The second footprint library for PCB is called the “newlib”. Newlib footprints are defined using
<acronym title=
"American Standard Code for Information Interchange">ASCII
</acronym> text files which call out each graphical primitive which makes up an entire footprint. Newlib footprints can either be created graphically using PCB or via any other method which can produce a text file (text editor, awk/perl/ruby script, etc.). The use of a scripting or programming language is especially powerful because you can generate large footprints or families of footprints.
</div>
223 Therefore, during layout, you can use footprints which are distributed with PCB, you can find footprints via a web search, or you can create your own, and put them in a dedicated directory. The
<a href=
"http://pcb.sourceforge.net/manual.html" class=
"urlextern" title=
"http://pcb.sourceforge.net/manual.html" rel=
"nofollow">pcb manual
</a> has complete and up to date documentation for the element file format.
<a href=
"http://gedasymbols.org/" class=
"urlextern" title=
"http://gedasymbols.org" rel=
"nofollow">Gedasymbols.org
</a> has a number of user contributed footprints. A somewhat incomplete but useful tutorial is available on the web at:
<a href=
"http://www.brorson.com/gEDA/" class=
"urlextern" title=
"http://www.brorson.com/gEDA/" rel=
"nofollow">http://www.brorson.com/gEDA/
</a> (search for the term “newlib”).
227 <!-- SECTION "How do PCB's footprints work?" [2596-4300] -->
228 <h2><a name=
"where_can_i_get_pre-drawn_footprints_for_pcb" id=
"where_can_i_get_pre-drawn_footprints_for_pcb">Where can I get pre-drawn footprints for PCB?
</a></h2>
232 Currently, the best place to get footprints (besides in the PCB distribution) is the
<a href=
"http://www.gedasymbols.org/" class=
"urlextern" title=
"http://www.gedasymbols.org" rel=
"nofollow">gEDA Symbols website
</a>.
<a href=
"http://www.luciani.org/geda/pcb/pcb-footprint-list.html" class=
"urlextern" title=
"http://www.luciani.org/geda/pcb/pcb-footprint-list.html" rel=
"nofollow">John Luciani
's website
</a> has a large number of footprints and tools. Also, Darrell Harmon provides a nice footprint generating script
<a href=
"http://www.dlharmon.com/geda/footgen.html" class=
"urlextern" title=
"http://www.dlharmon.com/geda/footgen.html" rel=
"nofollow">on his website
</a>. You are welcome to contribute to the project and share your footprints. Finally, you can ask on the geda-user list, and somebody might take pity on you and send you a symbol. Note that you must subscribe to the geda-user e-mail list before you can post an e-mail to the geda-user list.
236 <!-- SECTION "Where can I get pre-drawn footprints for PCB?" [4301-5039] -->
237 <h2><a name=
"i_want_to_use_pcb_to_do_layout._how_do_i_know_what_value_to_use_for_the_footprint_attribute" id=
"i_want_to_use_pcb_to_do_layout._how_do_i_know_what_value_to_use_for_the_footprint_attribute">I want to use PCB to do layout. How do I know what value to use for the footprint attribute?
</a></h2>
241 This question is a common one amongst new gEDA users. Indeed, helping newbies determine the appropriate footprint names lies at the core of the ongoing
<a href=
"http://geda.seul.org/wiki/geda:faq-gschem#what_s_this_business_about_heavy_vs._light_symbols" class=
"wikilink1" title=
"geda:faq-gschem">light vs. heavy symbol
</a> debate. In the current, light symbol gEDA/gaf distribution, you need to attach the footprint attribute at the schematic level (i.e. using either gschem or gattrib). The name of the footprint to use depends upon whether you are using the newlib or the M4 library (pcblib).
245 <!-- SECTION "I want to use PCB to do layout. How do I know what value to use for the footprint attribute?" [5040-5663] -->
246 <h3><a name=
"newlib" id=
"newlib">Newlib
</a></h3>
250 The newlib stores one footprint per file, and the footprint names used by the newlib are the file names of the footprint files.
254 There are several ways to determine the newlib footprint names to use:
257 <li class=
"level1"><div class=
"li"> You can browse the available footprints by running pcb and opening the footprint library window (available from the menu bar via “Window → library”). Click on the “newlib” library group, and then select a sublibrary to browse its symbols. The name of each footprint appears in the “Elements” window on the right hand side of the footprint library browser. Use the name exactly as it appears in the browser for the footprint attribute in gschem or gattrib.
</div>
259 <li class=
"level1"><div class=
"li"> The newlib footprints distributed with PCB are stored in the directories under
<strong><code>${PREFIX}/share/pcb/newlib
</code></strong>. (
<strong><code>${PREFIX}
</code></strong> is the install directory you specified when configuring/building PCB.) The name to stick in the “footprint” attribute is the filename of the footprint you wish to use.
<br/>
260 For example, on my machine I installed gEDA with the prefix
<strong><code>/usr/local/geda/
</code></strong>. The
0805 package (for SMT resistors or caps) lives in a file with absolute path
<br/>
261 <strong><code>/usr/local/geda/share/pcb/newlib/generic_SMD_packages/
0805_reflow_solder
</code></strong> <br/>
262 Therefore, to use this footprint on a component I set its “footprint” attribute to
<strong><code>0805_reflow_solder
</code></strong> using gschem or gattrib.
<br/>
263 Note that if the newlib symbol you want to use lives in a non-standard directory, gsch2pcb needs you to specify a path to that directory, either within your project.rc file (if you use one) or using the
<strong><code>–elements-dir
</code></strong> flag (from the command line).
</div>
265 <li class=
"level1"><div class=
"li"> Finally, since each new design typically requires you to draw at least a couple of new footprints, it’s likely you will have a local “footprints” directory. As previously, the footprint name to use is the filename you assign to each of your new footprints. Again, don’t forget to add a line to your project.rc file telling gsch2pcb where to find your local footprints. Alternately, you can run gsch2pcb with the
<strong><code>–elements-dir
</code></strong> flag set to point to your local footprint directory.
</div>
270 <!-- SECTION "Newlib" [5664-7818] -->
271 <h3><a name=
"m4_library" id=
"m4_library">M4 library
</a></h3>
275 The M4 library stores the footprints as M4 macros; there are usually several (many) footprints contained in each footprint file. The different footprints in a single file are generally variations on a single pattern (e.g. DIP-
8, DIP-
14, DIP-
16, etc.) The easiest way to find the correct footprint attribute name is by browsing through the “pcblib” library in the PCB library window. The footprint attribute is given in square brackets in the description. Also you can view the list of footprints from pcblib at the
<a href=
"http://www.gedasymbols.org/footprints/" class=
"urlextern" title=
"http://www.gedasymbols.org/footprints/" rel=
"nofollow">gEDA Symbols webpage
</a>.
279 The following m4 libraries have received more attention and improvements than the others:
282 <li class=
"level1"><div class=
"li"> ~amp for Amp connectors
</div>
284 <li class=
"level1"><div class=
"li"> ~amphenol for Amphenol connectors
</div>
286 <li class=
"level1"><div class=
"li"> ~geda for many diverse parts used in basic design using gEDA (resistors, caps, etc).
</div>
288 <li class=
"level1"><div class=
"li"> ~bourns for products like trim pots from Bourns
</div>
290 <li class=
"level1"><div class=
"li"> ~cts for products like resistor packs from CTS
</div>
292 <li class=
"level1"><div class=
"li"> ~johnstech for Johnstech sockets
</div>
294 <li class=
"level1"><div class=
"li"> ~minicircuits for Minicircuits specific footprints
</div>
296 <li class=
"level1"><div class=
"li"> ~panasonic for some Panasonic specific footprints
</div>
301 Finally, for both the newlib and the M4 lib, it is extremely important that you verify that the footprint name you use instantiates *exactly* the footprint you want when you place it in PCB. Therefore, it is critical to inspect the footprint before you use it. You can verify the footprint you want to use by clicking on it in the “footprint library” window, and then placing it onto an empty spot in PCB’s drawing area. Manually inspect the footprint to ensure that it has the correct number of pins/pads, correct dimensions, etc.
305 Also, once you generate Gerber files, make sure you
<span class=
"curid"><a href=
"http://geda.seul.org/wiki/geda:pcb_tips#i_m_done_with_my_layout._how_should_i_check_my_design" class=
"wikilink1" title=
"geda:pcb_tips">inspect all footprints instantiated in your Gerbers
</a></span> using gerbv (or an equivalent Gerber viewer) before you send your design out for fabrication.
309 <!-- SECTION "M4 library" [7819-9728] -->
310 <h2><a name=
"what_is_the_recommended_way_to_deal_with_different_footprints_for_the_same_sort_of_device" id=
"what_is_the_recommended_way_to_deal_with_different_footprints_for_the_same_sort_of_device">What is the recommended way to deal with different footprints for the same sort of device?
</a></h2>
314 For example, an opamp may be DIP8 or SO8. A resistor may be
0603,
0805,
1208, or through-hole. How do I know what package and footprint to use, and how do I manage the choices?
318 First off, the footprint you should use is a decision for you to make, not your CAD tool. It is up to you to choose your preferred package type/footprint, and then attach the correct footprint attribute to the component in the schematic. Once you have choosen which package (and footprint) you wish to use, then either
<span class=
"curid"><a href=
"http://geda.seul.org/wiki/geda:pcb_tips#where_can_i_get_pre-drawn_footprints_for_pcb" class=
"wikilink1" title=
"geda:pcb_tips">find an appropriate footprint
</a></span>, or
<span class=
"curid"><a href=
"http://geda.seul.org/wiki/geda:pcb_tips#how_do_i_draw_a_new_footprint" class=
"wikilink1" title=
"geda:pcb_tips">draw one yourself
</a></span> and save it in a local directory.
322 As far as managing the footprint choices (and indeed the large number of component attributes you are likely to have): Use
<a href=
"http://geda.seul.org/wiki/geda:faq-attribs#help_my_design_has_hundreds_of_components_and_it_s_a_pain_to_use_gschem_to_attach_all_my_attributes" class=
"wikilink1" title=
"geda:faq-attribs">gattrib
</a>. That’s what it’s for.
326 <!-- SECTION "What is the recommended way to deal with different footprints for the same sort of device?" [9729-10806] -->
327 <h2><a name=
"how_do_i_draw_a_new_footprint" id=
"how_do_i_draw_a_new_footprint">How do I draw a new footprint?
</a></h2>
331 Everybody does this a little differently. Some people draw the footprint entirely using PCB. Some people first draw a preliminary footprint in PCB, and then finish it off by hand editing it (e.g. using emacs). Some people write
<acronym title=
"Practical Extraction and Report Language">Perl
</acronym> or Python scripts to autogenerate footprints.
334 <li class=
"level1"><div class=
"li"> text editor: safe and efficient way to create most footprints.
<a href=
"http://www.brorson.com/gEDA/land_patterns_20050129.pdf" class=
"urlextern" title=
"http://www.brorson.com/gEDA/land_patterns_20050129.pdf" rel=
"nofollow"> THE manual on footprint creation
</a></div>
336 <li class=
"level1"><div class=
"li"> draw the part in PCB and convert to a footprint:
<acronym title=
"What You See Is What You Get">WYSIWYG
</acronym>.
<a href=
"http://ronja.twibright.com/guidelines/footprints.php" class=
"urlextern" title=
"http://ronja.twibright.com/guidelines/footprints.php" rel=
"nofollow">how Karel Kulhavy does it this way
</a></div>
338 <li class=
"level1"><div class=
"li"> use either the perl script
<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">from John Luciani
</a> or the python script
<a href=
"http://dlharmon.com/geda/footgen.html" class=
"urlextern" title=
"http://dlharmon.com/geda/footgen.html" rel=
"nofollow"> by Darrel Harmon
</a></div>
343 <!-- SECTION "How do I draw a new footprint?" [10807-11634] -->
344 <h2><a name=
"how_do_i_edit_change_an_existing_footprint" id=
"how_do_i_edit_change_an_existing_footprint">How do I edit/change an existing footprint?
</a></h2>
348 You can convert a footprint into a ordinary layout, edit the parts and convert them back to footprint. In the following list the parts in mono space font are actions from the buffer menu.
351 <li class=
"level1"><div class=
"li"> Select element
</div>
353 <li class=
"level1"><div class=
"li"> Copy selection to buffer
</div>
355 <li class=
"level1"><div class=
"li"> <code>Break buffer into pieces
</code></div>
357 <li class=
"level1"><div class=
"li"> <code>Paste buffer to layout
</code></div>
359 <li class=
"level1"><div class=
"li"> Do the desired changes
</div>
361 <li class=
"level1"><div class=
"li"> Select all objects that belong to the footprint
</div>
363 <li class=
"level1"><div class=
"li"> <code>Copy selection to buffer
</code></div>
365 <li class=
"level1"><div class=
"li"> <code>Convert buffer to element
</code></div>
367 <li class=
"level1"><div class=
"li"> <code>Paste buffer to layout
</code></div>
369 <li class=
"level1"><div class=
"li"> Place the mouse over the pads that got rounded during step
4 and press q. This squares off the rounded pad edges.
</div>
371 <li class=
"level1"><div class=
"li"> Go over every pad, press n and give a name to the pad
</div>
373 <li class=
"level1"><div class=
"li"> Select everything and
<code>copy selection to buffer
</code></div>
375 <li class=
"level1"><div class=
"li"> <code>Save buffer as elements to file
</code>. The footprint file will created at the path where pcb was called.
</div>
380 Alternatively, you can use your favorite text editor and edit the source code of the footprint.
384 <!-- SECTION "How do I edit/change an existing footprint?" [11635-12602] -->
385 <h2><a name=
"how_do_i_add_a_footprint_library_to_pcb" id=
"how_do_i_add_a_footprint_library_to_pcb">How do I add a footprint library to PCB?
</a></h2>
389 Adding footprint libraries can be done from the
<acronym title=
"Graphical User Interface">GUI
</acronym>:
<br/>
390 <strong><em>File
</em></strong> –
> <strong><em>Preferences
</em></strong> –
> <strong><em>Library
</em></strong> –
> <strong>FOOTPRINTDIRECTORY
</strong><br/>
391 Alternatively you can edit the file
<code>$HOME/.pcb/preferences
</code>. Look for the line that starts with “library-newlib”. Don’t forget to include the new directory into your gsch2pcb resource file (if you are using gsch2pcb, that is).
395 <!-- SECTION "How do I add a footprint library to PCB?" [12603-13035] -->
396 <h2><a name=
"how_do_i_update_a_footprint_in_my_layout" id=
"how_do_i_update_a_footprint_in_my_layout">How do I update a footprint in my layout?
</a></h2>
400 There is no way to automatically replace all instances of a footprint with the new version, yet. But there is a special mode of the buffer-paste tool, that will reduce the amount of clicks for manual replacement.
<br/>
401 Use the Info
→Library dialog box to manually choose the new footprint. The tool becomes the buffer-paste tool, with the new footprint preloaded. Rotate it if needed with Buffer
→Rotate Buffer. Position the new footprint over the old one, and shift-left-mouse-click to replace the old footprint with the new one. Watch out for being
180 degrees off, use ‘o’ to check the rats nest after each placement, and undo if it appears you placed it backwards.
405 <!-- SECTION "How do I update a footprint in my layout?" [13036-13756] -->
406 <h2><a name=
"pcb_is_not_finding_my_footprints._why" id=
"pcb_is_not_finding_my_footprints._why">PCB is not finding my footprints. Why?
</a></h2>
410 The footprint path that PCB uses is defined using the
<strong><code>Pcb.elementPath
</code></strong> variable in the app-defaults file named
<strong><code>PCB
</code></strong>. The path for the
<strong><code>PCB
</code></strong> file is set using the
<strong><code>XAPPLRESDIR
</code></strong> environment variable which is typically set from within the wrapper script named
<strong><code>pcb
</code></strong>.
414 <!-- SECTION "PCB is not finding my footprints. Why?" [13757-14104] -->
415 <h2><a name=
"now_that_i_have_all_of_these_footprints_where_do_i_put_them" id=
"now_that_i_have_all_of_these_footprints_where_do_i_put_them">Now that I have all of these footprints where do I put them?
</a></h2>
419 I prefer to place all “production-ready” footprints in a single directory that is not in the gEDA/PCB install tree. When a new version of gEDA/PCB comes out I do not make any changes to project files or libraries. If there are newlib footprints in the PCB library that I want to use I copy them to the �������������production-ready” footprint directory.
423 Rather than change configuration files to get gsch2pcb to find the footprints I create a wrapper script called
<strong><code>sch2pcb
</code></strong> that contains the footprint path. All users use the same script and access the same production footprints.
427 To use the
<strong><code>sch2pcb
</code></strong> script that is listed below replace the string
<strong><code>FOOTPRINT_DIR
</code></strong> with your footprint directory:
431 gsch2pcb --elements-dir FOOTPRINT_DIR $@
435 Or another user’s version:
439 #this script was written by John Luciani
440 gsch2pcb --elements-dir /home/user/pcb/footprints/user --use-files $@
444 <!-- SECTION "Now that I have all of these footprints where do I put them?" [14105-15161] -->
445 <h1><a name=
"component_placement" id=
"component_placement">Component placement
</a></h1>
449 <!-- SECTION "Component placement" [15162-15196] -->
450 <h2><a name=
"how_do_i_rotate_a_selection_i.e._of_more_than_one_item" id=
"how_do_i_rotate_a_selection_i.e._of_more_than_one_item">How do I rotate a selection (i.e. of more than one item)?
</a></h2>
453 <li class=
"level1"><div class=
"li"> Select the items
</div>
455 <li class=
"level1"><div class=
"li"> Buffer → Cut selection to buffer
</div>
457 <li class=
"level1"><div class=
"li"> Buffer → Rotate buffer
90 deg CCW (or CW)
</div>
459 <li class=
"level1"><div class=
"li"> Click anywhere on the board and the selection is pasted on the design again.
</div>
464 <!-- SECTION "How do I rotate a selection (i.e. of more than one item)?" [15197-15456] -->
465 <h2><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>
468 <li class=
"level1"><div class=
"li"> Mouse over the object and hit [
<strong><code>s
</code></strong>]. This will increase the size of the object you are mousing over.
</div>
470 <li class=
"level1"><div class=
"li"> Mouse over the object and hit [
<strong><code><shift
>-S
</code></strong>]. This will decrease the size of the object you are mousing over.
</div>
475 You can alter the increase/decrease quantum using the
<strong><em>file
</em></strong> →
<strong><em>preferences
</em></strong> →
<strong><em>increments
</em></strong> menu.
479 <!-- SECTION "How do I change the size of a graphical object (such as text, silkscreen lines, etc)?" [15457-15906] -->
480 <h2><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>
484 There are two ways to do it:
487 <li class=
"level1"><div class=
"li"> Pressing the tab key will alternate the active side between the component and solder sides. When you place components, they will go on the active side.
</div>
489 <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 [
<strong><code>b
</code></strong>] key (wich means, send the component to the Back side) the component go to the other side of the board.
</div>
494 <!-- SECTION "How do I put components on both faces in PCB?" [15907-16375] -->
495 <h2><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>
499 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 [
<strong><code>ctrl-m
</code></strong>]. You may want to set the marker to a grid point or a specific pin.
503 <!-- SECTION "How do I set the origin in pcb?" [16376-16990] -->
504 <h2><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>
508 Use [
<strong><code>ctrl-m
</code></strong>] to set the origin and read the distance of the mouse pointer relative to this point on the upper left of the pcb window. Some objects like vias and tracks yield usefull information in object reports. Access the report of the object currently under the mouse pointer with [
<strong><code>ctrl-r
</code></strong>].
512 <!-- SECTION "How do I measure distances and dimensions of components?" [16991-17370] -->
513 <h2><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>
517 In the netlist window, doubleclick on the specific rat name, then press ‘o’ on your board window. Your rats are hidden for that net. In the Netlist window an asterisk appears in from of the rat name. To reverse: follow the same procedure.
521 <!-- SECTION "How do I hide rats of specific nets?" [17371-17659] -->
522 <h1><a name=
"routing" id=
"routing">Routing
</a></h1>
526 <!-- SECTION "Routing" [17660-17681] -->
527 <h2><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>
531 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.
535 <!-- SECTION "How do I route a connection from solder to component side and back?" [17682-17931] -->
536 <h2><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>
540 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. 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:
543 <li class=
"level1"><div class=
"li"> 45° plus vertical/horizontal (status line: “\_”)
</div>
545 <li class=
"level1"><div class=
"li"> vertical plus
45° (status line: “_/”)
</div>
547 <li class=
"level1"><div class=
"li"> either vertical or
45° (status line: “
45”)
</div>
549 <li class=
"level1"><div class=
"li"> arbitrary angle (status line: “all”)
</div>
554 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 shift key. You can switch to
45° mode with the slash key “/”. For arbitrary angles, press the period key “.”, or choose “enable all line directions” in the setting menu.
558 <!-- SECTION "How do I change the routing style?" [17932-18891] -->
559 <h2><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>
563 The universal undo key [
<strong><code>U
</code></strong>] 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.
567 <!-- SECTION "I got stuck! How do I go back?" [18892-19164] -->
568 <h2><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>
571 <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>
573 <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>
575 <li class=
"level1"><div class=
"li"> Press [
<strong><code>shift-M
</code></strong>] to move all the selected tracks to the current layer.
</div>
580 <!-- SECTION "How do I move one set of layer tracks to a different layer?" [19165-19605] -->
581 <h2><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>
585 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.
592 <li class=
"level1"><div class=
"li"> Turn on the soldermask layer. This will make the k key refer to the soldermask clearance instead of polygon clearance.
</div>
594 <li class=
"level1"><div class=
"li"> Position the mouse above the via (mouse cursor will change in recent versions of pcb)
</div>
596 <li class=
"level1"><div class=
"li"> Type [
<strong><code>k
</code></strong>] 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 [
<strong><code><shift
>-K
</code></strong>] key.
</div>
604 <li class=
"level1"><div class=
"li"> Turn on the solder mask layer.
</div>
606 <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>
608 <li class=
"level1"><div class=
"li"> Type [
<strong><code><ctrl
>-K
</code></strong>] key several times. [
<strong><code><shift
>-
<ctrl
>-K
</code></strong>] will decrease the clearance of all selected objects.
</div>
613 The command interface provides more control over the actual size of the clearance. Type
":
" to get the command line window, then type:
615 <pre class=
"code">ChangeClearSize(SelectedVias,
<delta
>)
</pre>
618 where
<code><delta
></code> is a size given in
1/
100 of a mil. Thus the number
3000 corresponds to
30 mil. Simple integers for
<code><delta
></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>.
622 <!-- SECTION "How do I achieve open vias clear of soldermask" [19606-21381] -->
623 <h2><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>
627 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.
631 <!-- SECTION "How do I change the soldermask clearance around a hole/pad?" [21382-21908] -->
632 <h2><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>
636 There are a number of ways to change the size of already laid down tracks:
639 <li class=
"level1"><div class=
"li"> Use [
<strong><code>s
</code></strong>] and [
<strong><code>shift-s
</code></strong>] to increase and decrease the size of the track currenty under the mouse cursor.
</div>
641 <li class=
"level1"><div class=
"li"> choose
<strong><code>Select/Change_size_of_selected_objects/Decrement_lines_by_4mil
</code></strong> from the
<strong><code>Select
</code></strong> menu. The actual amount of change can be set in
<strong><code>File/Preferences/Sizes
</code></strong>. This only acts on the tracks. So the selection may contain components, text, vias and the like.
</div>
643 <li class=
"level1"><div class=
"li"> Select the tracks to be changed and type
<strong><code>:ChangeSize(SelectedLines,+
4,mils)
</code></strong>. The colon 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 tracksize. If you omit the sign the command sets the track size to the value given.
</div>
648 <!-- SECTION "How do I change the size of my tracks?" [21909-22846] -->
649 <h2><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>
652 <li class=
"level1"><div class=
"li"> Set the GND plane layer as the active layer.
</div>
654 <li class=
"level1"><div class=
"li"> Select the “via” tool.
</div>
656 <li class=
"level1"><div class=
"li"> Place the via where you want it to live (left click to place).
</div>
658 <li class=
"level1"><div class=
"li"> Now select the “thermal” tool.
</div>
660 <li class=
"level1"><div class=
"li"> Left click on the via you just placed.
</div>
662 <li class=
"level1"><div class=
"li"> Now change the active layer to your desired routing layer.
</div>
664 <li class=
"level1"><div class=
"li"> Select the “line” tool.
</div>
666 <li class=
"level1"><div class=
"li"> Route the track on the active layer to or from the via as usual.
</div>
671 <!-- SECTION "How do I drive a via to connect a track to a ground plane on a different layer?" [22847-23332] -->
672 <h2><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
"thermal via
"?
</a></h2>
676 A “thermal via” is not a via with a thermal relief. Rather, it’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.
680 Here are some suggestions:
683 <li class=
"level1"><div class=
"li"> Draw a rectangle to comfortably surround the vias. Then, mouse over the rectangle and hit ‘s’. 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>
685 <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>
690 <!-- SECTION "What is the easiest way to create a thermal via?" [23333-24110] -->
691 <h2><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
't let me! Why?
</a></h2>
695 You are likely drawing tracks with auto-DRC on. To connect the two segments, here are some suggestions:
698 <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>
700 <li class=
"level1"><div class=
"li"> You should also refresh the rats regularly when drawing. Hit [
<strong><code>o
</code></strong>] to redraw/re-optimize the rats. Make sure a rat is visibly connecting the two pieces of metal you want to connect.
</div>
702 <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>
704 <li class=
"level1"><div class=
"li"> Sometimes this route-blocking behaviour can come about from an error in your netlist. Don’t end refdes’s with lower case letters - they’re reserved for gates within devices. End with upper case or a digit; the lowercase letters are simply ignored.
</div>
709 <!-- SECTION "I want to draw a track between two segments on the same net, but PCB won't let me! Why?" [24111-25429] -->
710 <h2><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
't find proper nets for the pins! How come?
</a></h2>
714 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’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/>
715 Bottom line: Don’t use lower case letters at the end of a refdes, unless you know what you are doing.
719 <!-- SECTION "PCB seems to munge my components names and complains that it can't find proper nets for the pins! How come?" [25430-26067] -->
720 <h2><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>
724 You can set the color of the rats in
<code>File - Preference - Colors - Main colors
</code>
728 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/preference
</code> file manually. Close all instances of pcb and look for the line that starts with
<code>rat-thickness
</code>.
732 <!-- SECTION "How can I set color and thickness of the rats nests?" [26068-26419] -->
733 <h1><a name=
"beyond_tracks_and_footprints" id=
"beyond_tracks_and_footprints">Beyond tracks and footprints
</a></h1>
737 <!-- SECTION "Beyond tracks and footprints" [26420-26462] -->
738 <h2><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>
742 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’s PCB HID website.
746 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’d now like to ‘unlock’. Furthermore, you can use the background image as tool for making board revisions or redesigns.
750 If you don’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’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.
754 <!-- SECTION "How do I trace a drawing, a print, or another PCB?" [26463-27303] -->
755 <h2><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
't copy component pads in a layout. What gives?
</a></h2>
759 <strong>Question:
</strong> I want to copy a section of my existing layout to another spot.
763 I can select the existing area. Everything turns pretty blue.
767 “Buffer”
–>“Copy Selection To Buffer” seems to succeed (no complaints).
771 Then I go to paste the copied area
… and all that moves are a couple of traces and some vias. The pads I’ve painstakingly created aren’t copied. What gives!?!?!?
775 <strong>Answer:
</strong> If the silk layer is off, you can’t copy elements through the paste buffer. Weird, but that’s how it works. Therefore, turn on the silk layer before trying to copy a section of a layout.
779 <!-- SECTION "I can't copy component pads in a layout. What gives?" [27304-27958] -->
780 <h2><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>
784 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: Settings/Enable_new_lines_clear_polygons). Since version
20070208 of pcb the resulting polygon will be one contiguous piece. Isolated snippets are removed.
788 <!-- SECTION "How do I fill areas with copper?" [27959-28320] -->
789 <h2><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>
793 You didn’t have “Enable_new_lines_clear_polygons” checked in the settings menu when you layed down the tracks. Enter “changejoin(selected)” in the command window to toggle this flag for all tracks that are currently selected. The keyboard shortcut to this action is [
<strong><code>shift-j
</code></strong>]. If you want to set or clear the join flag rather than toggle it, you can use the commands “SetFlag(selected, join)” and “ClrFlag(selected, join)
". See the SetFlag description in the
<a href=
"http://pcb.sourceforge.net/manual.html" class=
"urlextern" title=
"http://pcb.sourceforge.net/manual.html" rel=
"nofollow">pcb manual
</a> for more details on these commands.
797 <!-- SECTION "The polygons are shorting my tracks! What can I do about it?" [28321-28970] -->
798 <h2><a name=
"how_do_i_change_polygon_clearance" id=
"how_do_i_change_polygon_clearance">How do I change polygon clearance?
</a></h2>
802 Press [
<strong><code>k
</code></strong>] to increase the clearence of the object under the cursor. Use [
<strong><code>ctrl-k
</code></strong>] to increase the clearence of selected objects. Add the [
<strong><code>shift
</code></strong>] modifier to decrease the clearence. To change a whole track press [
<strong><code>f
</code></strong>] to find all segments that are connected to the object under the cursor and apply the action “select(connection)”.
806 The amount of the increment can be configured in the dialog File/Preference/Increments.
810 <!-- SECTION "How do I change polygon clearance?" [28971-29471] -->
811 <h2><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>
815 Put the polygons (and rectangles) on a separate layer. Use the preference 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 preference dialog to let the polygon layer join the layer of the tracks.
819 <!-- SECTION "How do I hide the polygons while I edit the layout?" [29472-29880] -->
820 <h2><a name=
"how_do_i_edit_polygons" id=
"how_do_i_edit_polygons">How do I edit polygons?
</a></h2>
824 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 (settings –
> enable thin line draw) 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 ‘delete’ on the keyboard. To insert a vertex, you’ll use the insert tool (’insert’ 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.
828 (NOTE: Inserting points into polygon will generally work ONLY with “all direction lines” enabled (’settings –
> enable all direction lines’). 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!)
832 <!-- SECTION "How do I edit polygons?" [29881-31066] -->
833 <h2><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>
837 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 [
<strong><code>s
</code></strong>] 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:
841 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.
845 The arcs allow you to use this fill trick in tight places by only placing, say two of the four arcs.
849 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 ([
<strong><code>m
</code></strong>] key) as you see fit. Place this object centered on your via to connect it to a polygon.
853 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.
857 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.
861 <!-- SECTION "How do I place vias that connect to a polygon for full thermal dissipation or full shielding integrity?" [31067-33014] -->
862 <h2><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>
866 Currently this is not possible in PCB. The usual workaround (for example if you want to leave a bare area to attach a heatsink or shielding) is to make an element that is a single pad. This pad should be as small as possible (
0 x
0) but with a large clearance. It’s the soldermask clearance from this part you will use to un-mask the polygon. PCB internally limits the size of the pad to
250 mils. For larger exposed areas you will need to use multiple pads.
870 <!-- SECTION "Can polygons be un-masked? (Can a polygon be made bare-copper with no solder mask?)" [33015-33572] -->
871 <h2><a name=
"how_do_i_place_mounting_holes" id=
"how_do_i_place_mounting_holes">How do I place mounting holes?
</a></h2>
875 Use a footprint for the mounting hole or place a via.
879 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.
883 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.
887 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>.
891 <!-- SECTION "How do I place mounting holes?" [33573-34237] -->
892 <h2><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>
896 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.
900 <!-- SECTION "Why is it possible to make a thermal for pin, but not for a pad?" [34238-34868] -->
901 <h2><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>
905 Yes. Just plot your gerbers and toss any layers that are not needed. You can just draw the layout as you want (freestyle). If you want to verify connectivity, you have two choices:
908 <li class=
"level1"><div class=
"li"> Assuming your copper is on the bottom side, use the top side in layout to put down traces where jumpers will be. This is probably the easiest. Then just fab the bottom side and put jumpers wherever you have top side copper.
</div>
910 <li class=
"level1"><div class=
"li"> 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.
</div>
915 If you’re trying to use the autorouter, just turn off all but the bottom layer when you route and it will stick to that layer.
919 <!-- SECTION "Can PCB be used to make single layer boards?" [34869-35666] -->
920 <h2><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>
924 One of PCB’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:
927 <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>
929 <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>
931 <li class=
"level1"><div class=
"li"> Stuart Brorson wrote a simple script which generates footprints for two terminal SMT passives. A gzipped tarball is available
<a href=
"http://www.brorson.com/gEDA/Smtgen.pl.gz" class=
"urlextern" title=
"http://www.brorson.com/gEDA/Smtgen.pl.gz" rel=
"nofollow"> here
</a>.
</div>
933 <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>
938 <!-- SECTION "What resources exist to process PCB files using scripts?" [35667-36951] -->
939 <h2><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>
943 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.
947 Import of external vector graphics is usefull if an irregular shape of the pcb is required. Use the cut buffer to copy the shape to your actual design.
951 <!-- SECTION "How do I import external vector graphics?" [36952-38030] -->
952 <h2><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>
956 You can set the name of the current pcb with
<code>Menu Edit - Edit name of - layout
</code>. This sets the title attribute of the layout. This attribute is used for the export actions. It does not interfere with the file name.
960 <!-- SECTION "How Do I attach a name to my layout?" [38031-38301] -->
961 <h1><a name=
"auto_router" id=
"auto_router">Auto Router
</a></h1>
965 <!-- SECTION "Auto Router" [38302-38327] -->
966 <h2><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>
970 Just unselect the layers you don’t want (usually green and blue) by clicking on the name of the layer. then press autoroute.
974 <!-- SECTION "How do I force the autorouter to only put traces on a particular layer?" [38328-38539] -->
975 <h2><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>
979 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.
983 <!-- SECTION "How do I force the autorouter to route only within my pcb outline?" [38540-38971] -->
984 <h2><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>
988 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 _and_ routing within a board outline.
992 <!-- SECTION "How do I route power and ground planes with the autorouter?" [38972-39253] -->
993 <h2><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>
997 This is a technological limitation of the current auto router. It is gridless and uses geometric rectangles only.
1001 <!-- SECTION "The layout produced by the autorouter is inefficient!" [39254-39434] -->
1002 <h2><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>
1003 <div class=
"level2">
1006 Have you tried the various clean-up tools under connects
–>optimize routed tracks?
1010 <!-- SECTION "The layout produced by the autorouter is ugly!" [39435-39577] -->
1011 <h1><a name=
"gerber_generation_and_file_i_o_issues" id=
"gerber_generation_and_file_i_o_issues">Gerber generation and file I/O issues
</a></h1>
1012 <div class=
"level1">
1015 <!-- SECTION "Gerber generation and file I/O issues" [39578-39630] -->
1016 <h2><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>
1017 <div class=
"level2">
1020 You can add an outline layer to your pcb projects. PCB interprets any layer called ‘outline’ (edit –
> edit name of –
> active layer) as though it is the absolute edge of the pcb. PCB prints gerber files that rigidly represent this.
1024 You can enter your outline layer thru PCB’s
<acronym title=
"Graphical User Interface">GUI
</acronym>. You just draw the lines of the board outline. You can generate boards of any shape this way.
1028 It’s also possible to edit the native .pcb file format of your layout. I usually use Layer
8 for outlines:
1030 <pre class=
"code">Layer(
8 "outline
")
1032 Line[x1 y1 x2 y2
1000 2000 0x00000000]
1033 Line[x2 y2 x3 y3
1000 2000 0x00000000]
1034 Line[x3 y3 x4 y4
1000 2000 0x00000000]
1035 Line[x4 y4 x1 y1
1000 2000 0x00000000]
1036 Line[
<more points go here for non-square boards
> 1000 2000 0x00000000]
1040 <!-- SECTION "How do I make a board outline to go with my gerbers to the board maker?" [39631-40477] -->
1041 <h2><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
'm done with my layout. How should I check my design?
</a></h2>
1042 <div class=
"level2">
1044 <li class=
"level1"><div class=
"li"> Run a check of design rules either through the command interface (“DRC()
") or from the menu (Connects - Design Rule Checker). You can set the rules in the sizes section of the preference dialog. Results of the check are shown in the log window.
</div>
1049 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:
1052 <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>
1054 <li class=
"level1"><div class=
"li"> Check that all hole diameters are called out at the correct size.
</div>
1056 <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 accomodate 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>
1058 <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>
1060 <li class=
"level1"><div class=
"li"> Verify that no soldermask or silkscreen overlays a copper pad or through-hole.
</div>
1062 <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>
1064 <li class=
"level1"><div class=
"li"> On plane layers, verify that at least some vias _don’t_ connect to it.
</div>
1066 <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>
1068 <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>
1073 <!-- SECTION "I'm done with my layout. How should I check my design?" [40478-42697] -->
1074 <h1><a name=
"exporting_other_formatsraster_and_ps_files" id=
"exporting_other_formatsraster_and_ps_files">Exporting Other Formats: Raster and PS Files
</a></h1>
1075 <div class=
"level1">
1078 <!-- SECTION "Exporting Other Formats: Raster and PS Files" [42698-42756] -->
1079 <h2><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>
1080 <div class=
"level2">
1083 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×8000 mil board would yeild a
300×400 image, but a
6000×4500 board yeilds a
400×300 image.
1087 <!-- SECTION "What is xy-max in the PNG export dialog box?" [42757-43027] -->
1088 <h1><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
't answer my question. What other resources exist for PCB information?
</a></h1>
1089 <div class=
"level1">
1092 <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><br/>
1093 <a href=
"http://pcb.sourceforge.net/faq.html" class=
"urlextern" title=
"http://pcb.sourceforge.net/faq.html" rel=
"nofollow">http://pcb.sourceforge.net/faq.html
</a><br/>
1094 <a href=
"http://pcb.sourceforge.net/pcb-20060822/pcb.html#Top" class=
"urlextern" title=
"http://pcb.sourceforge.net/pcb-20060822/pcb.html#Top" rel=
"nofollow">http://pcb.sourceforge.net/pcb-
20060822/pcb.html#Top
</a>
1098 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://geda.seul.org/mailinglist/index.html" class=
"urlextern" title=
"http://geda.seul.org/mailinglist/index.html" rel=
"nofollow">http://geda.seul.org/mailinglist/index.html
</a>
1102 <!-- SECTION "You didn't answer my question. What other resources exist for PCB information?" [43028-] --></div>