OpenFlexure Microscope OpenSCAD docs

small_gears.scad

The gears for motors of the OpenFlexure Microscope.

These are the gears connected to the motors. They are called "small" as in the standard gear ratio they are the smaller gear. This name will be changed in the future as other ratios become standard options.

module printable_small_gears(ratio=2)
[Source]
module printable_small_gears(ratio=2){
    // Calculate the spacing from the gear pitch radius.
    // Add 4mm of clearance
    // Note: This will throw an error if either the ratio, or a ratio of 2, 
    // gives a non-integer number of gear teeth
    spacing = small_gear_pitch_radius(ratio) + small_gear_pitch_radius(ratio=2) + 4;
    // x and y gears
    repeat([0, 2*spacing, 0], 2, center=true){
        // 3.15 is a trade off. Firm to push on some printers that print
        // the gears loose. Should be press fit with a small clamp/vice
        // if the printer prints tight. All are then locked with two screws
        // Can be adjusted for printers outside this range.
        small_gear(flat_shaft_w=3.15, ratio=ratio);
    }
    // z gear
    small_gear(flat_shaft_w=3.15, ratio=2);
}