Add a slot for an m3 nut as a set screw in the magnetic coupling

This commit is contained in:
Matt McWilliams 2022-10-10 08:42:36 -04:00
parent 9adce4733c
commit eb2f452431
1 changed files with 10 additions and 0 deletions

View File

@ -59,6 +59,7 @@ module magnetic_coupling (MAGNETS = 4, MAGNET_D = 8.1, MAGNET_H = 2.5) {
union () { union () {
cylinder(r = COUPLING_D / 2, h = MAGNET_H + H, center = true, $fn = 100); cylinder(r = COUPLING_D / 2, h = MAGNET_H + H, center = true, $fn = 100);
translate([0, 0, -6]) cylinder(r = 12.5 / 2, h = 10, center = true, $fn = 60); translate([0, 0, -6]) cylinder(r = 12.5 / 2, h = 10, center = true, $fn = 60);
translate([0, 0, -5]) cylinder(r = 20 / 2, h = 5, center = true, $fn = 60);
} }
//motor shaft void //motor shaft void
scale([1.1, 1.1, 2]) motor_shaft(); scale([1.1, 1.1, 2]) motor_shaft();
@ -66,6 +67,15 @@ module magnetic_coupling (MAGNETS = 4, MAGNET_D = 8.1, MAGNET_H = 2.5) {
for (i = [0 : MAGNETS - 1]) { for (i = [0 : MAGNETS - 1]) {
rotate([0, 0, i * (360 / MAGNETS)]) translate([0, OFFSET, H - MAGNET_H + 1.01]) cylinder(r = MAGNET_D / 2, h = MAGNET_H, center = true, $fn = 50); rotate([0, 0, i * (360 / MAGNETS)]) translate([0, OFFSET, H - MAGNET_H + 1.01]) cylinder(r = MAGNET_D / 2, h = MAGNET_H, center = true, $fn = 50);
} }
//m3 nut
translate([6, 0, -9]) {
cube([2.75, 5.75, 10], center = true);
translate([0, 0, 5]) rotate([0, 90, 0]) {
cylinder(r = 6.75/2, h = 2.75, center = true, $fn = 6);
translate([0, 0, 4]) cylinder(r = 3.25/2, h = 20, center = true, $fn = 30);
translate([0, 0, 13.5]) cylinder(r = 6/2, h = 20, center = true, $fn = 30);
}
}
} }
} }