diff options
author | Erich Eckner <git@eckner.net> | 2022-09-04 15:21:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-09-04 15:21:42 +0200 |
commit | 9a9e1346637926cde74a468d462ae02fd3e6c27b (patch) | |
tree | b79aee1bb3c1177cba98becae9c766365c206ec7 | |
parent | 9adb8713f22f1e138fb47e3a8331b571c60f2fd9 (diff) | |
download | Regalmupfen-9a9e1346637926cde74a468d462ae02fd3e6c27b.tar.xz |
verbessert
-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 |