summaryrefslogtreecommitdiff
path: root/Staubsaugerhalter.scad
blob: cef8969f6a6e2ac336ed7fb1c50d7ff0aa87fcd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
d = 5;
dInnen = 40;
l = 40;
dSteg = 6;
dSchwanz = 10;
bSteg = 10;
bSchwanz = 2;
dNut = 2;
$fn = 100;

translate([-dInnen/2-d,0,0])
  difference() {
    cylinder(r = dInnen/2 + d, h = l);
    translate([0,0,-1])
      cylinder(r = dInnen/2, h = l+2);
    rotate([0,0,135])
      translate([0,0,-1])
        cube([dInnen+d,dInnen+d,l+2]);
  }
intersection() {
  union() {
    translate([-d/2,-dSchwanz/2,0])
      cube([2*bSteg+d,dSchwanz,l]);
    translate([-d/2,0,l])
      rotate([0,90,0])
        cylinder(r = dSchwanz/2, h=2*bSteg+d);
  }
  rotate([0,5,0])
    union() {
      translate([-l,-dSteg/2,-l])
        cube([bSteg+l,dSteg,3*l]);
      translate([bSteg-bSchwanz,-dSchwanz/2,-l])
        cube([bSchwanz,dSchwanz,3*l]);
    }
}