summaryrefslogtreecommitdiff
path: root/Regalmupfen.scad
blob: 97152590c5f2dc8566a73b7cbe63bae62ca0e60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Radius = 0.5;
Hoehe = 1.3;
Phase = 0.1;
Basisdicke = 0.2;
Basisextra = 0.2;
Bohrung = 0.25;

difference() {
    translate([0,0,-Hoehe/2])rotate_extrude($fn = 100) {
        polygon(points = [
            [0,-Basisdicke], [Radius+Basisextra,-Basisdicke], [Radius+Basisextra,0], [Radius,0], [Radius,0], [Radius, Hoehe - Phase], [Radius - Phase, Hoehe], [0, Hoehe]
        ]);
    };
    rotate([0,90,0])cylinder(h = 4*Radius, r = Bohrung, center = true, $fn = 100);
    translate([Radius,-Radius-Basisextra,-Hoehe/2-2*Basisdicke])cube(size = 2*(Radius+Basisextra+Basisdicke));
}