2019-04-16 18:35:39 +00:00
|
|
|
include <./box_laser.scad>;
|
|
|
|
|
|
|
|
module arduino () {
|
|
|
|
X = 53.5;
|
|
|
|
Y = 68.75;
|
|
|
|
Z = 22.5;
|
|
|
|
//cube([X, Y, Z], center = true);
|
|
|
|
translate ([-27, -39, 0]) {
|
2019-04-24 21:22:34 +00:00
|
|
|
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);
|
2019-04-16 18:35:39 +00:00
|
|
|
|
|
|
|
//cylinder(r = 3.5 / 2, h = 100, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-16 19:26:41 +00:00
|
|
|
projection () difference () {
|
2019-04-16 18:35:39 +00:00
|
|
|
$fn = 60;
|
2019-04-24 21:22:34 +00:00
|
|
|
Box2D([170, 170, 50], center = true);
|
2019-04-16 19:26:41 +00:00
|
|
|
|
|
|
|
//sainsmart 8
|
2019-04-24 21:22:34 +00:00
|
|
|
translate([10, 43 + 10, 0]) {
|
2019-04-16 18:35:39 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2019-04-16 19:26:41 +00:00
|
|
|
//arduino
|
2019-04-24 21:22:34 +00:00
|
|
|
translate([-40, 64 + 10, 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);
|
2019-04-16 19:26:41 +00:00
|
|
|
|
|
|
|
//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([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([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);
|
2019-04-16 18:35:39 +00:00
|
|
|
}
|
|
|
|
|