master_gear_ratio

property HelicalGear.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 gear is fixed to another driving RotatingObject, then the ratio is 1, otherwise it is defined as the ratio between the gear number of teeth n_teeth and the same parameter of the master (driving) gear.

To set this property use add_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.