// Piece that connects to mount plate---chop it // out of the original belt clamp translate([-30, 6, 0]) { difference() { // union() { import(file = "M2+Belt+Clamp.stl"); // Chop off the end to cut it down to 1cm translate([10, -5, 0]) cube([28, 20, 15]); // Widen the slot translate([-1, 5.5, 2.7]) cube([12, 2.6, 11]); // Add four slots for magnets on one side rotate([0, 90, 0]) translate([-5, 2.3, 5.8]) cylinder(h=5, r=1.3, $fn=64); rotate([0, 90, 0]) translate([-5, 10, 5.8]) cylinder(h=5, r=1.3, $fn=64); rotate([0, 90, 0]) translate([-10, 2.3, 5.8]) cylinder(h=5, r=1.3, $fn=64); rotate([0, 90, 0]) translate([-10, 10, 5.8]) cylinder(h=5, r=1.3, $fn=64); // Add two slots for a magnet on the other side rotate([0, 90, 0]) translate([-10, 2.3, -1]) cylinder(h=5, r=1.3, $fn=64); rotate([0, 90, 0]) translate([-10, 10, -1]) cylinder(h=5, r=1.3, $fn=64); } }