Volker Philippent 1 year ago
parent
commit
c1f7923491
1 changed files with 14 additions and 9 deletions
  1. 14 9
      Flaschentag.scad

+ 14 - 9
Flaschentag.scad

@@ -1,23 +1,28 @@
 $fn=120;
 
-D_I_1=28;
-D_I_2=26;
-H=7;
-Open=100;
+D_I_1=27;
+D_I_2=25;
+H=10;
+Dicke=2.5;
+Delta=0.001;
+Open=90;
 
 
 difference() {
   union() {
-    cylinder(d1=D_I_1+4, d2=D_I_2+4, h=H);
+    cylinder(d1=D_I_1+2*Dicke, d2=D_I_2+2*Dicke, h=H);
     hull() {
-      translate([-(D_I_2/2-4),0,0]) scale([1,1.5,1]) cylinder(d=8, h=H-1);
-      translate([-(D_I_2/2+4),0,0]) cylinder(d=8, h=2.5);
+      translate([-(D_I_2/2-4),0,0]) scale([1,1.5,1]) cylinder(d=8, h=H*3/5);
+      translate([-(D_I_2/2+5),0,0]) cylinder(d=10, h=2.5);
     }
   }
-  cylinder(d1=D_I_1, d2=D_I_2, h=H);
+  translate([1,0,-Delta]) cylinder(d1=D_I_1, d2=D_I_2, h=H+2*Delta);
   translate([0,0,-1]) for(j=[-Open/2:360/$fn:+Open/2]) rotate([0,0,j]) hull() {
     rotate([0,0,+360/$fn/2]) cube([60,0.001,20]);
     rotate([0,0,-360/$fn/2]) cube([60,0.001,20]);
   }
-  translate([-(D_I_2/2+4.5),0,0]) cylinder(d=3.5, h=20, center=true);
+  {
+    D=4;
+    translate([-(D_I_1+2*Dicke+D-(D_I_1-D_I_2)/2)/2,0,0]) cylinder(d=D, h=20, center=true);
+  }
 }