Browse Source

Slight changes to co2 bottle cap adapter

Thomas Buck 6 years ago
parent
commit
caf5d815e9
2 changed files with 54985 additions and 7 deletions
  1. 19
    7
      BottleCap/CapAdapter.scad
  2. 54966
    0
      BottleCap/CapAdapter.stl

+ 19
- 7
BottleCap/CapAdapter.scad View File

22
 channel_diameter = 4;
22
 channel_diameter = 4;
23
 wall_size = 4;
23
 wall_size = 4;
24
 pipe_diameter = 4;
24
 pipe_diameter = 4;
25
-pipe_wall_size = 1.2;
25
+pipe_wall_size = 2.2;
26
 pipe_height = 20;
26
 pipe_height = 20;
27
 
27
 
28
 hose_offset = 6.5;
28
 hose_offset = 6.5;
35
 thread2_pitch = 0.8;
35
 thread2_pitch = 0.8;
36
 thread2_height = 10;
36
 thread2_height = 10;
37
 
37
 
38
+oring_height = 2.2;
39
+oring_dia_add = 4.2;
40
+
38
 // OpenSCAD Threads
41
 // OpenSCAD Threads
39
 // http://dkprojects.net/openscad-threads/
42
 // http://dkprojects.net/openscad-threads/
40
-include <threads.scad>;
43
+//include <threads.scad>;
44
+
45
+// threads are not really useful in these sizes...
46
+module metric_thread(dia, pitch, height, internal) {
47
+    cylinder(d = dia - pitch, h = height);
48
+}
41
 
49
 
42
 module cap() {
50
 module cap() {
43
     rotate([180, 0, 0])
51
     rotate([180, 0, 0])
72
         
80
         
73
         // gas input thread
81
         // gas input thread
74
         translate([-diameter / 2 - 1, 0, (channel_diameter / 2) + wall_size])
82
         translate([-diameter / 2 - 1, 0, (channel_diameter / 2) + wall_size])
75
-            rotate([0, 90, 0])
83
+        rotate([0, 90, 0]) {
76
             metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
84
             metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
85
+            cylinder(d = thread2_diameter + oring_dia_add, h = oring_height + 1);
86
+        }
77
         
87
         
78
         // liquid output thread
88
         // liquid output thread
79
         translate([diameter / 2 - thread2_height, 0, (channel_diameter / 2) + wall_size])
89
         translate([diameter / 2 - thread2_height, 0, (channel_diameter / 2) + wall_size])
80
-            rotate([0, 90, 0])
90
+        rotate([0, 90, 0]) {
81
             metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
91
             metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
92
+            translate([0, 0, thread2_height - oring_height])
93
+                cylinder(d = thread2_diameter + oring_dia_add, h = oring_height + 1);
94
+        }
82
     }
95
     }
83
     
96
     
84
     // liquit output inlet
97
     // liquit output inlet
103
     translate([diameter + hose_offset, 0, 6])
116
     translate([diameter + hose_offset, 0, 6])
104
         rotate([0, -90, 0])
117
         rotate([0, -90, 0])
105
         tube_adapter();
118
         tube_adapter();
106
-    
107
     */
119
     */
108
 }
120
 }
109
 
121
 
110
-//translate([0, 0, channel_diameter + (2 * wall_size)])
111
-//rotate([180, 0, 0])
122
+translate([0, 0, channel_diameter + (2 * wall_size)])
123
+rotate([180, 0, 0])
112
     adapter();
124
     adapter();

+ 54966
- 0
BottleCap/CapAdapter.stl
File diff suppressed because it is too large
View File


Loading…
Cancel
Save