summaryrefslogtreecommitdiff
path: root/Schrankgriff.scad
blob: 669304a8aa9d78530c51b0b2a90c35b9341ad3ea (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
Maus = false;

epsilon = 0.05;

if (Maus) {
  difference(){
    include<Schrankgriff_mit_Maus.scad>;
    intersection() {
      translate([-epsilon,0,-1])
        union(){
          translate([-34,-4.5-epsilon,0])
            cube([100,9 + 2*epsilon,100]);
          linear_extrude(100)
            polygon(
              points = [[-34,-4.5-epsilon],[-34,4.5+epsilon],[-38.5,0]]
            );
        };
      translate([0,0,-70])
        sphere(r = 95 + epsilon, $fn = 500);
    };
  }
} else {
  intersection(){
    include<Schrankgriff_mit_Maus.scad>;
    union() {
      translate([-34,-4.5,0])
        cube([100,9,100]);
      linear_extrude(100)
        polygon(
          points = [[-34,-4.5],[-34,4.5],[-38.5,0]]
        );
    };
    translate([0,0,-70])
      sphere(r = 95, $fn = 500);
  }
}