// // include <.\ThreadedInserts.scad> // // Module Mx - Diameter- Length // H = Total Lengte // ThreadedInserts // module M2_32_3(H) // module M2_32_4(H) // module M2_32_5(H) // module M25_35_3(H) // module M25_35_4(H) // module M25_35_5(H) // module M3_42_3(H) // module M3_42_4(H) // module M3_42_5(H) // module M3_5_4(H) // module M3_5_5(H) // module M4_6_4(H) // module M4_6_5(H) // module M4_6_6(H) // module M4_6_8(H) // Modules M2 ########################################### module M2_32_3(H) { A = 2.84; // Hole Diameter (3.2mm) B = 3.20; // Hole Depth (3 mm) C = 2.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M2_32_4(H) { A = 2.84; // Hole Diameter (3.2mm) B = 4.20; // Hole Depth (3 mm) C = 2.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M2_32_5(H) { A = 2.84; // Hole Diameter (3.2mm) B = 5.20; // Hole Depth (3 mm) C = 2.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } // Modules M2.5 ########################################### module M25_35_3(H) { A = 3.12; // Hole Diameter (3.5mm) B = 3.20; // Hole Depth (3 mm) C = 2.55; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M25_35_4(H) { A = 3.12; // Hole Diameter (3.5mm) B = 4.20; // Hole Depth (3 mm) C = 2.55; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M25_35_5(H) { A = 3.12; // Hole Diameter (3.5mm) B = 5.20; // Hole Depth (3 mm) C = 2.55; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } // Modules M3 ########################################### module M3_42_3(H) { A = 3.76; // Hole Diameter (4.2mm) B = 3.20; // Hole Depth (3 mm) C = 3.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M3_42_4(H) { A = 3.76; // Hole Diameter (4.2mm) B = 4.20; // Hole Depth (4 mm) C = 3.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M3_42_5(H) { A = 3.76; // Hole Diameter (4.2mm) B = 5.20; // Hole Depth (4 mm) C = 3.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M3_5_4(H) { A = 4.22; // Hole Diameter (5mm) B = 4.20; // Hole Depth (4 mm) C = 3.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M3_5_5(H) { A = 4.22; // Hole Diameter (5mm) B = 5.20; // Hole Depth (4 mm) C = 3.05; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } // Modules M4 ########################################### module M4_6_4(H) { A = 5.36; // Hole Diameter (6mm) B = 4.20; // Hole Depth (4 mm) C = 4.10; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M4_6_5(H) { A = 5.36; // Hole Diameter (6mm) B = 5.20; // Hole Depth (4 mm) C = 4.10; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M4_6_6(H) { A = 5.36; // Hole Diameter (6mm) B = 6.20; // Hole Depth (4 mm) C = 4.10; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); } module M4_6_8(H) { A = 5.36; // Hole Diameter (6mm) B = 6.20; // Hole Depth (4 mm) C = 4.10; // Through Hole Diameter cylinder(h = H, d = C, center = true); translate([ 0, 0, H/2-B/2]) cylinder(h = B, d = A, center = true); }