From f123d3acb5e918b6a21af0a65bba4dc0395c73f3 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 12 Aug 2018 21:20:15 +0000 Subject: finetune filament offset relative to the pulley --- diff --git a/another.scad b/another.scad index b80d0d0..a93d21a 100644 --- a/another.scad +++ b/another.scad @@ -18,6 +18,7 @@ module the_extruder( 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 @@ -121,7 +122,7 @@ module the_extruder( 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]) @@ -152,12 +153,12 @@ module the_extruder( // 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 @@ -246,7 +247,7 @@ module the_extruder( // 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: @@ -292,7 +293,7 @@ module the_extruder( }//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]) { @@ -328,7 +329,7 @@ module the_extruder( (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) ) ); -- cgit v0.9.0.2