name

property SpurGear.name: str

Name of the spur 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 spur gear instantiation, it cannot be changed afterward.

Returns

str

Name of the spur gear.

Raises

TypeError

If name is not a str.

ValueError

If name is an empty str.