summaryrefslogtreecommitdiff
path: root/Maus.scad
blob: 8edfbf6d0dad9252cd285c78a3e765e64e61043f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
$fn = 100;

Bauchpunkte = [
  for (i = [0: 10])
    [10 + 0.01 * i*i,-1.2*i],
  for (i = [10: -1: 0])
    [12 - 0.01 * i*i,-24+1.2*i],
  [0,-24],
  [0,0]
];

Ohrpunkte = [
  [0,2],[8,5],[0,5]
];

rotate_extrude(angle = 360){
  intersection() {
    square(10);
    circle(r = 10);
  };
  polygon(
    points = Bauchpunkte
  );
  translate([9,-24,0])
    intersection() {
      translate([0,-3,0])
        square(3);
      circle(r = 3);
    };
  translate([0,-27,0])
    square([9,3]);
};
intersection() {
  translate([18,0,0])
    intersection_for(i = [0:1])
      rotate([0,90+15*i,0])
        translate([0,0,-13])
          cylinder(13,8+3*i,0);
  translate([0,-10,-10])
    cube([16,20,20]);
}
intersection() {
  translate([15,0,0])
    sphere(r = 1.75);
  translate([18,0,0])
    rotate([0,105,0])
      translate([0,0,-13])
        cylinder(13,11,0);
}
for(i=[-1:2:1])
  translate([7,6*i,3]) {
    sphere(r = 3);
    intersection() {
      sphere(r = 3.5);
      rotate([-20*i,-30,0])
        translate([-10,-10,0])
          cube(20);
    }
  }
for(i=[0:180:180])
  translate([0,0,8])
    rotate([0,-90,i])
      union() {
        linear_extrude(2, center=true) {
          hull() {
            polygon(points = Ohrpunkte);
            translate([6.5,6.5])
              circle(4);
          }
        }
      }
for(i=[-1:2:1])
  translate([20,7*i,-26])
    rotate([0,0,5*i])
      union() {
        hull() {
          for(j=[-1:2:1])
            translate([-20,j*1.5,0])
              rotate([0,90,0])
                cylinder(h = 20, r = 1);
          translate([-20,0,3.5])
            rotate([00,95,0]) {
              cylinder(h=20, r=2);
              translate([0,0,20])
                scale([1,1,1/2])
                  sphere(r=2);
            }
        }
        hull()
          for(j=[-1:2:1])
            for(k=[0:1])
              translate([0,j*(1.5-0.5*k),5*k])
                sphere(r=1);
      }
for(i=[-1:2:1])
  translate([23,i*10,-13])
    rotate([90 - 5*i,200,0]) {
      rotate_extrude(angle = 35)
        translate([25,0,0])
          circle(r=2.5);
      translate([25,0,0])
        sphere(r = 2.5);
      rotate([0,0,35])
        translate([25,0,0])
          sphere(r = 2.5);
    }