From 867d6a40691bf8ff44ba5b1fd81d598c426cf26c Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 1 May 2019 18:57:28 -0400 Subject: [PATCH] Update cases --- scad/arduino_sainsmart8_case.scad | 30 ++++++++++---------- scad/arduino_sainsmart8_sainsmart4_case.scad | 24 ++++++++-------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/scad/arduino_sainsmart8_case.scad b/scad/arduino_sainsmart8_case.scad index 09358af..fa879ac 100644 --- a/scad/arduino_sainsmart8_case.scad +++ b/scad/arduino_sainsmart8_case.scad @@ -6,10 +6,10 @@ module arduino () { Z = 22.5; //cube([X, Y, Z], center = true); translate ([-27, -39, 0]) { - translate([ 2.54, 15.24 , 0]) cylinder(r = 2 / 2, h = 100, center = true); - translate([ 17.78, 66.04 , 0]) cylinder(r = 2 / 2, h = 100, center = true); - translate([ 45.72, 66.04 ,0]) cylinder(r = 2 / 2, h = 100, center = true); - translate([ 50.8, 13.97 ,0]) cylinder(r = 2 / 2, h = 100, center = true); + translate([ 2.54, 15.24 , 0]) cylinder(r = 2.3 / 2, h = 100, center = true); + translate([ 17.78, 66.04 , 0]) cylinder(r = 2.3 / 2, h = 100, center = true); + translate([ 45.72, 66.04 ,0]) cylinder(r = 2.3 / 2, h = 100, center = true); + translate([ 50.8, 13.97 ,0]) cylinder(r = 2.3 / 2, h = 100, center = true); //cylinder(r = 3.5 / 2, h = 100, center = true); } @@ -21,27 +21,27 @@ projection () difference () { //sainsmart 8 translate([10, 43 + 10, 0]) { - translate([0, 0, 0]) cylinder(r = 3 / 2, h = 10, center = true); - translate([0, 121.5, 0]) cylinder(r = 3 / 2, h = 10, center = true); - translate([52, 121.5, 0]) cylinder(r = 3 / 2, h = 10, center = true); - translate([52, 0, 0]) cylinder(r = 3 / 2, h = 10, center = true); + translate([0, 0, 0]) cylinder(r = 2.3 / 2, h = 10, center = true); + translate([0, 119.5, 0]) cylinder(r = 2.3 / 2, h = 10, center = true); + translate([52, 119.5, 0]) cylinder(r = 2.3 / 2, h = 10, center = true); + translate([52, 0, 0]) cylinder(r = 2.3 / 2, h = 10, center = true); } //arduino - translate([-40, 64 + 10, 0]) arduino(); + translate([-40, 64 + 12, 0]) arduino(); translate([-50, 46 / 2 - 9 + 2, 0]) cube([18, 18, 20], center = true); translate([-19, 46 / 2 - 9 - 3 + 2, 0]) cylinder(r = 10 / 2, h= 30, center = true); translate([-19, 46 / 2 - 9 - 3 + 5 + 2, 0]) cube([10, 10, 30], center = true); //wires - translate([120, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); - translate([120, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); + translate([140, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); + translate([140, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); - translate([150, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); - translate([150, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); + translate([170, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); + translate([170, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); - translate([180, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); - translate([180, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); + translate([200, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); + translate([200, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); } diff --git a/scad/arduino_sainsmart8_sainsmart4_case.scad b/scad/arduino_sainsmart8_sainsmart4_case.scad index f0feef6..5ca574d 100644 --- a/scad/arduino_sainsmart8_sainsmart4_case.scad +++ b/scad/arduino_sainsmart8_sainsmart4_case.scad @@ -17,10 +17,10 @@ module arduino () { projection () difference () { $fn = 60; - Box2D([150, 150, 46], center = true); + Box2D([170, 170, 50], center = true); //sainsmart 8 - translate([10, 43, 0]) { + translate([10, 43 + 10, 0]) { translate([0, 0, 0]) cylinder(r = 3 / 2, h = 10, center = true); translate([0, 121.5, 0]) cylinder(r = 3 / 2, h = 10, center = true); translate([52, 121.5, 0]) cylinder(r = 3 / 2, h = 10, center = true); @@ -34,21 +34,21 @@ projection () difference () { translate([62, 0, 0]) cylinder(r = 3 / 2, h = 10, center = true); } //arduino - translate([-40, 64, 0]) arduino(); - translate([-50, 46 / 2 - 9, 0]) cube([18, 18, 20], center = true); - translate([-19, 46 / 2 - 9 - 3 ,0]) cylinder(r = 10 / 2, h= 30, center = true); - translate([-19, 46 / 2 - 9 - 3 + 5 ,0]) cube([10, 10, 30], center = true); + translate([-40, 64 + 12, 0]) arduino(); + translate([-50, 46 / 2 - 9 + 2, 0]) cube([18, 18, 20], center = true); + translate([-19, 46 / 2 - 9 - 3 + 2, 0]) cylinder(r = 10 / 2, h= 30, center = true); + translate([-19, 46 / 2 - 9 - 3 + 5 + 2, 0]) cube([10, 10, 30], center = true); //wires - translate([120, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); - translate([120, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); + translate([140, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); + translate([140, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); - translate([150, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); - translate([150, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); + translate([170, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); + translate([170, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); - translate([180, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); - translate([180, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); + translate([200, 46 / 2 - 12, 0]) cylinder(r = 5 / 2, h= 30, center = true); + translate([200, 46 / 2 - 12 + 7, 0]) cube([5, 14, 30], center = true); //wires