3
1
Back

10; threeUHeight = 133.35; // overall 3u height panelOuterHeight =128.5; panelInnerHeight = 110; //rail clearance = ~11.675mm, top and bottom railHeight = (threeUHeight-panelOuterHeight)/2; mountSurfaceHeight = (panelOuterHeight-panelInnerHeight-railHeight*2)/2; panelInnerOffset = (panelOuterHeight-panelInnerHeight)/2; echo("railHeight: ", railHeight); echo("mountSurfaceHeight",mountSurfaceHeight); offsetToMountHoleCenterY=mountSurfaceHeight/2; offsetToMountHoleCenterX = hp - holeOffset; // 1 rotary switch with ground pin http://www.ckswitches.com/media/1479/kmr2.pdf tactile push button, 6x6mm e.g. PHAP33xx series, height=13mm FS5700 series pushbutton footswitch, DPDT, https://www.e-switch.com/system/asset/product_line/data_sheet/226/FS5700.pdf Switch with Pegs, https://www.ckswitches.com/media/1462/pts125.pdf Button Tactile Switch with High Contact Reliability, Top-actuated Model, with Ground Terminal, without Boss Ultra-small-sized Tactile Switch Ultra-small-sized Tactile Switch for High-Density Packaging Surface Mount Double Row 2.54mm (0.1 inch) Pitch PCB Connector, M20-89014xx, 14 Pins per row (http://www.molex.com/pdm_docs/sd/1053131208_sd.pdf), generated with kicad-footprint-generator ipc_gullwing_generator.py TSOP-I, 24.

New Pull Request