Browse Source

Slight changes to co2 bottle cap adapter

Thomas Buck 5 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,7 +22,7 @@ include <HoseAdapter.scad>;
22 22
 channel_diameter = 4;
23 23
 wall_size = 4;
24 24
 pipe_diameter = 4;
25
-pipe_wall_size = 1.2;
25
+pipe_wall_size = 2.2;
26 26
 pipe_height = 20;
27 27
 
28 28
 hose_offset = 6.5;
@@ -35,9 +35,17 @@ thread2_diameter = 5;
35 35
 thread2_pitch = 0.8;
36 36
 thread2_height = 10;
37 37
 
38
+oring_height = 2.2;
39
+oring_dia_add = 4.2;
40
+
38 41
 // OpenSCAD Threads
39 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 50
 module cap() {
43 51
     rotate([180, 0, 0])
@@ -72,13 +80,18 @@ module adapter() {
72 80
         
73 81
         // gas input thread
74 82
         translate([-diameter / 2 - 1, 0, (channel_diameter / 2) + wall_size])
75
-            rotate([0, 90, 0])
83
+        rotate([0, 90, 0]) {
76 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 88
         // liquid output thread
79 89
         translate([diameter / 2 - thread2_height, 0, (channel_diameter / 2) + wall_size])
80
-            rotate([0, 90, 0])
90
+        rotate([0, 90, 0]) {
81 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 97
     // liquit output inlet
@@ -103,10 +116,9 @@ module adapter() {
103 116
     translate([diameter + hose_offset, 0, 6])
104 117
         rotate([0, -90, 0])
105 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 124
     adapter();

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


Loading…
Cancel
Save