pcbStands (advanced)

The pcbStands object has a few optional parameters:

   Optional:
    p(2) = Height to bottom of PCB : Default = standoffHeight
    p(3) = PCB Gap : Default = -1 : Default for yappCoordPCB=pcbThickness, yappCoordBox=0
    p(4) = standoffDiameter    Default = standoffDiameter;
    p(5) = standoffPinDiameter Default = standoffPinDiameter;
    p(6) = standoffHoleSlack   Default = standoffHoleSlack;
    p(7) = filletRadius (0 = auto size)
    n(a) = { <yappBoth> | yappLidOnly | yappBaseOnly }
    n(b) = { <yappPin>, yappHole } // Baseplate support treatment
    n(c) = { yappAllCorners, yappFrontLeft | yappFrontRight | <yappBackLeft> | yappBackRight }
    n(d) = { <yappCoordPCB> | yappCoordBox | yappCoordBoxInside }
    n(e) = { yappNoFillet }

p(2) - Height to bottom of PCB

Well, it defines the height of the pcbStand which is useful if a pcbStand needs to be of a different height than the default (f.i. if you have more than one PCB that needs to fit in your projectbox.

p(3) - PCB Gap

This defines the thickness of the (f.i.) second PCB Take this code:

pcbStands = 
[
    [pcbLength-7, 5, yappAllCorners]
//-- (0), (1), (2),(3),(4),    (5),     (6),(7)
   ,[70,   5,  10,  5,  6, default, default, 1]
   ,[70,  40,  10,  5,  6, default, default, 1]
   ,[100,  5,  10,  5,  6, default, default, 1]
   ,[100, 40,  10,  5,  6, default, default, 1]
];

The first entry will create four 'standard' pcbStands based on the size of the PCB. The next four entries will create one pcbStand each for a second PCB that is 5mm thick [p(3)] and that stands 10mm above the base [p(2)]. The fillet radius [p(7)] for each of these stands is set to 1mm.

Last updated