From 1de4de6e1c878a512111512ad095e543bb39c13d Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 29 Jun 2023 17:20:23 -0400 Subject: [PATCH] Create an alternate motor cap for bigger motors --- scad/intval2.scad | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/scad/intval2.scad b/scad/intval2.scad index a1769bf..f0e415a 100644 --- a/scad/intval2.scad +++ b/scad/intval2.scad @@ -1243,6 +1243,24 @@ module motor_cap_120 (HALF = false) { } } +module motor_cap_alt (DECOYS = false, HALF = false) { + $fn = 120; + base_d = 47; + H = 50 + 12; + difference () { + translate([-6, 0, H - 10]) cylinder(r = base_d/2, h = H + 2, center = true); + translate([-6, 0, -5.75]) cylinder(r = base_d/2 - 1, h = H, center = true); + translate([-6, 0, H - 10 - 1]) cylinder(r = base_d/2 - 3, h = H, center = true); + translate([-25, 0, (H / 2) - 6]) cube([10, 10, 15], center = true); //wire access + if (HALF){ + translate([100, 0, 0]) cube([200, 200, 200], center = true); + } + } + if (DECOYS) { + translate([-6, 0, 0]) decoys(32, 64); + } +} + module bearing_calibrate (val = 0) { mat = 25.4/8; difference () { @@ -1328,7 +1346,7 @@ module exploded_view () { //exploded_view(); -PART = "arduino_nano_electronics_mount"; +PART = "motor_cap_alt"; //models @@ -1364,6 +1382,8 @@ if (PART == "plate") { intval_electronics_mount(); } else if (PART == "motor_cap") { motor_cap(false); +} else if (PART == "motor_cap_alt") { + motor_cap_alt(false); } else if (PART == "motor_cap_120") { motor_cap_120(false); } else if (PART == "bolt_guide") {