pcb-rnd knowledge pool


Using and editing padstacks on layouts in pcb-rnd

pstk_edit by Tibor 'Igor2' Palinkas on 2018-02-08

Tags: howto, padstack, pstk, edit, clearance, route, styles, all, direction, menufile, menuv1

node source



Abstract: Show how padstacks can be placed, modified, and how various settings affect their use. Describes how padstack prototypes can be constructed.


padstacks in pcb-rnd

A padstacks is a special, vertical group of objects. The most typical use cases:

A padstack object (padstack reference in pcb-rnd terminology) is an instance of a padstack prototype. The prototype describes the geometry: one shape per layer type, optionally the hole, and clearances. The padstack object cites a prototype and describes a coordinate (and board side) where it should be placed. The same prototype can be cited by many padstack references. This is how a lot of vias refer to the same prototype, so they all have the same geometry, which can be changed centrally by editing the prototype.

Each board and each subcircuit has its own library of padstack prototypes. User-interface-wide the padstack prototype library behaves very similar to the footprint library.

how to place vias

Select the via tool (leftmost icon from the toolbar):

[screenshot of the toolbar with the via icon marked]

Move the mouse pointer over the board and click. The geometry of the via padstack palced is determined by the currently selected routing style.

how to set a which prototype to use

how to set a different prototype for a padstack

On a padstack reference (e.g. via) already placed: right click on the padstack to get the context menu and select the "Edit geometry/prototype" menu. On the first tab, press the button right to the "prototype" label:

[prototype selection in the padstack edit dialog]

This will pop up the padstack prototype library dialog:

[the padstack prototype library dialog]

Select a different prototype from the list on the top right and click the "Use selected" button in the bottom right corner. This will change the prototype reference of that one padstack instance the menu was originally onvoked for.

This method should work on any padstack - even the ones sitting in a subcircuit (such as smd pads or thru-hole pins).

how to set the prototype of vias that will be placed

TODO: route style

how to edit/create a prototype

how to generate a prototype

how to construct a prototype

how to change the geometry of one instance only