diff -r 007bbb709982 -r 14a420653a5f cylindertransport.scad --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cylindertransport.scad Mon Apr 03 01:32:02 2017 +0200 @@ -0,0 +1,27 @@ +/* + OpenSCAD Template for visualizing cylindertransport.py +*/ +module tank(x, r, h) { + cap = r; + + 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; + + 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