diff options
-rw-r--r-- | Regalmupfen.scad | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Regalmupfen.scad b/Regalmupfen.scad index d4bd861..9715259 100644 --- a/Regalmupfen.scad +++ b/Regalmupfen.scad @@ -1,8 +1,16 @@ Radius = 0.5; Hoehe = 1.3; +Phase = 0.1; +Basisdicke = 0.2; +Basisextra = 0.2; Bohrung = 0.25; difference() { - cylinder(h = Hoehe, r = Radius, center = true, $fn = 100); + 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)); }
\ No newline at end of file |