summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-02 19:27:56 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-02 19:27:56 (UTC)
commit0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0 (patch) (unidiff)
tree40a93fa9b5fdf5cd73dde685be981885e98691e7
parentcdf558c4db0725192311d437a74a60090c984634 (diff)
downloadextrudery-0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0.zip
extrudery-0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0.tar.gz
extrudery-0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0.tar.bz2
comments
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad5
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
@@ -255,21 +255,22 @@ module the_extruder(
255 rotate([0,0,180]) { 255 rotate([0,0,180]) {
256 pushfit(pf); 256 pushfit(pf);
257 cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=fnd*filament_guide_d); 257 cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=fnd*filament_guide_d);
258 translate([0,-filament_guide_d/2/sqrt(2),0]) 258 translate([0,-filament_guide_d/2/sqrt(2),0])
259 rotate([0,0,45]) 259 rotate([0,0,45])
260 cube(size=[filament_guide_d/2,filament_guide_d/2,gearbox_d],center=true); 260 cube(size=[filament_guide_d/2,filament_guide_d/2,gearbox_d],center=true);
261 } 261 }//rotate translate rotate translate rotate translate
262 // pulley 262 // pulley
263 cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_clearance)); 263 cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_clearance));
264 // leverspace 264 // leverspace
265 hull() for(x=[0,gearbox_d]) 265 hull() for(x=[0,gearbox_d])
266 rotate([0,0,45]) 266 rotate([0,0,45])
267 translate([x,0,ls_z-ls_h/2]) 267 translate([x,0,ls_z-ls_h/2])
268 cylinder(d=idler_d+idler_clearance,h=ls_h,$fn=fnd*(idler_d+idler_clearance)); 268 cylinder(d=idler_d+idler_clearance,h=ls_h,$fn=fnd*(idler_d+idler_clearance));
269 269
270 // idler clearance
270 a=cos(45)*(pulley_d+idler_d)/2; 271 a=cos(45)*(pulley_d+idler_d)/2;
271 b=mount_d/2-a; 272 b=mount_d/2-a;
272 x=sqrt(pow(a,2)+pow(b,2)); 273 x=sqrt(pow(a,2)+pow(b,2));
273 translate([mount_d/2,0,ls_z]) 274 translate([mount_d/2,0,ls_z])
274 intersection() { 275 intersection() {
275 r = x+idler_d/2+1;/* TODO: */ 276 r = x+idler_d/2+1;/* TODO: */