lowered the bumper position bellow the encoder on the bottom cases

increased the depth of the enconder holes on the bottom cases
This commit is contained in:
Joao Moura
2024-12-28 21:06:03 +00:00
parent 8898e408c6
commit 900e033dd5
3 changed files with 36 additions and 33 deletions

View File

@@ -39,7 +39,7 @@ mirror()
mounting_holes();
// Inserts for silicone bumpers
bumper();
translate([0, -5, 0]) bumper();
translate([0, -46, 0]) bumper();
translate([13, -61.5, 0]) bumper();
translate([-29.5, -54.6, 0]) bumper();

View File

@@ -1,4 +1,4 @@
use <modules.scad>
use <./modules.scad>
// height = 95.1738;
// width = 132.6134;
@@ -10,48 +10,48 @@ step = 0.05;
// 2.5 will leave 0.35 at the thinnest(between hotswap and magsafe).
$fn=50;
$fn=$preview ? 50 : 50;
// Rotate so you dont need to do that in extruder
translate([0,0,2.5])
rotate([0,180,0])
difference()
{
bottom();
//translate([13,11,2.1])
//magsafe_ring();
bottom();
//translate([13,11,2.1])
//magsafe_ring();
// The exported board from KiCad, for debug
//translate([0,0,0])
//board();
// The exported board from KiCad, for debug
//translate([0,0,0])
//board();
switches(false);
switches(false);
diodes();
diodes();
rj45();
rj45();
mcu();
mcu();
encoder();
encoder();
mounting_holes();
mounting_holes();
// Inserts for silicone bumpers
bumper();
translate([0, -46, 0]) bumper();
translate([10.3, -67, 0]) bumper();
translate([-29.5, -61.6, 0]) bumper();
translate([-64, 7.5, 0]) bumper();
translate([-64, -31, 0]) bumper();
translate([-101, -47.7, 0]) bumper();
translate([-101, -9, 0]) bumper();
// Inserts for silicone bumpers
translate([0, -5, 0]) bumper();
translate([0, -46, 0]) bumper();
translate([10.3, -67, 0]) bumper();
translate([-29.5, -61.6, 0]) bumper();
translate([-64, 7.5, 0]) bumper();
translate([-64, -31, 0]) bumper();
translate([-101, -47.7, 0]) bumper();
translate([-101, -9, 0]) bumper();
// Inserts for magnets near mcu
translate([24,26,0]) magnet();
translate([24,-18,0]) magnet();
// Inserts for magnets near mcu
translate([24,26,0]) magnet();
translate([24,-18,0]) magnet();
// Inserts for magnets near bottom
translate([-43,28,0]) magnet();
translate([-43,-9,0]) magnet();
// Inserts for magnets near bottom
translate([-43,28,0]) magnet();
translate([-43,-9,0]) magnet();
}

View File

@@ -141,14 +141,17 @@ module rj_pin_hole() {
}
module encoder() {
color("#7f7f7f")
color("#7f7f00")
linear_extrude(0.6) {
translate([35.7, 29.8])
square([7,2]);
translate([32.65, 21.6])
square([2, 3.3]);
translate([43.85, 21.6])
square([2, 3.3]);
}
color("#7f0000")
linear_extrude(1) {
translate([35.7, 29.8])
square([7,2]);
translate([36.8, 16.3])
circle(d=2);
translate([41.77, 16.3])