kittycad.models.unit_force_format

Classes

UnitForceFormat(value)

The valid types of force unit formats.

class kittycad.models.unit_force_format.UnitForceFormat(value)[source][source]

The valid types of force unit formats.

DYNE = 'dyne'[source]

//en.wikipedia.org/wiki/Kilogram-force>

Type

# <https

KILOPOND = 'kilopond'[source]

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

Type

# <https

NEWTON = 'newton'[source]

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

Type

# <https

POUND = 'pound'[source]

//en.wikipedia.org/wiki/Dyne>

Type

# <https

POUNDAL = 'poundal'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_force_format', '__doc__': 'The valid types of force unit formats.', '__str__': <function UnitForceFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitForceFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitForceFormat' objects>, '_member_names_': ['NEWTON', 'POUND', 'DYNE', 'KILOPOND', 'POUNDAL'], '_member_map_': {'NEWTON': <UnitForceFormat.NEWTON: 'newton'>, 'POUND': <UnitForceFormat.POUND: 'pound'>, 'DYNE': <UnitForceFormat.DYNE: 'dyne'>, 'KILOPOND': <UnitForceFormat.KILOPOND: 'kilopond'>, 'POUNDAL': <UnitForceFormat.POUNDAL: 'poundal'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'newton': <UnitForceFormat.NEWTON: 'newton'>, 'pound': <UnitForceFormat.POUND: 'pound'>, 'dyne': <UnitForceFormat.DYNE: 'dyne'>, 'kilopond': <UnitForceFormat.KILOPOND: 'kilopond'>, 'poundal': <UnitForceFormat.POUNDAL: 'poundal'>}, 'NEWTON': <UnitForceFormat.NEWTON: 'newton'>, 'POUND': <UnitForceFormat.POUND: 'pound'>, 'DYNE': <UnitForceFormat.DYNE: 'dyne'>, 'KILOPOND': <UnitForceFormat.KILOPOND: 'kilopond'>, 'POUNDAL': <UnitForceFormat.POUNDAL: 'poundal'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_force_format'[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_ = {'DYNE': UnitForceFormat.DYNE, 'KILOPOND': UnitForceFormat.KILOPOND, 'NEWTON': UnitForceFormat.NEWTON, 'POUND': UnitForceFormat.POUND, 'POUNDAL': UnitForceFormat.POUNDAL}[source]
_member_names_ = ['NEWTON', 'POUND', 'DYNE', 'KILOPOND', 'POUNDAL'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'dyne': UnitForceFormat.DYNE, 'kilopond': UnitForceFormat.KILOPOND, 'newton': UnitForceFormat.NEWTON, 'pound': UnitForceFormat.POUND, 'poundal': UnitForceFormat.POUNDAL}[source]