Browse Source

printed design ver1

lightsleep
Hendrik Langer 7 years ago
parent
commit
dea68fff55
  1. 18
      cad/box.scad
  2. 23
      cad/electronics_plate.scad
  3. 26670
      cad/electronics_plate.stl
  4. 3794
      cad/roof1.stl

18
cad/box.scad

@ -60,11 +60,11 @@ module screwhole() {
}
}
module rail() {
module rail(length=57+2) {
rotate([90,0,0]) {
difference() {
linear_extrude(height=57+2) polygon([[-1.4,0],[1.4,0],[2.4,4],[-2.4,4]]);
translate([-5,0,57+2]) rotate([-45,0,0]) cube([10,10,10]);
linear_extrude(height=length) polygon([[-1.4,0],[1.4,0],[2.4,4],[-2.4,4]]);
translate([-5,0,length]) rotate([-45,0,0]) cube([10,10,10]);
}
}
}
@ -139,11 +139,11 @@ module roof1() {
translate([0,0,74]) rotate([7,0,0]) cube([130-4,57,8]);
translate([0,-8,74+4+6]) rotate([7,0,0]) cube([130-4,57+2*8,8]);
minkowski() {
translate([-4,57+8,81.8]) rail();
translate([-4,57-1.2+8,81.8]) rail(57+2+8);
cylinder(r=0.4,h=0.4);
}
minkowski() {
translate([130,57+8,81.8]) rail();
translate([130,57-1.2+8,81.8]) rail(57+2+8);
cylinder(r=0.4,h=0.4);
}
}
@ -152,7 +152,7 @@ module roof1() {
}
//color([0,1,0])
difference() {
% difference() {
base(80);
translate([-50,56.8,-30]) cube([250,20,150]); // subtract back
}
@ -164,4 +164,8 @@ module roof1() {
}
//color([1,0,0])
% roof1();
difference() {
roof1();
translate([-50,56.8,-30]) cube([250,20,150]); // subtract back
// ToDo: don't subtract back but make back side not as tall as it is now
}

23
cad/electronics_plate.scad

@ -2,13 +2,14 @@ $fn = 50;
module holeRad() {
cylinder(r=2,h=3);
translate([0,0,2.2]) cylinder(r=3.8,h=3);
}
module mountSDS() {
union() {
difference() {
cylinder(r=5/2,h=20);
translate([0,0,-0.5]) cylinder(r=1.4,h=20+1);
translate([0,0,-0.5]) cylinder(r=1.5,h=20+1);
}
cylinder(r1=4.6,r2=5/2,h=3);
}
@ -41,12 +42,26 @@ module mountPCB() {
difference() {
cube([130,75,1.8]);
translate([7,10,0]) holesRad();
translate([7.6,10,0]) holesRad();
translate([20,5,-0.5]) cube([26,12,3]);
}
translate([56,72.5,1.4]) rotate(-90) standsSDS();
difference() {
translate([56,72.5,1.4]) rotate(-90) standsSDS();
translate([7.6,10,0]) holesRad();
}
translate([5,15,1.0]) mountPCB();
difference() {
translate([0,0,1.8]) rotate([0,45,0]) cube([4,75,4]);
translate([-20,-20,-20]) cube([200,200,20]);
translate([7.6,10,0]) holesRad();
}
difference() {
translate([130-sqrt(4*4+4*4),0,1.8]) rotate([0,45,0]) cube([4,75,4]);
translate([-20,-20,-20]) cube([200,200,20]);
}
translate([sqrt(4*4+4*4)/2,15,0]) cube([6,45,4.65]);

26670
cad/electronics_plate.stl

File diff suppressed because it is too large

3794
cad/roof1.stl

File diff suppressed because it is too large
Loading…
Cancel
Save