OpenFlexure Microscope OpenSCAD docs

large_gears.scad

The gears for actuators of the OpenFlexure Microscope.

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(ratio=2)
[Source]
module printable_large_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 = large_gear_pitch_radius(ratio) + large_gear_pitch_radius(ratio=2) + 4;
    // x and y gears
    repeat([0,2*spacing,0],2,center=true){
        large_gear(ratio);
    }
    // z gear
    large_gear(ratio=2);
}