author | Michael Krelin <hacker@klever.net> | 2018-08-12 21:20:15 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-12 21:20:15 (UTC) |
commit | f123d3acb5e918b6a21af0a65bba4dc0395c73f3 (patch) (side-by-side diff) | |
tree | ac940d2b2c28ce486eee0b34872345d92e789901 | |
parent | 6c61457ea7bfaf0edc28f9e771bf608e2a9bc405 (diff) | |
download | extrudery-f123d3acb5e918b6a21af0a65bba4dc0395c73f3.zip extrudery-f123d3acb5e918b6a21af0a65bba4dc0395c73f3.tar.gz extrudery-f123d3acb5e918b6a21af0a65bba4dc0395c73f3.tar.bz2 |
finetune filament offset relative to the pulley
-rw-r--r-- | another.scad | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/another.scad b/another.scad index b80d0d0..a93d21a 100644 --- a/another.scad +++ b/another.scad @@ -17,8 +17,9 @@ module the_extruder( // pulley properties pulley_d = 11.5, pulley_h=10, pulley_elevation = 1, // pulley elevation above the protrusion teeth_elevation = 7.5, // distance from the bottom of the pulley to its teeth + filament_offset = (8.25-(3.0+3.5)/2) - 11.5/2 + 1.75/2, // idler properties idler_d = 9.5, idler_h = 4, idler_id = 3, // idler dimensions: outer and inner diameters and height // spring properties spring_d = 10, spring_lc = 9.6, // spring diameter and compressed length @@ -120,9 +121,9 @@ module the_extruder( cylinder(d=idler_d,h=idler_h,center=true,$fn=30); cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30); }//place idler // filament path - rotate([0,0,45]) translate([pulley_d/2,0,0]) { + rotate([0,0,45]) translate([pulley_d/2+filament_offset,0,0]) { rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); rotate([-90,0,0]) translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) pushfit(pf); @@ -151,14 +152,14 @@ module the_extruder( }//union // filament path place_idler() { - translate([-idler_d/2,0,0]) rotate([90,0,0]) { + translate([-idler_d/2+filament_offset,0,0]) rotate([90,0,0]) { cylinder(d=filament_path_d,h=3*gearbox_d,center=true,$fn=30); translate([0,-filament_path_d/2/sqrt(2),0]) rotate([0,0,45]) cube(size=[filament_path_d/2,filament_path_d/2,3*gearbox_d],center=true); }//rotate translate - translate([-idler_d/2,0,0]) + translate([-idler_d/2+filament_offset,0,0]) rotate([90,0,0]) translate([0,0, sqrt(2)*(mount_d-pulley_d+lsd)/2 ]) { @@ -245,9 +246,9 @@ module the_extruder( } // translate // pushfit bracket translate([0,0,filament_elevation]) - rotate([0,0,45]) translate([pulley_d/2,0,0]) + rotate([0,0,45]) translate([pulley_d/2+filament_offset,0,0]) rotate([-90,0,0]) translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) { pfbl = pf_h(pf)+gearbox_d/2; //TODO: if(pf_smooth) { @@ -291,9 +292,9 @@ module the_extruder( cylinder(d=mount_screwhead_d,h=body_h+1,$fn=fnd*mount_screwhead_d); }//for // pushfit translate([0,0,filament_elevation]) - rotate([0,0,45]) translate([pulley_d/2,0,0]) + rotate([0,0,45]) translate([pulley_d/2+filament_offset,0,0]) rotate([-90,0,0]) translate([0,0,mount_d/sqrt(2)/2+mount_screw_d+epsilon]) rotate([0,0,180]) { pushfit(pf); @@ -327,9 +328,9 @@ module the_extruder( a0_ = atan( (mount_d/sqrt(2)/2+mount_screw_d+pf_h(pf)+gearbox_d/2) / ( - pulley_d/2- + pulley_d/2+filament_offset- (pf_d(pf)+2*pf_shell)/2/cos(30) ) ); a0 = -135 + ( (a0_>0) ? a0_ : 180+a0_ ); |