summaryrefslogtreecommitdiff
path: root/Maus.scad
blob: d320c38a28e62b5961a8e74712063b2bf5dcf6ad (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
$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,2],[10,5],[10,8],[8,10],[4,9],[2,7]
];

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]);
}
translate([15,0,0])
  sphere(r = 1.75);
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])
      linear_extrude(2, center=true)
        polygon(points = Ohrpunkte);