From e38b83b2000953b2ff9543bcc86c69627017cb9b Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 15 Nov 2023 12:50:54 -0500 Subject: Move keyboard parameters to keyboard.scad --- case/keyboard.scad | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 case/keyboard.scad (limited to 'case') diff --git a/case/keyboard.scad b/case/keyboard.scad new file mode 100644 index 0000000..cc50b57 --- /dev/null +++ b/case/keyboard.scad @@ -0,0 +1,26 @@ +keyboard_pcb_width = 257.175; +keyboard_pcb_length = 95.250; +keyboard_pcb_height = 1.600; + +keyboard_pcb_screw_holes = [ + [ 4.7625, 85.7250], + [ 66.6750, 85.7250], + [161.9250, 85.7250], + [238.1250, 85.7250], + [ 61.9125, 47.6250], + [138.1125, 47.6250], + [214.3125, 47.6250], + [ 20.2406, 9.5250], + [123.8250, 9.5250], + [238.1250, 9.5250] +]; + +keyboard_switch_leg_length = 3.30; +keyboard_switch_height = 11.10; +keyboard_switch_sizes = [ + [0.5, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], + [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.5], + [1.25, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.25], + [1.75, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.75], + [1.0, 1.25, 1.25, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0] +]; -- cgit v1.2.3