pcbStands (advanced)
The pcbStands object has a few optional parameters:
Optional:
p(2) = Height to bottom of PCB from inside of base: Default = standoffHeight
negative measures from inside of the lid to the top of the PCB
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)
p(8) = Pin Length : Default = 0 -> PCB Gap + standoff_PinDiameter
Indicated length of pin without the half sphere tip.
Example : pcbThickness() only leaves the half sphere tip above the PCB
n(a) = { <yappBoth> | yappLidOnly | yappBaseOnly }
n(b) = { <yappPin>, yappHole, yappTopPin }
yappPin = Pin on Base and Hole on Lid
yappHole = Hole on Both
yappTopPin = Hole on Base and Pin on Lid
n(c) = { yappAllCorners, yappFrontLeft | <yappBackLeft> | yappFrontRight | yappBackRight }
n(d) = { <yappCoordPCB> | yappCoordBox | yappCoordBoxInside }
n(e) = { yappNoFillet } : Removes the internal and external fillets and the Rounded tip on the pins
n(f) = [yappPCBName, "XXX"] : Specify a PCB. Defaults to [yappPCBName, "Main"]
n(g) = yappSelfThreading : make the hole a self threading hole
This ignores the holeSlack and would only be usefull
if the opposing stand if deleted see sample in Demo_Connectors
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