Y
Y
YAPPgenerator_en
Search…
⌃K

Connecting Base and Lid

Connectors to connect Base and Lid together

With this type of connector you can connect the Base and the Lid together.
//-- connectors
//-- normal : origen = box[0,0,0]
//-- yappConnWithPCB: origen = pcb[0,0,0]
// (0) = posx
// (1) = posy
// (2) = screwDiameter
// (3) = screwHeadDiameter
// (4) = insertDiameter
// (5) = outsideDiameter
// (6) = flangeHeight
// (7) = flangeDiam
// (8) = { yappConnWithPCB }
// (9) = { yappAllCorners | yappFrontLeft | yappFrondRight | yappBackLeft | yappBackRight }
connectors = [
[8, 8, 2.5, 2.8, 3.8, 6, 6, 15, yappConnShells, yappAllCorners]
, [28, 58, 2.5, 2.8, 3.8, 6, 6, 25, yappConnShells]
];
Example:
connectors = [
[ 8, 8, 2.5, 2.8, 3.8, 5, 3, 7, yappAllCorners]
];

ConnectorsPCB

With this type of connector the PCB will be fixed between the Base- and the Lid-standoff. At the Base the height of the"standoff" will be as defined with standoffHeight. YAPPgenerator will calculate the height of the opposite standoff on the Lid with exact enough room for the PCB in between.
As off Rev. 1.7 this functionality is part of the connectors[..] array!
//-- connectors
//-- yappConnShells : origen = box[0,0,0]
//-- yappConnWithPCB: origen = pcb[0,0,0]
// (0) = posx
// (1) = posy
// (2) = screwDiameter
// (3) = screwHeadDiameter
// (4) = insertDiameter
// (5) = outsideDiameter
// (6) = flangeHeight
// (7) = flangeDiam
// (8) = { yappConnWithPCB }
// (9) = { yappAllCorners | yappFrontLeft | yappFrondRight | yappBackLeft | yappBackRight }
Example:
connectors = [
[ 8, 8, 2.5, 2,8, 3.8, 5, 3, 7, yappConnWithPCB, yappAllCorners]
];
Thanks to Oliver Grafe
To provide extra strength you use the flange parameters.

Melt Inserts

You have to press/melt an insert into the Lid-standoff.