// $URL: svn+ssh://aaron@birenboim.com/home/users/svn/Jansen/trunk/basketMount.scad $ // $Id: basketMount.scad 134 2013-08-03 18:41:13Z aaron $ // Mount to attach to axles and hold motor drive module Bhole = 2.38+.2; // for brass tube include ; // Bx thick=4; module braceBar(axisSep,axisRad) { difference() { union() { translate([-axisSep,0,0]) cylinder(h=thick,r=axisRad+3,$fn=24); translate([ axisSep,0,0]) cylinder(h=thick,r=axisRad+3,$fn=24); hull() { translate([-axisSep,-axisRad,0]) cylinder(h=thick,r=3,$fn=8); translate([ axisSep,-axisRad,0]) cylinder(h=thick,r=3,$fn=8); } } translate([-axisSep,0,-.1]) cylinder(h=thick*2,r=axisRad,$fn=96); translate([ axisSep,0,-.1]) cylinder(h=thick*2,r=axisRad,$fn=96); }} module basketMount(axisSep,h) { trapW = 0.8*Bx; t2=thick/2; sf=16; // resolution for spheres union() { braceBar(axisSep,Bhole); translate([-9,h,0]) cube([18,4,15]); // middle shelf translate([0,h/2,t2]) { hull() { translate([-24,0, 0]) sphere(r=t2,$fn=sf); translate([ 24,0, 0]) sphere(r=t2,$fn=sf); } hull() { translate([-38,0,32]) sphere(r=t2,$fn=sf); translate([ 38,0,32]) sphere(r=t2,$fn=sf); } hull() { translate([ 24,0, 0]) sphere(r=t2,$fn=sf); translate([-38,0,32]) sphere(r=t2,$fn=sf); } hull() { translate([-24,0, 0]) sphere(r=t2,$fn=sf); translate([ 38,0,32]) sphere(r=t2,$fn=sf); } hull() { translate([-24,0, 0]) sphere(r=t2,$fn=sf); translate([-38,0,32]) sphere(r=t2,$fn=sf); } hull() { translate([ 24,0, 0]) sphere(r=t2,$fn=sf); translate([ 38,0,32]) sphere(r=t2,$fn=sf); } hull() { sphere(r=t2,$fn=sf); translate([0,0,32]) sphere(r=t2,$fn=sf); } hull() { translate([-38,0,32]) sphere(r=t2,$fn=sf); translate([ -8,0,32]) sphere(r=t2,$fn=sf); translate([-30,0,14]) sphere(r=t2,$fn=sf); } hull() { translate([ 38,0,32]) sphere(r=t2,$fn=sf); translate([ 8,0,32]) sphere(r=t2,$fn=sf); translate([ 30,0,14]) sphere(r=t2,$fn=sf); } } //translate([-24,h/2,0]) cube([48,4,32]); hull() { translate([ -8 ,h,t2]) sphere(r=t2+.2,$fn=sf); translate([-trapW,0,t2]) sphere(r=t2+.2,$fn=sf); } hull() { translate([ 8 ,h,t2]) sphere(r=t2+.2,$fn=sf); translate([ trapW,0,t2]) sphere(r=t2+.2,$fn=sf); } }} union() { color("Cyan") hull() { translate([-Bx,0,0]) cylinder(h=.4,r=10,$fn=8); translate([ Bx,0,0]) cylinder(h=.4,r=10,$fn=8); translate([0,53,0]) cylinder(h=.4,r=22,$fn=6); } translate([0,0,.2]) basketMount(Bx,60); } //basketMount(Bx,60);