-rw-r--r-- | another.scad | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/another.scad b/another.scad index 2ea5417..be0c887 100644 --- a/another.scad +++ b/another.scad @@ -111,25 +111,25 @@ module the_extruder( cylinder(d=bore_d,h=bore_l,$fn=30); translate([-bore_d/2-1,bore_dd-bore_d/2,-1]) cube([bore_d+2,bore_d/2,bore_l+2]); } translate([0,0,pulley_elevation]) { cylinder(d=pulley_d,h=pulley_h,$fn=30); translate([0,0,teeth_elevation]) { place_idler() { 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-filament_path_d)/2,0,0]) { + rotate([0,0,45]) translate([pulley_d/2,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); } }//translate teeth }//translate pulley }//translate protrusion }//vitamins module lever() { translate([0,0,protrusion_h+pulley_elevation+teeth_elevation]) { @@ -142,33 +142,33 @@ module the_extruder( cylinder(d=lsd,h=lever_thickness,center=true,$fn=60); }//hull hull() { translate([mount_d/2,0,0]) cylinder(d=lsd,h=lever_thickness,center=true,$fn=60); translate([mount_d/2,-longwing,0]) rotate([0,90,0]) cylinder(d=lever_thickness,h=lsd,center=true,$fn=60); }//hull }//union // filament path place_idler() { - translate([-(idler_d+filament_path_d)/2,0,0]) rotate([90,0,0]) { + translate([-idler_d/2,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+filament_path_d)/2,0,0]) + translate([-idler_d/2,0,0]) rotate([90,0,0]) translate([0,0, - sqrt(2)*(mount_d-pulley_d+filament_path_d+lsd)/2 + sqrt(2)*(mount_d-pulley_d+lsd)/2 ]) { cylinder(d1=filament_path_d,d2=2*filament_path_d, h=filament_path_d,$fn=2*filament_path_d*fnd); translate([0,0,filament_path_d-epsilon]) cylinder(d=2*filament_path_d,h=lsd,$fn=2*filament_path_d*fnd); } }//place_idler // idler space and mounting hole place_idler() { difference() { cylinder(d=idler_d+idler_clearance*2,h=idler_h+idler_v_tolerance,center=true,$fn=60); @@ -236,25 +236,25 @@ module the_extruder( translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, h=hf+epsilon, $fn=fnd*bigd); translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); } } } } // translate // pushfit bracket translate([0,0,filament_elevation]) - rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) + rotate([0,0,45]) translate([pulley_d/2,0,0]) rotate([-90,0,0]) translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) { pfb2a = pf_d(pf)+2*pf_shell; pfba = pfb2a/2; pfbd = pfb2a/cos(30); pfbs = pfb2a*tan(30); pfbl = pf_h(pf)+gearbox_d/2/*TODO:*/; cylinder(d=pfbd,h=pfbl,$fn=6); translate([-pfbs/2,0,0]) { hull() { translate([0,-pfba,0]) cube(size=[pfbs,pfb2a,pfbl]); cube(size=[pfbs,filament_elevation,pfbl-filament_elevation+pfba]); mirror([0,1,0]) @@ -270,25 +270,25 @@ module the_extruder( // mount screw holes for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) { translate([0,0,mount_screw_l-mounthole_depth/2-(bridges?layer_height:-epsilon)]) mirror([0,0,1]) cylinder(d=mount_screw_d+mount_screw_d_tolerance, h=mount_screw_l-mounthole_depth/2+1, $fn=fnd*(mount_screw_d+mount_screw_d_tolerance)); translate([0,0,mount_screw_l-mounthole_depth/2]) 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-filament_path_d)/2,0,0]) + rotate([0,0,45]) translate([pulley_d/2,0,0]) rotate([-90,0,0]) translate([0,0,mount_d/sqrt(2)/2+mount_screw_d+epsilon]) rotate([0,0,180]) { pushfit(pf); cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=fnd*filament_guide_d); translate([0,-filament_guide_d/2/sqrt(2),0]) rotate([0,0,45]) cube(size=[filament_guide_d/2,filament_guide_d/2,gearbox_d],center=true); }//rotate translate rotate translate rotate translate // pulley cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_clearance)); // leverspace |