master_gear_ratio

property WormWheel.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 wheel gear is fixed to another driving RotatingObject, then the ratio is 1, otherwise it is defined as the ratio between the worm wheel number of teeth n_teeth and the driving worm gear number of starts WormGear.n_starts.

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.