kittycad.models.unit_force.UnitForce

class kittycad.models.unit_force.UnitForce(value)[source][source]

Bases: str, Enum

The valid types of force units.

__init__()[source]

Attributes

DYNES

//en.wikipedia.org/wiki/Kilopond>

KILOPONDS

//en.wikipedia.org/wiki/Newton_(unit)>

MICRONEWTONS

//en.wikipedia.org/wiki/Newton_(unit)>

MILLINEWTONS

//en.wikipedia.org/wiki/Newton_(unit)>

NEWTONS

//en.wikipedia.org/wiki/Poundal>

POUNDALS

//en.wikipedia.org/wiki/Pound_(force)>

POUNDS

DYNES = 'dynes'[source]

//en.wikipedia.org/wiki/Kilopond>

Type:

# Kiloponds <https

KILOPONDS = 'kiloponds'[source]

//en.wikipedia.org/wiki/Newton_(unit)>

Type:

# Micronewtons <https

MICRONEWTONS = 'micronewtons'[source]

//en.wikipedia.org/wiki/Newton_(unit)>

Type:

# Millinewtons <https

MILLINEWTONS = 'millinewtons'[source]

//en.wikipedia.org/wiki/Newton_(unit)>

Type:

# Newtons <https

NEWTONS = 'newtons'[source]

//en.wikipedia.org/wiki/Poundal>

Type:

# Poundals <https

POUNDALS = 'poundals'[source]

//en.wikipedia.org/wiki/Pound_(force)>

Type:

# Pounds <https

POUNDS = 'pounds'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_force', '__doc__': 'The valid types of force units.', '__str__': <function UnitForce.__str__>, '__dict__': <attribute '__dict__' of 'UnitForce' objects>, '__weakref__': <attribute '__weakref__' of 'UnitForce' objects>, '_member_names_': ['DYNES', 'KILOPONDS', 'MICRONEWTONS', 'MILLINEWTONS', 'NEWTONS', 'POUNDALS', 'POUNDS'], '_member_map_': {'DYNES': <UnitForce.DYNES: 'dynes'>, 'KILOPONDS': <UnitForce.KILOPONDS: 'kiloponds'>, 'MICRONEWTONS': <UnitForce.MICRONEWTONS: 'micronewtons'>, 'MILLINEWTONS': <UnitForce.MILLINEWTONS: 'millinewtons'>, 'NEWTONS': <UnitForce.NEWTONS: 'newtons'>, 'POUNDALS': <UnitForce.POUNDALS: 'poundals'>, 'POUNDS': <UnitForce.POUNDS: 'pounds'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'dynes': <UnitForce.DYNES: 'dynes'>, 'kiloponds': <UnitForce.KILOPONDS: 'kiloponds'>, 'micronewtons': <UnitForce.MICRONEWTONS: 'micronewtons'>, 'millinewtons': <UnitForce.MILLINEWTONS: 'millinewtons'>, 'newtons': <UnitForce.NEWTONS: 'newtons'>, 'poundals': <UnitForce.POUNDALS: 'poundals'>, 'pounds': <UnitForce.POUNDS: 'pounds'>}, 'DYNES': <UnitForce.DYNES: 'dynes'>, 'KILOPONDS': <UnitForce.KILOPONDS: 'kiloponds'>, 'MICRONEWTONS': <UnitForce.MICRONEWTONS: 'micronewtons'>, 'MILLINEWTONS': <UnitForce.MILLINEWTONS: 'millinewtons'>, 'NEWTONS': <UnitForce.NEWTONS: 'newtons'>, 'POUNDALS': <UnitForce.POUNDALS: 'poundals'>, 'POUNDS': <UnitForce.POUNDS: 'pounds'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_force'[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_ = {'DYNES': UnitForce.DYNES, 'KILOPONDS': UnitForce.KILOPONDS, 'MICRONEWTONS': UnitForce.MICRONEWTONS, 'MILLINEWTONS': UnitForce.MILLINEWTONS, 'NEWTONS': UnitForce.NEWTONS, 'POUNDALS': UnitForce.POUNDALS, 'POUNDS': UnitForce.POUNDS}[source]
_member_names_ = ['DYNES', 'KILOPONDS', 'MICRONEWTONS', 'MILLINEWTONS', 'NEWTONS', 'POUNDALS', 'POUNDS'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'dynes': UnitForce.DYNES, 'kiloponds': UnitForce.KILOPONDS, 'micronewtons': UnitForce.MICRONEWTONS, 'millinewtons': UnitForce.MILLINEWTONS, 'newtons': UnitForce.NEWTONS, 'poundals': UnitForce.POUNDALS, 'pounds': UnitForce.POUNDS}[source]