diff options
author | XANTRONIX Development | 2023-11-11 20:55:34 -0500 |
---|---|---|
committer | XANTRONIX Development | 2023-11-11 20:55:34 -0500 |
commit | 779137f5450fc5206beebeeaf34284db333dc1ac (patch) | |
tree | bfb5326965114d68e7d74e5209a1fda807fc3627 /case | |
parent | c02dedceed672fe24897a621f4c3c91f5b0fca87 (diff) | |
download | xantronix-z32-779137f5450fc5206beebeeaf34284db333dc1ac.tar.gz xantronix-z32-779137f5450fc5206beebeeaf34284db333dc1ac.tar.bz2 xantronix-z32-779137f5450fc5206beebeeaf34284db333dc1ac.zip |
Move screw holes into thing
Diffstat (limited to 'case')
-rw-r--r-- | case/case.scad | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/case/case.scad b/case/case.scad index 04241a9..9dc8c81 100644 --- a/case/case.scad +++ b/case/case.scad @@ -3,29 +3,7 @@ $fn = 72; pcb_width = 257.175; pcb_height = 95.250; -screw_holes = [ - [ 4.8150, 85.6188], - [ 47.4822, 85.6188], - [ 85.8150, 85.6188], - [123,8150, 85.6188], - [161.8150, 85.6188], - [199.8150, 85.6188], - [251.3150, 67.1188], - [ 22.5650, 47.6187], - [118.8150, 47.6187], - [157.3150, 47.6187], - [ 4.7500, 28.7500], - [ 29.7500, 28.7500], - [227.8150, 28.7500], - [251.8150, 28.7500], - [ 42.8150, 9.1188], - [ 85.8150, 9.1188], - [123.8150, 9.1188], - [161.8150, 9.1188], - [200.3150, 9.1188] -]; - -module keyboard_base_plate(pcb_width, pcb_height, screw_holes=[]) { +module keyboard_base_plate(pcb_width, pcb_height) { pcb_clearance_edge = 1.0; pcb_clearance_bottom = 2.0; @@ -35,6 +13,28 @@ module keyboard_base_plate(pcb_width, pcb_height, screw_holes=[]) { wall_height = 14.0; corner_radius = thickness / 2.0; + screw_holes = [ + [ 4.8150, 85.6188], + [ 47.4822, 85.6188], + [ 85.8150, 85.6188], + [123,8150, 85.6188], + [161.8150, 85.6188], + [199.8150, 85.6188], + [251.3150, 67.1188], + [ 22.5650, 47.6187], + [118.8150, 47.6187], + [157.3150, 47.6187], + [ 4.7500, 28.7500], + [ 29.7500, 28.7500], + [227.8150, 28.7500], + [251.8150, 28.7500], + [ 42.8150, 9.1188], + [ 85.8150, 9.1188], + [123.8150, 9.1188], + [161.8150, 9.1188], + [200.3150, 9.1188] + ]; + module round_corner(translation, rotation) { translate(translation) rotate(rotation) @@ -181,4 +181,4 @@ module keyboard_base_plate(pcb_width, pcb_height, screw_holes=[]) { } } -keyboard_base_plate(pcb_width, pcb_height, screw_holes); +keyboard_base_plate(pcb_width, pcb_height); |