OpenFlexure Microscope OpenSCAD docs

upright_large_gears.scad

The gears for actuators of the upright OpenFlexure Microscope.

These are the same gears as the standard OpenFlexure Microscope. This STL has 4 copies rather than 3.

These are the gears connected to the lead screw. They are called "large" as in the standard gear ratio they are the larger gear. This name will be changed in the future as other ratios become standard options.

module printable_large_gears_four(ratio=2)
[Source]
module printable_large_gears_four(ratio=2){
    // Calculate the spacing from the gear pitch radius.
    // Add 4mm of clearance
    spacing_x = large_gear_pitch_radius(ratio) + large_gear_pitch_radius(ratio=2) + 4;
    spacing_y = 2*large_gear_pitch_radius(ratio=2) + 4;
    repeat([0, spacing_y, 0], 2, center=true){
        translate([-spacing_x/2, 0, 0]){
            large_gear(ratio=ratio);
        }
        translate([spacing_x/2, 0, 0]){
            large_gear(ratio=2);
        }
    }
}