123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
-
-
-
-
-
-
-
-
-
- include <NecksCaps.scad>;
-
-
- diameter = 30.4;
- wall_height = 1.5;
-
-
-
-
-
- include <HoseAdapter.scad>;
-
- channel_diameter = 4;
- wall_size = 4;
- pipe_diameter = 4;
- pipe_wall_size = 1.2;
- pipe_height = 20;
-
- hose_offset = 6.5;
-
- thread_diameter = 5;
- thread_pitch = 0.8;
- thread_height = 15;
-
- thread2_diameter = 5;
- thread2_pitch = 0.8;
- thread2_height = 10;
-
-
-
- include <threads.scad>;
-
- module cap() {
- rotate([180, 0, 0])
-
- 28PCO1810 ();
-
-
- cylinder(d = diameter, h = channel_diameter + (2 * wall_size));
- }
-
- module adapter() {
- difference() {
- cap();
-
-
- translate([-diameter / 2 - 1, 0, (channel_diameter / 2) + wall_size])
- rotate([0, 90, 0])
- cylinder(d = channel_diameter, h = diameter / 2 - wall_size + 1);
-
-
- translate([wall_size, 0, (channel_diameter / 2) + wall_size])
- rotate([0, 90, 0])
- cylinder(d = channel_diameter, h = diameter / 2 - wall_size + 1);
-
-
- translate([-wall_size, 0, wall_size + channel_diameter - 20])
- cylinder(d = channel_diameter, h = 20);
-
-
- translate([wall_size, 0, wall_size + channel_diameter - 20])
- cylinder(d = channel_diameter, h = 20);
-
-
- translate([-diameter / 2 - 1, 0, (channel_diameter / 2) + wall_size])
- rotate([0, 90, 0])
- metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
-
-
- translate([diameter / 2 - thread2_height, 0, (channel_diameter / 2) + wall_size])
- rotate([0, 90, 0])
- metric_thread(thread2_diameter, thread2_pitch, thread2_height + 1, internal = true);
- }
-
-
- translate([wall_size, 0, -pipe_height - wall_height])
- difference() {
- cylinder(d = pipe_diameter + (2 * pipe_wall_size), h = pipe_height);
-
- translate([0, 0, -1])
- cylinder(d = pipe_diameter, h = pipe_height + 2);
-
- translate([0, 0, -1])
- metric_thread(thread_diameter, thread_pitch, thread_height + 1, internal = true);
- }
-
-
-
- }
-
-
-
- adapter();
|