summaryrefslogtreecommitdiff
path: root/another.scad
Unidiff
Diffstat (limited to 'another.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad2
1 files changed, 1 insertions, 1 deletions
diff --git a/another.scad b/another.scad
index 844dc3b..cd084ce 100644
--- a/another.scad
+++ b/another.scad
@@ -268,49 +268,49 @@ module the_extruder(
268 b=mount_d/2-a; 268 b=mount_d/2-a;
269 x=sqrt(pow(a,2)+pow(b,2)); 269 x=sqrt(pow(a,2)+pow(b,2));
270 translate([mount_d/2,0,ls_z]) 270 translate([mount_d/2,0,ls_z])
271 intersection() { 271 intersection() {
272 r = x+idler_d/2+1;/* TODO: */ 272 r = x+idler_d/2+1;/* TODO: */
273 cylinder(r=r,h=ls_h,center=true); 273 cylinder(r=r,h=ls_h,center=true);
274 translate([-r-1,0,-1]) cube(size=[2*r+2,r+1,ls_h+2]); 274 translate([-r-1,0,-1]) cube(size=[2*r+2,r+1,ls_h+2]);
275 } 275 }
276 276
277 rotate([0,0,-45]) 277 rotate([0,0,-45])
278 translate([0,0,ls_z-ls_h/2]) 278 translate([0,0,ls_z-ls_h/2])
279 cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]); 279 cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]);
280 translate([0,0,ls_z-ls_h/2]) { 280 translate([0,0,ls_z-ls_h/2]) {
281 translate([mount_screwhead_d/2,0,0]) 281 translate([mount_screwhead_d/2,0,0])
282 mirror([0,1,0]) 282 mirror([0,1,0])
283 cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]); 283 cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]);
284 } 284 }
285 //translate([-mount_d/2,-longwing,filament_elevation]) 285 //translate([-mount_d/2,-longwing,filament_elevation])
286 if(!tensioner) translate([mount_d/2,-longwing,filament_elevation]) 286 if(!tensioner) translate([mount_d/2,-longwing,filament_elevation])
287 rotate([0,-90,0]) difference() { 287 rotate([0,-90,0]) difference() {
288 cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=PI*spring_d); 288 cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=PI*spring_d);
289 translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=PI*spring_d); 289 translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=PI*spring_d);
290 } 290 }
291 //sphere(d=spring_d*3/4,$fn=PI*spring_d); 291 //sphere(d=spring_d*3/4,$fn=PI*spring_d);
292 *difference() { 292 * difference() {
293 // spring support 293 // spring support
294 translate([0,-longwing,filament_elevation]) 294 translate([0,-longwing,filament_elevation])
295 sphere(d=spring_d*3/4,$fn=PI*spring_d); 295 sphere(d=spring_d*3/4,$fn=PI*spring_d);
296 } 296 }
297 297
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 }