kittycad.models.unit_torque
Classes
|
The valid types of torque units. |
- class kittycad.models.unit_torque.UnitTorque(value)[source][source]
The valid types of torque units.
- NEWTON_METRES = 'newton_metres'[source]
//en.wikipedia.org/wiki/Pound-foot_(torque)>
- Type:
# Pound foot <https
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_torque', '__doc__': 'The valid types of torque units.', '__str__': <function UnitTorque.__str__>, '__dict__': <attribute '__dict__' of 'UnitTorque' objects>, '__weakref__': <attribute '__weakref__' of 'UnitTorque' objects>, '_member_names_': ['NEWTON_METRES', 'POUND_FOOT'], '_member_map_': {'NEWTON_METRES': <UnitTorque.NEWTON_METRES: 'newton_metres'>, 'POUND_FOOT': <UnitTorque.POUND_FOOT: 'pound_foot'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'newton_metres': <UnitTorque.NEWTON_METRES: 'newton_metres'>, 'pound_foot': <UnitTorque.POUND_FOOT: 'pound_foot'>}, 'NEWTON_METRES': <UnitTorque.NEWTON_METRES: 'newton_metres'>, 'POUND_FOOT': <UnitTorque.POUND_FOOT: 'pound_foot'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
- _generate_next_value_(start, count, last_values)[source]
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None