Source

uniqxstuff / openscad / faucet.scad

/////////////////////////////////////////////////////////////////////////
//                                                                     //
//          DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE                //
//                  Version 2, December 2004                           //
//                                                                     //
// Copyright (C) 2011 Clifford, uniqx                                  //
//  Metalab, 1010 Vienna, Austria                                      //
// Everyone is permitted to copy and distribute verbatim or modified   //
// copies of this license document, and changing it is allowed as long //
// as the name is changed.                                             //
//                                                                     //
//            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE              //
//   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION   //
//                                                                     //
//  0. You just DO WHAT THE FUCK YOU WANT TO.                          //
//                                                                     //
/////////////////////////////////////////////////////////////////////////

r1 = 25;
r2 = 20;
r3 = 13;
r4  = 8.5/2;

h = 50;
o2 = h-18;
o1 = h-40;

difference() {
	cylinder(r1 = r1, r2 = r2, h = h, $fn = 8);
	#translate([0, 0, o1])
		cylinder(r = r4, h = h);
	translate([0, 0, o2])
		cylinder(r = r3, h = h);
}