Fix the box size. Components are too crowded

This commit is contained in:
Matt McWilliams 2023-02-27 12:43:36 -05:00
parent dae438443f
commit d3d06f034d
1 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
include <../common/common.scad>; include <../common/common.scad>;
X = 100; X = 115;
Y = 60; Y = 60;
Z = 30; Z = 40;
USB = -30; USB = -30;
L289N = 10; L289N = 10;
@ -40,8 +40,8 @@ module l289N_mount () {
} }
module Arduino_Nano_mount () { module Arduino_Nano_mount () {
X = 18.02; X = 18.2;
Y = 43.5; Y = 43.9;
Z = 10.5; Z = 10.5;
BOARD_Z = 1.5; BOARD_Z = 1.5;
difference () { difference () {
@ -82,8 +82,8 @@ module case_bottom () {
translate ([-20, 0, 0]) { translate ([-20, 0, 0]) {
translate([L289N, -20 + 2, -8]) l289N_mount(); translate([L289N, -20 + 2, -(Z/2) + 7.2]) l289N_mount();
translate([-10, 6, -7.1]) Arduino_Nano_mount(); translate([-10, 6, -(Z/2) + 7.9]) Arduino_Nano_mount();
} }
} }
@ -106,12 +106,12 @@ module case_top () {
} }
module emboss (string) { module emboss (string) {
letter = 4; letter = 6;
color("red") linear_extrude(10) { color("red") linear_extrude(10) {
text(string, size = letter, halign = "center", valign = "center", $fn = 64); text(string, size = letter, halign = "center", valign = "center", $fn = 64);
} }
} }
case_top(); //case_top();
//case_bottom(); case_bottom();