simple keyboard spacer
This commit is contained in:
parent
ed52ccb72e
commit
e7c8d9ab68
@ -1,6 +1,4 @@
|
|||||||
// triglide. Target 20mm
|
// triglide. Target 20mm
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
// thickness
|
// thickness
|
||||||
rThick = 5;
|
rThick = 5;
|
||||||
@ -13,10 +11,8 @@ holeD = 10;
|
|||||||
// head curve
|
// head curve
|
||||||
hcDeep = 3;
|
hcDeep = 3;
|
||||||
hcRad = 200;
|
hcRad = 200;
|
||||||
|
|
||||||
// minkowski/fillet rad
|
// minkowski/fillet rad
|
||||||
minkRad = 1.2;
|
minkRad = 1.2;
|
||||||
|
|
||||||
$fn = 25;
|
$fn = 25;
|
||||||
|
|
||||||
difference(){
|
difference(){
|
||||||
@ -31,22 +27,18 @@ minkowski(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// slot 1
|
// slot 1
|
||||||
translate([0, rThick + strapThick / 2, 0]){
|
translate([0, rThick + strapThick / 2, 0]){
|
||||||
cube([strapWide + 2 * minkRad, strapThick + 2 * minkRad, 99], center = true);
|
cube([strapWide + 2 * minkRad, strapThick + 2 * minkRad, 99], center = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// slot 2
|
// slot 2
|
||||||
translate([0, -1 * (rThick + strapThick), 0]){
|
translate([0, -1 * (rThick + strapThick), 0]){
|
||||||
cube([strapWide + 2 * minkRad, strapThick * 2 + 2 * minkRad, 99], center = true);
|
cube([strapWide + 2 * minkRad, strapThick * 2 + 2 * minkRad, 99], center = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// hole
|
// hole
|
||||||
translate([0, strapThick + 1.5 * rThick + 8, 0]){
|
translate([0, strapThick + 1.5 * rThick + 8, 0]){
|
||||||
cylinder(d = holeD + 2 * minkRad, rThick * 2, center = true);
|
cylinder(d = holeD + 2 * minkRad, rThick * 2, center = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// channel
|
// channel
|
||||||
translate([0, -44 - rThick - strapThick, rThick - strapThick]){
|
translate([0, -44 - rThick - strapThick, rThick - strapThick]){
|
||||||
cube([strapWide + 2 * minkRad, 88, strapThick + minkRad], center = true);
|
cube([strapWide + 2 * minkRad, 88, strapThick + minkRad], center = true);
|
||||||
@ -58,18 +50,14 @@ minkowski(){
|
|||||||
cylinder(r = hcRad, 99, center = true, $fn = 300);
|
cylinder(r = hcRad, 99, center = true, $fn = 300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// mink
|
// mink
|
||||||
sphere(r = minkRad);
|
sphere(r = minkRad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// bottom
|
// bottom
|
||||||
translate([0, 0, -222]){
|
translate([0, 0, -222]){
|
||||||
cube([222, 222, 444], center = true);
|
cube([222, 222, 444], center = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
25
pc/kbd_spacer.scad
Normal file
25
pc/kbd_spacer.scad
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
// Spacer between kbd plate and pcb
|
||||||
|
// ref:
|
||||||
|
// plate thick: 1.3
|
||||||
|
// other spacer gap at edge: 3.7
|
||||||
|
|
||||||
|
screwDiam=2.2;
|
||||||
|
eeWidth=5;
|
||||||
|
thickness=3.7;
|
||||||
|
|
||||||
|
$fn = 40;
|
||||||
|
|
||||||
|
difference(){
|
||||||
|
|
||||||
|
cube([eeWidth, eeWidth, thickness * 2], center=true);
|
||||||
|
|
||||||
|
translate([0, 0, -22]){
|
||||||
|
cylinder(d=screwDiam, 44);
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([0, 0, -22]){
|
||||||
|
cube([44, 44, 44], center=true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user