Case bug-fixes

* Too small mounting hole inserts
* 1mm too high top offset
* 0.5 larger top case to avoid too tight fit
This commit is contained in:
Thomas Haukland
2024-06-05 21:59:57 +02:00
parent 733e8b490f
commit a325ac508e
2 changed files with 5 additions and 5 deletions

View File

@@ -10,10 +10,10 @@ include <modules.scad>
difference() {
case();
linear_extrude(4.1) offset(delta=0.1) base();
linear_extrude(4.1) offset(delta=0.15) base();
//translate([0,0,4.1])
// board();
// translate([0,0,4.1])
// board();
translate([0,0,top_of_pcb]) switch_holes();

View File

@@ -305,7 +305,7 @@ module mounting_holes() {
// to the keyboard.
module case() {
color("red")
for (i = [0:step:9.1])
for (i = [0:step:8.1])
{
// factor = sqrt(pow(9.1, 2) - pow(i, 2));
factor = min(3 - abs(i*0.7-3), 2.5);
@@ -380,7 +380,7 @@ module mounting_hole_insert() {
color("#bcbd22")
translate([45.85, -23, 0]) {
translate([0,0,4.1])
cylinder(h=4, r=.7);
cylinder(h=4, r=1.1);
}
}