Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bumper position and encoder holes #114

Merged
merged 3 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion case/cheapino-bottom-left.scad
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
54 changes: 27 additions & 27 deletions case/cheapino-bottom-right.scad
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,41 @@ 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();
}
9 changes: 6 additions & 3 deletions case/modules.scad
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down