author | Michael Krelin <hacker@klever.net> | 2018-07-31 19:31:02 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-07-31 19:31:02 (UTC) |
commit | da262d91847673cd90269f164fc8ca5081333e3b (patch) (unidiff) | |
tree | 501351128b51c8d62e4c455fcd78eec31dca92f3 | |
parent | 703ec3a28bbc55c4d758d4dd8e8e03df27fb777d (diff) | |
download | extrudery-da262d91847673cd90269f164fc8ca5081333e3b.zip extrudery-da262d91847673cd90269f164fc8ca5081333e3b.tar.gz extrudery-da262d91847673cd90269f164fc8ca5081333e3b.tar.bz2 |
mixer: some parameters comments
-rw-r--r-- | mixer.scad | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,56 +1,56 @@ | |||
1 | layer_height=0.2; extrusion_width=0.45; | 1 | layer_height=0.2; extrusion_width=0.45; |
2 | epsilon=0.01; | 2 | epsilon=0.01; |
3 | $fs=0.125; | 3 | $fs=0.125; |
4 | 4 | ||
5 | draft=true; | 5 | draft=true; |
6 | 6 | ||
7 | use <threads.scad>; | 7 | use <threads.scad>; |
8 | module pushfit_thread(h=10) { | 8 | module pushfit_thread(h=10) { |
9 | thr = 3/8 + .5/25.4; | 9 | thr = 3/8 + .5/25.4; |
10 | slit = 25.4*thr/2 + 0.2; | 10 | slit = 25.4*thr/2 + 0.2; |
11 | if(draft) cylinder(d=thr*25.4,h=h); | 11 | if(draft) cylinder(d=thr*25.4,h=h); |
12 | else english_thread(diameter=thr,threads_per_inch=28,length=h/25.4,internal=true); | 12 | else english_thread(diameter=thr,threads_per_inch=28,length=h/25.4,internal=true); |
13 | translate([-2,-slit,0]) cube([4,2*slit,h]); | 13 | translate([-2,-slit,0]) cube([4,2*slit,h]); |
14 | } | 14 | } |
15 | 15 | ||
16 | module the_mixer( | 16 | module the_mixer( |
17 | pushfit_d = 10, pushfit_h = 10, | 17 | pushfit_d = 10, pushfit_h = 10, |
18 | pushfit_id = 6, | 18 | pushfit_id = 6, |
19 | pushfit_type = "threaded", // threaded|embedded|embeddest | 19 | pushfit_type = "threaded", // threaded|embedded|embeddest |
20 | pushfit_ring_h = 4.7, // height of embedded pushfit ring | 20 | pushfit_ring_h = 4.7, // height of embedded pushfit ring |
21 | pushfit_insert_d = 8, // diameter of pushfit insert legs hole | 21 | pushfit_insert_d = 8, // diameter of pushfit insert legs hole |
22 | pushfit_legspace_h = 3.2, // the height of legspace for embeddest variant | 22 | pushfit_legspace_h = 3.2, // the height of legspace for embeddest variant |
23 | pushfit_inlet_ch = 1, | 23 | pushfit_inlet_ch = 1, // inlet chamfer |
24 | liner_d = 4, liner_id = 2, | 24 | liner_d = 4, liner_id = 2, // ptfe liner inner and outer diameters |
25 | filament_d = 1.75, | 25 | filament_d = 1.75, |
26 | join_angle = 30, | 26 | join_angle = 30, |
27 | 27 | ||
28 | interpushfit = 2*extrusion_width, // space between two pushfit holes | 28 | interpushfit = 2*extrusion_width, // space between two pushfit holes |
29 | pushfit_s = 2, // shell around pushfit holes | 29 | pushfit_s = 2, // shell around pushfit holes |
30 | output_l = 4, // length of output after before pushfit | 30 | output_l = 4, // length of output after before pushfit |
31 | outer_r = 3, // outer radius | 31 | outer_r = 3, // outer radius |
32 | 32 | ||
33 | liner_d_tolerance = .2, | 33 | liner_d_tolerance = .2, |
34 | ) { | 34 | ) { |
35 | fnd = PI*2*2; fnr = fnd*2; | 35 | fnd = PI*2*2; fnr = fnd*2; |
36 | module liner(l,in) { | 36 | module liner(l,in) { |
37 | inh=ld-liner_id; | 37 | inh=ld-liner_id; |
38 | union() { | 38 | union() { |
39 | translate([0,0,inh]) | 39 | translate([0,0,inh]) |
40 | cylinder(d=ld,h=l-inh,$fn=ld*fnd); | 40 | cylinder(d=ld,h=l-inh,$fn=ld*fnd); |
41 | translate([0,0,-epsilon]) | 41 | translate([0,0,-epsilon]) |
42 | cylinder(d1=ld+epsilon,d2=liner_id-epsilon,h=inh+2*epsilon,$fn=ld*fnd); | 42 | cylinder(d1=ld+epsilon,d2=liner_id-epsilon,h=inh+2*epsilon,$fn=ld*fnd); |
43 | } | 43 | } |
44 | } | 44 | } |
45 | module pushfit() { | 45 | module pushfit() { |
46 | if(pushfit_type=="threaded") { | 46 | if(pushfit_type=="threaded") { |
47 | pushfit_thread(h=pushfit_h); | 47 | pushfit_thread(h=pushfit_h); |
48 | }else if(pushfit_type=="embedded") { | 48 | }else if(pushfit_type=="embedded") { |
49 | translate([0,0,pushfit_h-pushfit_ring_h]) | 49 | translate([0,0,pushfit_h-pushfit_ring_h]) |
50 | cylinder(d=pushfit_d,h=pushfit_ring_h,$fn=fnd); | 50 | cylinder(d=pushfit_d,h=pushfit_ring_h,$fn=fnd); |
51 | cylinder(d=pushfit_insert_d,h=pushfit_h,$fn=pushfit_insert_d*fnd); | 51 | cylinder(d=pushfit_insert_d,h=pushfit_h,$fn=pushfit_insert_d*fnd); |
52 | }else if(pushfit_type=="embeddest") { | 52 | }else if(pushfit_type=="embeddest") { |
53 | cylinder(d=pushfit_id,h=pushfit_h+1,$fn=pushfit_insert_d*fnd); | 53 | cylinder(d=pushfit_id,h=pushfit_h+1,$fn=pushfit_insert_d*fnd); |
54 | cylinder(d=pushfit_d,h=pushfit_legspace_h,$fn=pushfit_d*fnd); | 54 | cylinder(d=pushfit_d,h=pushfit_legspace_h,$fn=pushfit_d*fnd); |
55 | dd = pushfit_d-pushfit_id; | 55 | dd = pushfit_d-pushfit_id; |
56 | translate([0,0,pushfit_legspace_h-epsilon]) | 56 | translate([0,0,pushfit_legspace_h-epsilon]) |