/* 
https://www.printables.com/model/175319-crank-bearing-removal-tool
This work is licensed under a
Creative Commons (4.0 International License)
Attribution-NonCommercial

*/

thickness=3;
spacing=1;
minDiam=8;
maxDiam=12;
totalHeight=100;
coneHeight=30;

difference() {
    union() {
        translate([0, 0, totalHeight/2])
          cylinder(h=totalHeight, d=minDiam, center=true);
        translate([0, 0, coneHeight/2])
          cylinder(h=coneHeight, d1=maxDiam, d2=minDiam, center=true);
    }
    translate([0, 0, totalHeight/2])
      cylinder(h=totalHeight+0.2, d=minDiam-thickness, center=true);
    translate([0, 0, coneHeight/2])
      cylinder(h=coneHeight+0.2, d1=maxDiam-thickness, d2=minDiam-thickness, center=true);
    for(a = [0:360/3:359]){
        translate([0, 0, coneHeight/2]) rotate([0, 0, a])
          cube([maxDiam, spacing, coneHeight+0.1], center=true);
    }
}
