// The ratio is the ratio between the 'large' gear on the actuator and the 'small' gear on the motor.
// This means that it is a gearing down ratio.
// The standard ratio is 2. The total number of teeth on both gears is 36, which is defined by the distance between the rotation axes.
// For an integer number of teeth, allowed ratios are of the form n/(36-n). Ratios from 0.8 (16/20, 1:1.25) to 2 (24/12, 1:0.5) are expected to fit in the body
// The standard ratio is 2. The total number of teeth on both gears is 36, which gives
// reasonable size teeth given the distance between the rotation axes.
// For an integer number of teeth, allowed ratios are of the form n/(36-n).
// Ratios from 0.8 (16/20, 1:1.25) to 2 (24/12, 1:0.5) are expected to fit in the body.
// Gearing ratio for x and y axes. Ratio for z axis fixed at 2
RATIO = 2;
@@ -24,10 +27,10 @@ RATIO = 2;
printable_large_gears(ratio=RATIO);
module printable_large_gears(ratio=2){
// check the ratio gives an integer number of teeth
assert(floor(n_teeth_large_gear(ratio))==n_teeth_large_gear(ratio),"The number of teeth on the large gear is not integer");
// 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,
// The ratio is the ratio between the 'large' gear on the actuator and the 'small' gear on the motor.
// This means that it is a gearing down ratio.
// The standard ratio is 2. The total number of teeth on both gears is 36, which is defined by the distance between the rotation axes.
// For an integer number of teeth, allowed ratios are of the form n/(36-n). Ratios from 0.8 (16/20, 1:1.25) to 2 (24/12, 1:0.5) are expected to fit in the body
// The standard ratio is 2. The total number of teeth on both gears is 36, which gives
// reasonable size teeth given the distance between the rotation axes.
// For an integer number of teeth, allowed ratios are of the form n/(36-n).
// Ratios from 0.8 (16/20, 1:1.25) to 2 (24/12, 1:0.5) are expected to fit in the body.
// Gearing ratio for x and y axes. Ratio for z axis fixed at 2
RATIO = 2;
@@ -23,10 +26,10 @@ RATIO = 2;
printable_small_gears(ratio=RATIO);
module printable_small_gears(ratio=2){
// check the ratio gives an integer number of teeth
assert(floor(n_teeth_small_gear(ratio))==n_teeth_small_gear(ratio),"The number of teeth on the small gear is not integer");
// 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,