浏览代码

BottleCap Adaptor update

Thomas Buck 6 年前
父节点
当前提交
b0ad2ac0ea
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 21 次插入2 次删除
  1. 21
    2
      BottleCap/CapAdapter.scad

+ 21
- 2
BottleCap/CapAdapter.scad 查看文件

31
 thread_pitch = 0.8;
31
 thread_pitch = 0.8;
32
 thread_height = 15;
32
 thread_height = 15;
33
 
33
 
34
+thread2_diameter = 5;
35
+thread2_pitch = 0.8;
36
+thread2_height = 10;
37
+
34
 // OpenSCAD Threads
38
 // OpenSCAD Threads
35
 // http://dkprojects.net/openscad-threads/
39
 // http://dkprojects.net/openscad-threads/
36
 include <threads.scad>;
40
 include <threads.scad>;
65
         // liquid output inlet
69
         // liquid output inlet
66
         translate([wall_size, 0, wall_size + channel_diameter - 20])
70
         translate([wall_size, 0, wall_size + channel_diameter - 20])
67
             cylinder(d = channel_diameter, h = 20);
71
             cylinder(d = channel_diameter, h = 20);
72
+        
73
+        // gas input thread
74
+        translate([-diameter / 2 - 1, 0, (channel_diameter / 2) + wall_size])
75
+            rotate([0, 90, 0])
76
+            metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
77
+        
78
+        // liquid output thread
79
+        translate([diameter / 2 - thread2_height, 0, (channel_diameter / 2) + wall_size])
80
+            rotate([0, 90, 0])
81
+            metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
68
     }
82
     }
69
     
83
     
70
     // liquit output inlet
84
     // liquit output inlet
79
             metric_thread(thread_diameter, thread_pitch, thread_height + 1, internal = true);
93
             metric_thread(thread_diameter, thread_pitch, thread_height + 1, internal = true);
80
     }
94
     }
81
     
95
     
96
+    /*
97
+    // inlet hose adapter
82
     translate([-diameter - hose_offset, 0, 6])
98
     translate([-diameter - hose_offset, 0, 6])
83
         rotate([0, 90, 0])
99
         rotate([0, 90, 0])
84
         tube_adapter();
100
         tube_adapter();
85
     
101
     
102
+    // outlet hose adapter
86
     translate([diameter + hose_offset, 0, 6])
103
     translate([diameter + hose_offset, 0, 6])
87
         rotate([0, -90, 0])
104
         rotate([0, -90, 0])
88
         tube_adapter();
105
         tube_adapter();
106
+    
107
+    */
89
 }
108
 }
90
 
109
 
91
-translate([0, 0, channel_diameter + (2 * wall_size)])
92
-rotate([180, 0, 0])
110
+//translate([0, 0, channel_diameter + (2 * wall_size)])
111
+//rotate([180, 0, 0])
93
     adapter();
112
     adapter();

正在加载...
取消
保存