name

property WormGear.name: str

Name of the worm gear. It must be a non-empty str.

It must be a unique name, not shared by other elements in the powertrain elements.

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

Returns

str

Name of the worm gear.

Raises

TypeError

If name is not a str.

ValueError

If name is an empty str.