deflationcap.scad 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. $fn=90;
  2. use <threads.scad>;
  3. include <sum.scad>;
  4. Debug=false;
  5. Schnitt=false;
  6. /* [Hidden] */
  7. Inch=25.4;
  8. Delta=0.01;
  9. intersection() {
  10. L=[0.5,1.5,2.5,4,1];
  11. union() {
  12. difference() {
  13. // aussen
  14. union() {
  15. cylinder(d1=10, d2=11, h=L[0]);
  16. translate([0,0,sump(L,0)]) cylinder(d=11, h=sump(L,3));
  17. }
  18. // innen
  19. translate([0,0,sump(L,1)]) metric_thread(diameter=0.305*Inch+0.15, pitch=Inch/32, length=sumt(L)+2*Delta, test=Debug);
  20. translate([0,0,sump(L,3)+Delta-L[4]/2]) cylinder(d1=7, d2=9, h=L[4]); // Fase
  21. for(i=[0:360/5:359]) rotate([0,0,i]) union() {
  22. translate([2.25,0,-1]) cylinder(d=1.3, h=sump(L,2));
  23. // rotate([0,90,0]) translate([0,0,2]) cylinder(d=1.5, h=6);
  24. }
  25. }
  26. cylinder(d=2, h=sump(L,2));
  27. for(i=[0:360/32:359]) rotate([0,0,i]) translate([11/2,0,1]) union() {
  28. cylinder(d1=0, d2=1, h=0.5, $fn=4);
  29. translate([0,0,0.5]) cylinder(d=1, h=(sumt(L)-3), $fn=4);
  30. translate([0,0,sumt(L)-3+0.5]) cylinder(d1=1, d2=0, h=0.5, $fn=4);
  31. }
  32. }
  33. translate([0,(Schnitt)?50:0,0]) cube(100, center=true);
  34. }