cylindertransport.scad

Mon, 03 Apr 2017 01:32:02 +0200

author
mdd
date
Mon, 03 Apr 2017 01:32:02 +0200
changeset 1
14a420653a5f
child 2
9ec8fa3d0348
permissions
-rw-r--r--

output openscad script

/*
	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;

mercurial