Dachluefter-Gehaeuse.scad 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. $fn=36;
  2. Bi=25; // Breite innen
  3. Li=70; // Länge innen
  4. Hi=20; // Höhe innen
  5. W=1.2; // Wandstärke
  6. R=1.5; // Abrundung Außenkanten
  7. La=Li+2*W-R;
  8. Ba=Bi+2*W-R;
  9. Ha=Hi+W-R/2;
  10. //translate([0,0,1]) cube([La,Ba,2], center=true);
  11. render()
  12. difference() {
  13. union() {
  14. hull() {
  15. translate([La/2, Ba/2, 0]) cylinder(d=R, h=1);
  16. translate([La/2, -Ba/2, 0]) cylinder(d=R, h=1);
  17. translate([-La/2, Ba/2, 0]) cylinder(d=R, h=1);
  18. translate([-La/2, -Ba/2, 0]) cylinder(d=R, h=1);
  19. translate([La/2, Ba/2, Ha]) sphere(d=R);
  20. translate([La/2, -Ba/2, Ha]) sphere(d=R);
  21. translate([-La/2, Ba/2, Ha]) sphere(d=R);
  22. translate([-La/2, -Ba/2, Ha]) sphere(d=R);
  23. }
  24. #hull() {
  25. for(i=[0,180]) rotate([0,0,i]) translate([(La+12)/2,0,0]) cylinder(d=10, h=4);
  26. H=8; translate([0,0,H/2]) cube([70, 20, H], center=true);
  27. }
  28. }
  29. translate([0,0,Hi/2]) cube([Li, Bi, Hi], center=true);
  30. for(i=[0,180]) rotate([0,0,i]) translate([(La+12)/2,0,0]) union() {
  31. cylinder(d=4, h=10, center=true);
  32. translate([0,0,3]) cylinder(r=5.6/sqrt(3), h=20, $fn=6, center=false);
  33. }
  34. translate([18,0,0]) union() {
  35. // Schalter
  36. cube([19.6, 13.2, 90], center=true);
  37. // Platine
  38. translate([-40,0,0]) cylinder(d=7, h=90, center=true);
  39. }
  40. }