summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-03 17:40:41 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-03 17:40:41 (UTC)
commit50a9f2b028a5e10ed3fd46516276296a1147d94c (patch) (unidiff)
tree4a9b5f79c60f5c666df4d064e91008d6ccb854ed
parent741e17207d7e98237eee3b2f1957ab21f067f153 (diff)
downloadextrudery-50a9f2b028a5e10ed3fd46516276296a1147d94c.zip
extrudery-50a9f2b028a5e10ed3fd46516276296a1147d94c.tar.gz
extrudery-50a9f2b028a5e10ed3fd46516276296a1147d94c.tar.bz2
another debug cutout
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--another.scad6
1 files changed, 6 insertions, 0 deletions
diff --git a/another.scad b/another.scad
index efc553d..9ed285d 100644
--- a/another.scad
+++ b/another.scad
@@ -287,48 +287,54 @@ module the_extruder(
287 translate([0,-ls_h/2]) 287 translate([0,-ls_h/2])
288 square([sqrt(pow(gearbox_d/2,2)+pow(longwing-lever_thickness/2,2))+1, 288 square([sqrt(pow(gearbox_d/2,2)+pow(longwing-lever_thickness/2,2))+1,
289 ls_h]); 289 ls_h]);
290 cylinder(d=bore_d/2/*TODO:recalculate angles based on this, 290 cylinder(d=bore_d/2/*TODO:recalculate angles based on this,
291 too lazy to do that now*/, 291 too lazy to do that now*/,
292 h=ls_h,center=true); 292 h=ls_h,center=true);
293 } 293 }
294 294
295 rotate([0,0,-45]) 295 rotate([0,0,-45])
296 translate([0,0,ls_z-ls_h/2]) 296 translate([0,0,ls_z-ls_h/2])
297 cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]); 297 cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]);
298 translate([0,0,ls_z-ls_h/2]) { 298 translate([0,0,ls_z-ls_h/2]) {
299 translate([mount_screwhead_d/2,0,0]) 299 translate([mount_screwhead_d/2,0,0])
300 mirror([0,1,0]) 300 mirror([0,1,0])
301 cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]); 301 cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]);
302 } 302 }
303 //translate([-mount_d/2,-longwing,filament_elevation]) 303 //translate([-mount_d/2,-longwing,filament_elevation])
304 if(!tensioner) /* XXX: this seems to be bullshit, but it's so old, that it's historical bullshit */ 304 if(!tensioner) /* XXX: this seems to be bullshit, but it's so old, that it's historical bullshit */
305 translate([mount_d/2,-longwing,filament_elevation]) 305 translate([mount_d/2,-longwing,filament_elevation])
306 rotate([0,-90,0]) difference() { 306 rotate([0,-90,0]) difference() {
307 cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=fnd*(spring_d+spring_d_clearance)); 307 cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=fnd*(spring_d+spring_d_clearance));
308 translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); 308 translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4);
309 } 309 }
310 310
311 if(debug) {
312 translate([mount_d/2,0,-1])
313 rotate([0,0,-45])
314 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+2]);
315 }
316
311 }//difference 317 }//difference
312 318
313 if(supports) intersection() { 319 if(supports) intersection() {
314 difference() { 320 difference() {
315 translate([0,0,ls_z-ls_h/2-epsilon]) 321 translate([0,0,ls_z-ls_h/2-epsilon])
316 cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=fnd*gearbox_d); 322 cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=fnd*gearbox_d);
317 cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_clearance)); 323 cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_clearance));
318 } 324 }
319 // supports 325 // supports
320 // TODO: hardcoded stuff below… 326 // TODO: hardcoded stuff below…
321 if(false) { // parallel 327 if(false) { // parallel
322 for(y=[-gearbox_d:4:gearbox_d]) 328 for(y=[-gearbox_d:4:gearbox_d])
323 translate([0,y-extrusion_width/2,0]) 329 translate([0,y-extrusion_width/2,0])
324 cube(size=[gearbox_d,extrusion_width,body_h]); 330 cube(size=[gearbox_d,extrusion_width,body_h]);
325 }else{ // radial 331 }else{ // radial
326 for(zr=[-65:(65+50)/7:50]) 332 for(zr=[-65:(65+50)/7:50])
327 rotate([0,0,zr]) translate([0,-extrusion_width/2,0]) 333 rotate([0,0,zr]) translate([0,-extrusion_width/2,0])
328 cube(size=[gearbox_d,extrusion_width,body_h]); 334 cube(size=[gearbox_d,extrusion_width,body_h]);
329 } 335 }
330 } 336 }
331 337
332 }//body module 338 }//body module
333 339
334 module springpad() { 340 module springpad() {