author | Michael Krelin <hacker@klever.net> | 2018-08-12 00:52:29 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-12 00:52:29 (UTC) |
commit | 84832958278728643334a327bc3a2783ad354d72 (patch) (unidiff) | |
tree | ded21c16730d38a19cd8e89f3e52314018e7eeb3 | |
parent | 60f188ff063a4c6f7e5d4a1078fd520a84f829c4 (diff) | |
download | extrudery-84832958278728643334a327bc3a2783ad354d72.zip extrudery-84832958278728643334a327bc3a2783ad354d72.tar.gz extrudery-84832958278728643334a327bc3a2783ad354d72.tar.bz2 |
increase spring tensioner screw tolerance
-rw-r--r-- | another.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/another.scad b/another.scad index 4c4af5c..f54c5cd 100644 --- a/another.scad +++ b/another.scad | |||
@@ -1,126 +1,126 @@ | |||
1 | draft=true; | 1 | draft=true; |
2 | layer_height=0.2; extrusion_width=0.4; | 2 | layer_height=0.2; extrusion_width=0.4; |
3 | epsilon=0.01; | 3 | epsilon=0.01; |
4 | $fs=0.0125; | 4 | $fs=0.0125; |
5 | 5 | ||
6 | use <pushfittery.scad>; | 6 | use <pushfittery.scad>; |
7 | include <pushfit_data.scad>; | 7 | include <pushfit_data.scad>; |
8 | 8 | ||
9 | module the_extruder( | 9 | module the_extruder( |
10 | // motor properties | 10 | // motor properties |
11 | gearbox_d = 36, | 11 | gearbox_d = 36, |
12 | mount_d = 28, // the distance between opposite mounting holes | 12 | mount_d = 28, // the distance between opposite mounting holes |
13 | mounthole_depth = 5, | 13 | mounthole_depth = 5, |
14 | protrusion_d = 22, protrusion_h = 2.2, // the dimensions of the protrusion on top of gearbox | 14 | protrusion_d = 22, protrusion_h = 2.2, // the dimensions of the protrusion on top of gearbox |
15 | bore_d = 8, bore_l = 17.6, | 15 | bore_d = 8, bore_l = 17.6, |
16 | bore_dd = 7, | 16 | bore_dd = 7, |
17 | // pulley properties | 17 | // pulley properties |
18 | pulley_d = 11.5, pulley_h=10, | 18 | pulley_d = 11.5, pulley_h=10, |
19 | pulley_elevation = 1, // pulley elevation above the protrusion | 19 | pulley_elevation = 1, // pulley elevation above the protrusion |
20 | teeth_elevation = 7.5, // distance from the bottom of the pulley to its teeth | 20 | teeth_elevation = 7.5, // distance from the bottom of the pulley to its teeth |
21 | // idler properties | 21 | // idler properties |
22 | idler_d = 9.5, idler_h = 4, idler_id = 3,// idler dimensions: outer and inner diameters and height | 22 | idler_d = 9.5, idler_h = 4, idler_id = 3,// idler dimensions: outer and inner diameters and height |
23 | // spring properties | 23 | // spring properties |
24 | spring_d = 10, spring_lc = 9.6, // spring diameter and compressed length | 24 | spring_d = 10, spring_lc = 9.6, // spring diameter and compressed length |
25 | // filament path properties | 25 | // filament path properties |
26 | filament_d = 1.75, | 26 | filament_d = 1.75, |
27 | filament_path_d = 2, | 27 | filament_path_d = 2, |
28 | filament_guide_d = 4, // PTFE filament guide diameter | 28 | filament_guide_d = 4, // PTFE filament guide diameter |
29 | // knob properties | 29 | // knob properties |
30 | knob_h = 10, | 30 | knob_h = 10, |
31 | knob_bore_l = 4, | 31 | knob_bore_l = 4, |
32 | knob_indent_d = 4, | 32 | knob_indent_d = 4, |
33 | knob_indents = 12, | 33 | knob_indents = 12, |
34 | // spring tensioner | 34 | // spring tensioner |
35 | st_nut_d = 9, st_nut_h = 4, | 35 | st_nut_d = 9, st_nut_h = 4, |
36 | st_screw_d = 5, | 36 | st_screw_d = 5, |
37 | st_thickshell = 8*extrusion_width, st_thinshell = 4*extrusion_width, | 37 | st_thickshell = 8*extrusion_width, st_thinshell = 4*extrusion_width, |
38 | 38 | ||
39 | // screw it | 39 | // screw it |
40 | mount_screw_d = 3.1, mount_screw_l = 20, | 40 | mount_screw_d = 3.1, mount_screw_l = 20, |
41 | mount_screwhead_d=6, mount_screwhead_h=3, | 41 | mount_screwhead_d=6, mount_screwhead_h=3, |
42 | idler_screw_d = 3, | 42 | idler_screw_d = 3, |
43 | idler_screwhead_d=6, idler_screwhead_h=3, | 43 | idler_screwhead_d=6, idler_screwhead_h=3, |
44 | 44 | ||
45 | pf = pushfit_embeddest, | 45 | pf = pushfit_embeddest, |
46 | pf_shell = max(3*layer_height,3*extrusion_width), | 46 | pf_shell = max(3*layer_height,3*extrusion_width), |
47 | pf_smooth = true, | 47 | pf_smooth = true, |
48 | 48 | ||
49 | // empty spaces | 49 | // empty spaces |
50 | idler_travel = 3, // how far should idler travel when pressed | 50 | idler_travel = 3, // how far should idler travel when pressed |
51 | idler_clearance=1, | 51 | idler_clearance=1, |
52 | pulley_clearance=2, | 52 | pulley_clearance=2, |
53 | lever_v_clearance=.7, // vertical clearance for the lever | 53 | lever_v_clearance=.7, // vertical clearance for the lever |
54 | spring_d_clearance=1, | 54 | spring_d_clearance=1, |
55 | protrusion_tolerance_h=.5, // horizontal tolerance for the motor protrusion | 55 | protrusion_tolerance_h=.5, // horizontal tolerance for the motor protrusion |
56 | protrusion_tolerance_v=.5, // vertical tolerance for the motor protrusion | 56 | protrusion_tolerance_v=.5, // vertical tolerance for the motor protrusion |
57 | mount_screw_d_tolerance=.4, | 57 | mount_screw_d_tolerance=.4, |
58 | idler_v_tolerance=.5, | 58 | idler_v_tolerance=.5, |
59 | knob_bore_d_tolerance=.6, | 59 | knob_bore_d_tolerance=.6, |
60 | st_nut_h_tolerance=.2, | 60 | st_nut_h_tolerance=.2, |
61 | st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */ | 61 | st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */ |
62 | st_screw_d_tolerance=.3, | 62 | st_screw_d_tolerance=.5, |
63 | 63 | ||
64 | what="lever", // lever|body|knob|springpad|* | 64 | what="lever", // lever|body|knob|springpad|* |
65 | left=false, | 65 | left=false, |
66 | vitamins = true, | 66 | vitamins = true, |
67 | supports = false, bridges = true, | 67 | supports = false, bridges = true, |
68 | tensioner = true, | 68 | tensioner = true, |
69 | debug = false | 69 | debug = false |
70 | ) { | 70 | ) { |
71 | fnd = 2*PI; fnr = 2*fnd; | 71 | fnd = 2*PI; fnr = 2*fnd; |
72 | 72 | ||
73 | lever_shell = mount_screwhead_h+0.5; | 73 | lever_shell = mount_screwhead_h+0.5; |
74 | lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); | 74 | lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); |
75 | lsd = idler_d-idler_clearance*2; | 75 | lsd = idler_d-idler_clearance*2; |
76 | longwing=gearbox_d/2+spring_d/2+lsd/2; | 76 | longwing=gearbox_d/2+spring_d/2+lsd/2; |
77 | h_ = (pulley_d+idler_d)/(2*sqrt(2)); | 77 | h_ = (pulley_d+idler_d)/(2*sqrt(2)); |
78 | ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); | 78 | ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); |
79 | spring_dl = idler_travel*longwing/ri; | 79 | spring_dl = idler_travel*longwing/ri; |
80 | 80 | ||
81 | filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; | 81 | filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; |
82 | ls_z = filament_elevation; // leverspace mid-z | 82 | ls_z = filament_elevation; // leverspace mid-z |
83 | body_h = max(protrusion_h+bore_l,mount_screw_l-mounthole_depth/2+mount_screwhead_h,ls_z*2); | 83 | body_h = max(protrusion_h+bore_l,mount_screw_l-mounthole_depth/2+mount_screwhead_h,ls_z*2); |
84 | ls_h = lever_thickness+lever_v_clearance; // leverspace height | 84 | ls_h = lever_thickness+lever_v_clearance; // leverspace height |
85 | 85 | ||
86 | module mirrorleft() { | 86 | module mirrorleft() { |
87 | mirror([left?0:1,0,0]) children(); | 87 | mirror([left?0:1,0,0]) children(); |
88 | } | 88 | } |
89 | module place_idler() { | 89 | module place_idler() { |
90 | rotate([0,0,45]) | 90 | rotate([0,0,45]) |
91 | translate([(pulley_d+idler_d)/2,0,0]) | 91 | translate([(pulley_d+idler_d)/2,0,0]) |
92 | children(); | 92 | children(); |
93 | } | 93 | } |
94 | module finger_indent(d=lever_thickness,depth/*=1*/,r/*=15*/) { | 94 | module finger_indent(d=lever_thickness,depth/*=1*/,r/*=15*/) { |
95 | if(depth) { | 95 | if(depth) { |
96 | hh = (-4*pow(depth,2)+pow(d,2))/(8*depth); | 96 | hh = (-4*pow(depth,2)+pow(d,2))/(8*depth); |
97 | rr = depth+hh; | 97 | rr = depth+hh; |
98 | translate([0,0,hh]) sphere(r=rr,$fn=fnr*rr); | 98 | translate([0,0,hh]) sphere(r=rr,$fn=fnr*rr); |
99 | }else if(r) { | 99 | }else if(r) { |
100 | hh=sqrt(pow(r,2)-pow(d,2)/4); | 100 | hh=sqrt(pow(r,2)-pow(d,2)/4); |
101 | translate([0,0,hh]) sphere(r=r,$fn=fnr*r); | 101 | translate([0,0,hh]) sphere(r=r,$fn=fnr*r); |
102 | } | 102 | } |
103 | } | 103 | } |
104 | 104 | ||
105 | % if(vitamins) mirrorleft() { | 105 | % if(vitamins) mirrorleft() { |
106 | translate([0,0,-epsilon]) mirror([0,0,1]) cylinder(d=gearbox_d,h=1,$fn=60); | 106 | translate([0,0,-epsilon]) mirror([0,0,1]) cylinder(d=gearbox_d,h=1,$fn=60); |
107 | for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) | 107 | for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) |
108 | cylinder(d=mount_screw_d,h=20,$fn=30); | 108 | cylinder(d=mount_screw_d,h=20,$fn=30); |
109 | translate([0,0,-epsilon]) cylinder(d=protrusion_d,h=protrusion_h,$fn=30); | 109 | translate([0,0,-epsilon]) cylinder(d=protrusion_d,h=protrusion_h,$fn=30); |
110 | translate([0,0,protrusion_h]) { | 110 | translate([0,0,protrusion_h]) { |
111 | difference() { | 111 | difference() { |
112 | cylinder(d=bore_d,h=bore_l,$fn=30); | 112 | cylinder(d=bore_d,h=bore_l,$fn=30); |
113 | translate([-bore_d/2-1,bore_dd-bore_d/2,-1]) | 113 | translate([-bore_d/2-1,bore_dd-bore_d/2,-1]) |
114 | cube([bore_d+2,bore_d/2,bore_l+2]); | 114 | cube([bore_d+2,bore_d/2,bore_l+2]); |
115 | } | 115 | } |
116 | translate([0,0,pulley_elevation]) { | 116 | translate([0,0,pulley_elevation]) { |
117 | cylinder(d=pulley_d,h=pulley_h,$fn=30); | 117 | cylinder(d=pulley_d,h=pulley_h,$fn=30); |
118 | translate([0,0,teeth_elevation]) { | 118 | translate([0,0,teeth_elevation]) { |
119 | place_idler() { | 119 | place_idler() { |
120 | cylinder(d=idler_d,h=idler_h,center=true,$fn=30); | 120 | cylinder(d=idler_d,h=idler_h,center=true,$fn=30); |
121 | cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30); | 121 | cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30); |
122 | }//place idler | 122 | }//place idler |
123 | // filament path | 123 | // filament path |
124 | rotate([0,0,45]) translate([pulley_d/2,0,0]) { | 124 | rotate([0,0,45]) translate([pulley_d/2,0,0]) { |
125 | rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); | 125 | rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); |
126 | rotate([-90,0,0]) | 126 | rotate([-90,0,0]) |