include <dimensions.scad>

module slider () {
	translate([0, - slidelength, 0]) {
			
		
		translate([0, slideheight/2, 0]) {
			cube(size=[slidethick, slidelength-slideheight/2, slideheight], center=false);
			translate([0, 0, slideheight/2]) {
				rotate([0, 90, 0]) {
					cylinder(h=slidethick, r=slideheight/2, $fn=FN, center=false);
				}
			}
		}
	}
	echo("#### Slider: thickness = ", slidethick, " height = ", slideheight, " length = ", slidelength);
}

slider();
