kittycad.models.unit_torque.UnitTorque

class kittycad.models.unit_torque.UnitTorque(value)[source][source]

Bases: str, Enum

The valid types of torque units.

__init__()[source]

Attributes

NEWTON_METRES

//en.wikipedia.org/wiki/Pound-foot_(torque)>

POUND_FOOT

NEWTON_METRES = 'newton_metres'[source]

//en.wikipedia.org/wiki/Pound-foot_(torque)>

Type:

# Pound foot <https

POUND_FOOT = 'pound_foot'[source]
__annotations__ = {}[source]
__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]
__module__ = 'kittycad.models.unit_torque'[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

_member_map_ = {'NEWTON_METRES': UnitTorque.NEWTON_METRES, 'POUND_FOOT': UnitTorque.POUND_FOOT}[source]
_member_names_ = ['NEWTON_METRES', 'POUND_FOOT'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'newton_metres': UnitTorque.NEWTON_METRES, 'pound_foot': UnitTorque.POUND_FOOT}[source]