-rw-r--r-- | another.scad | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/another.scad b/another.scad index b7b6e3a..7c4bf37 100644 --- a/another.scad +++ b/another.scad | |||
@@ -33,12 +33,14 @@ module the_extruder( | |||
33 | knob_indents = 12, | 33 | knob_indents = 12, |
34 | 34 | ||
35 | // screw it | 35 | // screw it |
36 | mount_screw_d = 3, mount_screw_l = 20, | 36 | mount_screw_d = 3, mount_screw_l = 20, |
37 | mount_screwhead_d=6, mount_screwhead_h=3, | 37 | mount_screwhead_d=6, mount_screwhead_h=3, |
38 | 38 | ||
39 | pf = pushfit_embeddest, | ||
40 | |||
39 | // empty spaces | 41 | // empty spaces |
40 | idler_travel = 3, // how far should idler travel when pressed | 42 | idler_travel = 3, // how far should idler travel when pressed |
41 | idler_clearance=1, | 43 | idler_clearance=1, |
42 | pulley_clearance=2, | 44 | pulley_clearance=2, |
43 | lever_v_clearance=.7, // vertical clearance for the lever | 45 | lever_v_clearance=.7, // vertical clearance for the lever |
44 | spring_d_clearance=1, | 46 | spring_d_clearance=1, |
@@ -104,13 +106,13 @@ module the_extruder( | |||
104 | }//place idler | 106 | }//place idler |
105 | // filament path | 107 | // filament path |
106 | rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) { | 108 | rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) { |
107 | rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); | 109 | rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); |
108 | rotate([-90,0,0]) | 110 | rotate([-90,0,0]) |
109 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) | 111 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) |
110 | pushfit(pushfit_threaded); | 112 | pushfit(pf); |
111 | } | 113 | } |
112 | }//translate teeth | 114 | }//translate teeth |
113 | }//translate pulley | 115 | }//translate pulley |
114 | }//translate protrusion | 116 | }//translate protrusion |
115 | }//vitamins | 117 | }//vitamins |
116 | 118 | ||
@@ -201,13 +203,13 @@ module the_extruder( | |||
201 | 203 | ||
202 | // pushfit bracket | 204 | // pushfit bracket |
203 | translate([0,0,filament_elevation]) | 205 | translate([0,0,filament_elevation]) |
204 | rotate([0,0,45]) translate([pulley_d/2,0,0]) | 206 | rotate([0,0,45]) translate([pulley_d/2,0,0]) |
205 | rotate([-90,0,0]) | 207 | rotate([-90,0,0]) |
206 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) | 208 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) |
207 | cylinder(r=min(body_h-filament_elevation,filament_elevation)/sin(60)-epsilon,h=10+gearbox_d/2/*TODO:*/,$fn=6); | 209 | cylinder(r=min(body_h-filament_elevation,filament_elevation)/sin(60)-epsilon,h=pf_h(pf)+gearbox_d/2/*TODO:*/,$fn=6); |
208 | }//union (first child of difference) | 210 | }//union (first child of difference) |
209 | // protrusion | 211 | // protrusion |
210 | translate([0,0,-1]) | 212 | translate([0,0,-1]) |
211 | cylinder(d=protrusion_d+protrusion_tolerance_h,h=protrusion_h+protrusion_tolerance_v+1,$fn=2*PI*protrusion_d); | 213 | cylinder(d=protrusion_d+protrusion_tolerance_h,h=protrusion_h+protrusion_tolerance_v+1,$fn=2*PI*protrusion_d); |
212 | // mount screw holes | 214 | // mount screw holes |
213 | for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) { | 215 | for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) { |
@@ -222,13 +224,13 @@ module the_extruder( | |||
222 | // pushfit threads | 224 | // pushfit threads |
223 | translate([0,0,filament_elevation]) | 225 | translate([0,0,filament_elevation]) |
224 | rotate([0,0,45]) translate([pulley_d/2,0,0]) | 226 | rotate([0,0,45]) translate([pulley_d/2,0,0]) |
225 | rotate([-90,0,0]) | 227 | rotate([-90,0,0]) |
226 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d+epsilon]) | 228 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d+epsilon]) |
227 | rotate([0,0,180]) { | 229 | rotate([0,0,180]) { |
228 | pushfit(pushfit_threaded); | 230 | pushfit(pf); |
229 | cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=2*PI*filament_guide_d); | 231 | cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=2*PI*filament_guide_d); |
230 | translate([0,-filament_guide_d/2/sqrt(2),0]) | 232 | translate([0,-filament_guide_d/2/sqrt(2),0]) |
231 | rotate([0,0,45]) | 233 | rotate([0,0,45]) |
232 | cube(size=[filament_guide_d/2,filament_guide_d/2,gearbox_d],center=true); | 234 | cube(size=[filament_guide_d/2,filament_guide_d/2,gearbox_d],center=true); |
233 | } | 235 | } |
234 | // pulley | 236 | // pulley |