summaryrefslogtreecommitdiff
path: root/Kaffeekurbelgriff.scad
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-10-15 09:39:23 +0200
committerErich Eckner <git@eckner.net>2023-10-15 09:39:23 +0200
commita9cd310229324aa199643860c18958eaf6b8af0c (patch)
treec455bf37f25e820a889dde239959ea0c74d3512d /Kaffeekurbelgriff.scad
parentb989abe6e26fcb26cf55a4bbcb074eda0e710619 (diff)
downloadKaffeekurbelgriff-a9cd310229324aa199643860c18958eaf6b8af0c.tar.xz
nun etwas runder
Diffstat (limited to 'Kaffeekurbelgriff.scad')
-rw-r--r--Kaffeekurbelgriff.scad15
1 files changed, 13 insertions, 2 deletions
diff --git a/Kaffeekurbelgriff.scad b/Kaffeekurbelgriff.scad
index 5305c6f..0fc184b 100644
--- a/Kaffeekurbelgriff.scad
+++ b/Kaffeekurbelgriff.scad
@@ -4,12 +4,23 @@ Kopfhoehe = 8;
h = 30;
dUnten = 17;
dOben = 29.5;
-$fn = 100;
+$fn = 300;
+rKante = 10;
Schraubenkopfdiagonale = Schluesselweite / cos(30);
difference() {
- cylinder(h = h, r1 = dUnten/2, r2 = dOben/2);
+// cylinder(h = h, r1 = dUnten/2, r2 = dOben/2);
+ rotate_extrude() {
+ polygon([
+ [0, 0],
+ for (hh = [0: 0.01: 1])
+ [dUnten/2 + (1-cos(hh*180))/2*(dOben-dUnten)/2, hh * (h-rKante)],
+ for (alpha = [0: 90])
+ [dOben/2 + (cos(alpha)-1)*rKante, h + (sin(alpha)-1)*rKante],
+ [0, h]
+ ]);
+ };
translate([0,0,-1])
cylinder(h = h+2, r = dSchraube/2);
translate([0,0,h - Kopfhoehe])