To program a Project Box, you must first define the dimensions of your PCB and the box walls. The total height of the box is calculated as: basePlaneThickness + lidPlaneThickness + baseWallHeight + lidWallHeight.
Key parameters include:
wallThickness: Thickness of the vertical walls.basePlaneThickness / lidPlaneThickness: Thickness of the bottom and top planes.baseWallHeight / lidWallHeight: Height of the vertical walls for the base and lid.pcbLength / pcbWidth / pcbThickness: Dimensions of the PCB being enclosed.paddingFront / paddingBack / paddingRight / paddingLeft: Clearance between the PCB and the inside walls.
printBaseShell = true;
printLidShell = true;
// Edit these parameters for your own board dimensions
wallThickness = 1.0;
basePlaneThickness = 1.0;
lidPlaneThickness = 1.0;
baseWallHeight = 7;
lidWallHeight = 4;
pcbLength = 88;
pcbWidth = 49;
pcbThickness = 1.5;
// padding between pcb and inside wall
paddingFront = 4;
paddingBack = 1;
paddingRight = 1;
paddingLeft = 1;