aboutsummaryrefslogtreecommitdiff
path: root/parts/end_cap_flush_mold.scad
blob: 8ea24b7cf8ce8011f82021e7829815c89bc3aa87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
inner_radius = 11;
radius = 12.25;

height = 3;
inner_height = 5;

difference() {
    translate([0, 0, -1.5])
        cylinder(r=radius+1.5, h=inner_height+height+1.5-0.02);
    difference() {
        union() {
            translate([0, 0, inner_height-0.01]) cylinder(r=radius, h=height);
            cylinder(r=inner_radius, h=inner_height);
        }
        translate([0, 0, -0.01]) cylinder(r1=inner_radius-4, r2=inner_radius/4, height=inner_height);
    }
}