author | Michael Krelin <hacker@klever.net> | 2018-08-02 19:27:56 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-02 19:27:56 (UTC) |
commit | 0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0 (patch) (side-by-side diff) | |
tree | 40a93fa9b5fdf5cd73dde685be981885e98691e7 | |
parent | cdf558c4db0725192311d437a74a60090c984634 (diff) | |
download | extrudery-0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0.zip extrudery-0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0.tar.gz extrudery-0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0.tar.bz2 |
comments
-rw-r--r-- | another.scad | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/another.scad b/another.scad index ddca898..5a590db 100644 --- a/another.scad +++ b/another.scad @@ -249,33 +249,34 @@ module the_extruder( }//for // pushfit translate([0,0,filament_elevation]) 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 hull() for(x=[0,gearbox_d]) rotate([0,0,45]) translate([x,0,ls_z-ls_h/2]) cylinder(d=idler_d+idler_clearance,h=ls_h,$fn=fnd*(idler_d+idler_clearance)); - + + // idler clearance a=cos(45)*(pulley_d+idler_d)/2; b=mount_d/2-a; x=sqrt(pow(a,2)+pow(b,2)); translate([mount_d/2,0,ls_z]) intersection() { r = x+idler_d/2+1;/* TODO: */ cylinder(r=r,h=ls_h,center=true); translate([-r-1,0,-1]) cube(size=[2*r+2,r+1,ls_h+2]); } rotate([0,0,-45]) translate([0,0,ls_z-ls_h/2]) |