Standoffs

The “pcbStandoffs” defines the distance between the top of the “base plane” and the bottom of the printed circuit board. Opposite the “standoffs” are automatically made “pushdowns” on the “lid” that are exactly so long that the circuit board is neatly clamped between them.
The pcbStands can be fitted with “pins” so that the printed circuit board is also fixed on the X and Y axes. How many “pcb standoffs” should come and where they should be is specified in the array “pcbStands”. The position of each pcbStand and it's dimensions are specified in one line. This is how you use the pcbStands array:
//-- pcb_standoffs -- origin is pcb[0,0,0]
// (0) = posx
// (1) = posy
// (2) = standoffHeight
// (3) = flangeHeight (Rev. 1.7)
// (4) = flangeDiameter (Rev. 1.7)
// (5) = { yappBoth | yappLidOnly | yappBaseOnly }
// (6) = { yappHole, YappPin }
pcbStands = [
[5, 5, 5, 3, 11, yappBoth, yappPin]
,[5, pcbWidth-5, 5, 4, 10, yappBoth, yappPin]
,[pcbLength-5, 5, 5, 4, 11, yappBoth, yappPin]
,[pcbLength-15, pcbWidth-15, 5, 4, 12, yappBoth, yappPin]
];
Each line in the array provides one standoff.
The fifth element has the following meaning:
yappBoth: place a pcbStand both on the Base and on the Lid.
yappLidOnly: the pcbStand is only printed above (lidHalf)
yappBaseOnly: the pcbStand will only be printed at the base (baseHalf).
The meaning of the sixth element is:
yappHole: the pcbStand is provided with a “hole”
yappPin: the pcbStand is provided with a “pin”
If the fifth element is “yappBoth” and the sixth element is specified as “yappPin” then the pin will be printed on the baseHalf and a hole on the lidHalf.
It is possible to print a hole both on the Base (below) and on the Lid (above) by specifying “yappHole” as the sixth element:
[3, 12, 5, 8, yappBoth, yappHole]
The third value specifies the height of the stand. Normally this value will be the same for all stands but it does not have to be so.
A flange is a structure to strengthen the connectors by providing extra mass.