// --- 1" PIPE RING TEST ARRAY --- $fn = 80; p1 = 33.4; // 1" Pipe OD wall = 3.0; h = 10; // Height of ring offsets = [0.05, 0.10, 0.15, 0.20, 0.25, 0.30]; for (i = [0 : 5]) { translate([i * 45, 0, 0]) { difference() { // Outer Ring cylinder(d = p1 + offsets[i] + (wall*2), h = h); // Inner Hole translate([0,0,-1]) cylinder(d = p1 + offsets[i], h = h+2); // Identification Notches (Number of notches = position in array) for (n = [0 : i]) { rotate([0, 0, n * 15]) translate([(p1 + wall*2)/2, 0, h/2]) cube([4, 1, h+1], center=true); } } } }