//Defined here so you can define the "Main" PCB using these if wanted
pcbLength = 91; // front to back (X axis)
pcbWidth = 44; // side to side (Y axis)
pcbThickness = 7;
standoffHeight = 18.0; //-- How much the PCB needs to be raised from the base to leave room for solderings and whatnot
standoffDiameter = 7;
standoffPinDiameter = 2.4;
standoffHoleSlack = 0.4;
pcb =
[
// Default Main PCB - DO NOT REMOVE the "Main" line.
["Main", pcbLength, pcbWidth, 0, 0, pcbThickness, standoffHeight, standoffDiameter, standoffPinDiameter, standoffHoleSlack]
];
//-- padding between pcb and inside wall
paddingFront = 5;
paddingBack = 25;
paddingRight = 5;
paddingLeft = 5;
//-- Edit these parameters for your own box dimensions
wallThickness = 2.0;
basePlaneThickness = 1.5;
lidPlaneThickness = 1.5;
baseWallHeight = 6;
lidWallHeight = 24;
//-------------------------------------------------------------------
connectors =
[//- 0, 1, 2, 3, 4, 5, 6, 7, 8
[3, 3.2, -20, 3, 7, 3.5+0.4, 7+0.4, 20, 4
, yappBoth, yappHole, yappAllCorners
, yappCoordPCB
, yappCountersink
, [yappPCBName, "Main"]
, yappThroughLid]
];
I just want the PCB to be clamped by the connectors.
Given this program
program.txt
These are the main code parts that are involved:
It seems impossible to get the Connectors of the right length!
I just want the PCB to be clamped by the connectors.