n_teeth

property SpurGear.n_teeth: int

Number of gear teeth. It must be a positive integer.

Once set at the spur gear instantiation, it cannot be changed afterward.

Returns

int

Number of gear teeth.

Raises

TypeError

If n_teeth is not an int.

ValueError

If n_teeth is less than the minimum number of teeth, based on Lewis Factor table.