// Floppy drive lever cam
// The following are guesses only. Measure shaft dia etc. with calipers
CAM_DIA = 9;
CAM_LENGTH = 10;
SHAFT_DIA = 3;
OFFSET = 2;
ORIENTATION = 0; // door lever phase to shaft flat
flatBlock=10;
FACETS=187;
$fn = FACETS;
difference()
{
cylinder(d=CAM_DIA, h=CAM_LENGTH);
translate([OFFSET, 0,0])
{
rotate(ORIENTATION)
difference()
{
cylinder(d=SHAFT_DIA, h=CAM_LENGTH);
translate([-(SHAFT_DIA/3)-flatBlock, -flatBlock/2, 0])
cube([flatBlock, flatBlock, CAM_LENGTH]);
}
}
}
I've done a little work with casting replacement parts. If removing the screws gets the shaft loose enough to give your room to work you could make a silicone mold with the broken part on a shaft. Cut mold to make it two part mold to get the existing part out then put mold on the shaft holding parts together and fill with resin. I had problems with air bubbles messing things up so may not be easy.Except that this part appears to have been created directly onto the rod, not attached as a separate piece. Don't see how your method would apply.