Index: doc/developer/data.html =================================================================== --- doc/developer/data.html (revision 15424) +++ doc/developer/data.html (revision 15425) @@ -33,9 +33,10 @@ A pcb_data_t contains everything to describe the 2d geometry of an existing board:

Relevant structs, variables and functions are in data.[ch]. @@ -103,17 +104,20 @@

The rest of the layers are virtual layers, often just GUI hacks, e.g.:

pcb_data_t: global data

-Global data affect all layers. The most trivial example is via and +Global data affect all layers. The most trivial example is padstack: it has a hole and potentially a copper ring on all -layers. Another global object pcb_data_t holds is an element. An element -can have pads on two copper layers and pins that affect all layers the -same way as vias. +layers. Another global object pcb_data_t holds is an element. A padstack +directly under the board's pcb_data_t is considered a "via" (by convention, +by purpose), a padstack under subcircuit's pcb_data_t is usually a "pin" +or "pad" (when has a term ID) or a "via". The quoted terms don't exist +in the code, they are just conventions. Padtsacks are vertical constructions, +they may affect multiple layers.

The third global object is subcircuit; using its own layer list, it potentially can affect all layers of the board. The children objects of a subcircuit is