// Steam Engine - Boiler Stack
// Copyright Algot Runeman, 2018
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along with this program. If not, see .
$fn=30;
module stack(){
cylinder(2,5,5);
translate([0,0,2])
cylinder(5,5,10);
translate([0,0,7])
cylinder(2,10,10);
translate([0,0,9])
cylinder(9,10,5);
translate([0,0,14])
cylinder(20,5,5);
// rounded stack flare
translate([0,0,8]){
rotate_extrude(convexity = 10)
translate([10, 0, 0])
circle(r = 1, $fn = 100);
}
}
//hollow the stack
difference(){
stack();
cylinder(50,3.5,3.5);
}