master_gear_ratio

property WormGear.master_gear_ratio: float

Gear ratio of the mating between the gear and its driving gear. It must be a positive a float.

If the worm gear is fixed to another driving RotatingObject, then the ratio is 1, otherwise it is defined as the ratio between the worm gear number of starts n_starts and the driving wheel gear number of teeth WormWheel.n_teeth.

To set this property use add_worm_gear_mating or add_fixed_joint.

Returns

float

Gear ratio of the mating between the gear and its driving gear.

Raises

TypeError

If master_gear_ratio is not a float.

ValueError

If master_gear_ratio is negative or null.