comb_depth = 30; sloth_depth = 5; thickness_start = 2.3; thickness_step = .05; slot_step = 10; slots = 10; difference() { square([slot_step * (slots + 1), comb_depth]); for (i = [0:slots]) { thickness = thickness_start + thickness_step * i; translate([slot_step / 3 + slot_step * i, 0, 0]) { square([thickness, sloth_depth]); // thickness label translate([0, comb_depth * .75, 0]) text(str(thickness), size = 2); // chamfer ct = thickness * 1.5; x = sqrt(pow(ct, 2) + pow(ct, 2)); translate([thickness / 2, x / -2, 0]) rotate(45) square([ct, ct]); } } }