Quellcode durchsuchen

BottleCap Adaptor update

Thomas Buck vor 7 Jahren
Ursprung
Commit
b0ad2ac0ea
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 21 neuen und 2 gelöschten Zeilen
  1. 21
    2
      BottleCap/CapAdapter.scad

+ 21
- 2
BottleCap/CapAdapter.scad Datei anzeigen

@@ -31,6 +31,10 @@ thread_diameter = 5;
31 31
 thread_pitch = 0.8;
32 32
 thread_height = 15;
33 33
 
34
+thread2_diameter = 5;
35
+thread2_pitch = 0.8;
36
+thread2_height = 10;
37
+
34 38
 // OpenSCAD Threads
35 39
 // http://dkprojects.net/openscad-threads/
36 40
 include <threads.scad>;
@@ -65,6 +69,16 @@ module adapter() {
65 69
         // liquid output inlet
66 70
         translate([wall_size, 0, wall_size + channel_diameter - 20])
67 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 84
     // liquit output inlet
@@ -79,15 +93,20 @@ module adapter() {
79 93
             metric_thread(thread_diameter, thread_pitch, thread_height + 1, internal = true);
80 94
     }
81 95
     
96
+    /*
97
+    // inlet hose adapter
82 98
     translate([-diameter - hose_offset, 0, 6])
83 99
         rotate([0, 90, 0])
84 100
         tube_adapter();
85 101
     
102
+    // outlet hose adapter
86 103
     translate([diameter + hose_offset, 0, 6])
87 104
         rotate([0, -90, 0])
88 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 112
     adapter();

Laden…
Abbrechen
Speichern