diff -r c2158ae1dc05 -r 57f17c62c137 cylindertransport.scad --- a/cylindertransport.scad Mon Apr 03 04:47:41 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -/* - OpenSCAD Template for visualizing cylindertransport.py -*/ -module tank(x, r, h) { - cap = r; - color("SteelBlue") render() rotate([90,0,0]) { - translate([x, r, cap]) { - sphere(r = r); // bottom - cylinder(h = h-2*cap, r = r); - } - translate([x, r, h-cap]) { - sphere(r = r); // top - cylinder(h = 30+cap, r = 25); - } - } -} - -module spacer(x, r, rcylinder, h) { - cap = rcylinder; - - color("DarkGrey") render() rotate([90,0,0]) - translate([x, r, cap]) { - difference() { - cylinder(h = h-2*cap, r = r); - cylinder(h = h-2*cap, r = r-5); - } - } -} -$fn = 20; \ No newline at end of file