summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-15 12:50:54 -0500
committerXANTRONIX Development2023-11-15 12:50:54 -0500
commite38b83b2000953b2ff9543bcc86c69627017cb9b (patch)
tree0da67d34c0e6ee2e0e278097886678f4e92d9ae1
parent5c4108b32f7b5767c8015ba1cd32a8db783b38c5 (diff)
downloadxantronix-z32-e38b83b2000953b2ff9543bcc86c69627017cb9b.tar.gz
xantronix-z32-e38b83b2000953b2ff9543bcc86c69627017cb9b.tar.bz2
xantronix-z32-e38b83b2000953b2ff9543bcc86c69627017cb9b.zip
Move keyboard parameters to keyboard.scad
-rw-r--r--case/keyboard.scad26
1 files changed, 26 insertions, 0 deletions
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]
+];