pcb-rnd - user manual

2. Model of the world

Pcb-rnd is designed to handle geometric data of a PCB. This section describes how pcb-rnd represents reality (e.g. copper shapes) in memory.

2.1. board

Each design pcb-rnd handles is a board. The board has global properties and hosts layers. Most drawing primitives (objects) are on layers. This section describes the most important global properties.

Board size is given as a width and a height. For rectangular boards this can be the real board size, but more commonly it is used to simply determine the on-screen drawing area and the final board dimensions are specified using the outline layer. If the board is not rectangular, the contour must be specified on the outline layer and the board size must be large enough that the outline fits in it.

Netlist is the list of logical connections to be realized in copper. A netlist is a list of named nets. Each net consists of a list of terminals (pins or pads) to connect. A terminal is given as elementname-pinname, e.g. U4-7 means "pin number 7 in element called U4".

Font, which is always embedded in the design file to guarantee that the file can be ported and will look the same on different hosts.

Misc editor settings, such as grid size and offset.

2.2. layers

Unlike a physical layer, a pcb-rnd layer has no thickness. It is a 2 dimensional, logical canvas, similar to layers in image manipulation software like gimp. There are explicit and virtual layers. An explicit layer contains drawing primitives (objects) placed by the user. The user has full control over an explicit layer: objects can be added or removed or changed any time. A virtual layer has no such flexibility: pcb-rnd computes its content from explicit layers and there's no way to change the result directly. A layer is always part of a layer group.

2.3. layer groups

One or more explicit layers form a layer group. All pcb-rnd layers of a layer group will end up on the same physical layer. The visibility of layers in a layer group are toggled together. Having more than one layer in a group may be useful to: