Case improvements

This commit is contained in:
Matt McWilliams 2023-03-20 12:49:51 -04:00
parent c9fd2c90c2
commit 3625caafa9
1 changed files with 6 additions and 4 deletions

View File

@ -68,19 +68,21 @@ module case_bottom () {
difference () {
rounded_cube([X, Y, Z], d = 10, center = true, $fn = 40);
translate([0, 0, 3]) rounded_cube([X - 5, Y - 5, Z], d = 7, center = true, $fn = 40);
translate([USB, Y / 2, 7]) cube([8, 10, 30], center = true);
//MicroUSB
translate([USB, Y / 2, 7]) cube([8, 10, Z], center = true);
translate([(X / 2) - (13 / 2), -12, 4]) rotate([0, 90, 0]) cylinder(r = R(12), h = 13.5, center = true, $fn = 30);
//DC power connector
translate([(X / 2) - (13 / 2), -12, 4]) rotate([0, 90, 0]) cylinder(r = R(12.3), h = 13.5, center = true, $fn = 30);
//L289N wires
translate([L289N + 6, 0, 3]) {
rotate([90, 0, 0]) cylinder(r = R(4), h = Y + 1, center = true, $fn = 30);
translate([0, 0, Z / 2]) cube([4, Y + 1, Z], center = true);
}
//void for wire
translate([(X / 2), 12, 4]) rotate([0, 90, 0]) cylinder(r = R(5), h = 10, center = true, $fn = 30);
}
translate ([-20, 0, 0]) {
translate([L289N, -20 + 2, -(Z/2) + 7.2]) l289N_mount();
translate([-10, 6, -(Z/2) + 7.9]) Arduino_Nano_mount();