summaryrefslogtreecommitdiff
path: root/another.scad
authorMichael Krelin <hacker@klever.net>2018-08-02 10:50:09 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-02 10:50:09 (UTC)
commit5ee18dd18d2bc9557ab635db6e997a09c9717c10 (patch) (unidiff)
treee963abd2cea6139cb31afb1e78f68256f8741424 /another.scad
parentb717362a236ec1a95d54e7106f11e4f3e3e85b76 (diff)
downloadextrudery-5ee18dd18d2bc9557ab635db6e997a09c9717c10.zip
extrudery-5ee18dd18d2bc9557ab635db6e997a09c9717c10.tar.gz
extrudery-5ee18dd18d2bc9557ab635db6e997a09c9717c10.tar.bz2
another: minor adjustment to spring tensioner
Diffstat (limited to 'another.scad') (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 cd084ce..fe30fce 100644
--- a/another.scad
+++ b/another.scad
@@ -298,59 +298,60 @@ module the_extruder(
298 }//difference 298 }//difference
299 299
300 if(supports) intersection() { 300 if(supports) intersection() {
301 difference() { 301 difference() {
302 translate([0,0,ls_z-ls_h/2-epsilon]) 302 translate([0,0,ls_z-ls_h/2-epsilon])
303 cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=2*PI*gearbox_d); 303 cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=2*PI*gearbox_d);
304 cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=2*PI*(pulley_d+pulley_clearance)); 304 cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=2*PI*(pulley_d+pulley_clearance));
305 } 305 }
306 // supports 306 // supports
307 // TODO: hardcoded stuff below… 307 // TODO: hardcoded stuff below…
308 if(false) { // parallel 308 if(false) { // parallel
309 for(y=[-gearbox_d:4:gearbox_d]) 309 for(y=[-gearbox_d:4:gearbox_d])
310 translate([0,y-extrusion_width/2,0]) 310 translate([0,y-extrusion_width/2,0])
311 cube(size=[gearbox_d,extrusion_width,body_h]); 311 cube(size=[gearbox_d,extrusion_width,body_h]);
312 }else{ // radial 312 }else{ // radial
313 for(zr=[-65:(65+50)/7:50]) 313 for(zr=[-65:(65+50)/7:50])
314 rotate([0,0,zr]) translate([0,-extrusion_width/2,0]) 314 rotate([0,0,zr]) translate([0,-extrusion_width/2,0])
315 cube(size=[gearbox_d,extrusion_width,body_h]); 315 cube(size=[gearbox_d,extrusion_width,body_h]);
316 } 316 }
317 } 317 }
318 318
319 }//body module 319 }//body module
320 320
321 module springpad() { 321 module springpad() {
322 smalld=st_screw_d+extrusion_width; 322 smalld=st_screw_d+2*extrusion_width;
323 bigd = spring_d+spring_d_clearance/2; 323 bigd = spring_d+spring_d_clearance/2;
324 hf = (bigd-smalld)/2; 324 hf = (bigd-smalld)/2;
325 translate([-gearbox_d/2+st_shell+st_nut_h+st_shell+smalld,-longwing,filament_elevation]) 325 translate([-gearbox_d/2+st_shell+st_nut_h+st_shell+smalld,-longwing,filament_elevation])
326 rotate([0,90,0]) difference() { 326 rotate([0,90,0]) difference() {
327 union() { 327 union() {
328 cylinder(d1=smalld,d2=bigd,h=hf,$fn=bigd*PI*2); 328 cylinder(d1=smalld,d2=bigd,h=hf,$fn=bigd*PI*2);
329 translate([0,0,hf-epsilon]) 329 translate([0,0,hf-epsilon])
330 cylinder(d=bigd,h=hf*2,$fn=bigd*PI*2); 330 cylinder(d=bigd,h=hf*2,$fn=bigd*PI*2);
331 } 331 }
332 cylinder(d=st_screw_d,h=2*hf,$fn=st_screw_d*PI*2); 332 translate([0,0,-epsilon])
333 cylinder(d=st_screw_d,h=2*hf+epsilon,$fn=st_screw_d*PI*2);
333 } 334 }
334 } 335 }
335 336
336 module knob() { 337 module knob() {
337 ch = knob_indent_d/2; 338 ch = knob_indent_d/2;
338 translate([0,0,body_h+epsilon]) { 339 translate([0,0,body_h+epsilon]) {
339 mirror([0,0,1]) translate([0,0,-epsilon]) { 340 mirror([0,0,1]) translate([0,0,-epsilon]) {
340 difference() { 341 difference() {
341 cylinder(d=pulley_d,h=knob_bore_l,$fn=pulley_d*PI*2); 342 cylinder(d=pulley_d,h=knob_bore_l,$fn=pulley_d*PI*2);
342 translate([0,0,-1]) difference() { 343 translate([0,0,-1]) difference() {
343 cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2); 344 cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2);
344 translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1]) 345 translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1])
345 cube([bore_d+2,bore_d/2,knob_bore_l+4]); 346 cube([bore_d+2,bore_d/2,knob_bore_l+4]);
346 } 347 }
347 } 348 }
348 } 349 }
349 difference() { 350 difference() {
350 union() { 351 union() {
351 cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=PI*gearbox_d*2); 352 cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=PI*gearbox_d*2);
352 translate([0,0,ch]) 353 translate([0,0,ch])
353 cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=PI*gearbox_d*2); 354 cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=PI*gearbox_d*2);
354 translate([0,0,knob_h-ch]) 355 translate([0,0,knob_h-ch])
355 cylinder(d1=gearbox_d,d2=gearbox_d-2*ch,h=ch,$fn=PI*gearbox_d*2); 356 cylinder(d1=gearbox_d,d2=gearbox_d-2*ch,h=ch,$fn=PI*gearbox_d*2);
356 } 357 }