소스 검색

Slight changes to co2 bottle cap adapter

Thomas Buck 5 년 전
부모
커밋
caf5d815e9
2개의 변경된 파일54985개의 추가작업 그리고 7개의 파일을 삭제
  1. 19
    7
      BottleCap/CapAdapter.scad
  2. 54966
    0
      BottleCap/CapAdapter.stl

+ 19
- 7
BottleCap/CapAdapter.scad 파일 보기

@@ -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
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


Loading…
취소
저장