kittycad.models.unit_pressure

Classes

UnitPressure(value)

The valid types of pressure units.

class kittycad.models.unit_pressure.UnitPressure(value)[source][source]

The valid types of pressure units.

ATMOSPHERES = 'atmospheres'[source]

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

Type:

# Bars <https

BARS = 'bars'[source]

//en.wikipedia.org/wiki/Hectopascal>

Type:

# Hectopascals <https

HECTOPASCALS = 'hectopascals'[source]

//en.wikipedia.org/wiki/Kilopascal>

Type:

# Kilopascals <https

KILOPASCALS = 'kilopascals'[source]

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

Type:

# Millibars <https

MILLIBARS = 'millibars'[source]

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

Type:

# Pascals <https

PASCALS = 'pascals'[source]

//en.wikipedia.org/wiki/Pound_per_square_inch>

Type:

# Pounds per square inch (PSI) - <https

PSI = 'psi'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_pressure', '__doc__': 'The valid types of pressure units.', '__str__': <function UnitPressure.__str__>, '__dict__': <attribute '__dict__' of 'UnitPressure' objects>, '__weakref__': <attribute '__weakref__' of 'UnitPressure' objects>, '_member_names_': ['ATMOSPHERES', 'BARS', 'HECTOPASCALS', 'KILOPASCALS', 'MILLIBARS', 'PASCALS', 'PSI'], '_member_map_': {'ATMOSPHERES': <UnitPressure.ATMOSPHERES: 'atmospheres'>, 'BARS': <UnitPressure.BARS: 'bars'>, 'HECTOPASCALS': <UnitPressure.HECTOPASCALS: 'hectopascals'>, 'KILOPASCALS': <UnitPressure.KILOPASCALS: 'kilopascals'>, 'MILLIBARS': <UnitPressure.MILLIBARS: 'millibars'>, 'PASCALS': <UnitPressure.PASCALS: 'pascals'>, 'PSI': <UnitPressure.PSI: 'psi'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'atmospheres': <UnitPressure.ATMOSPHERES: 'atmospheres'>, 'bars': <UnitPressure.BARS: 'bars'>, 'hectopascals': <UnitPressure.HECTOPASCALS: 'hectopascals'>, 'kilopascals': <UnitPressure.KILOPASCALS: 'kilopascals'>, 'millibars': <UnitPressure.MILLIBARS: 'millibars'>, 'pascals': <UnitPressure.PASCALS: 'pascals'>, 'psi': <UnitPressure.PSI: 'psi'>}, 'ATMOSPHERES': <UnitPressure.ATMOSPHERES: 'atmospheres'>, 'BARS': <UnitPressure.BARS: 'bars'>, 'HECTOPASCALS': <UnitPressure.HECTOPASCALS: 'hectopascals'>, 'KILOPASCALS': <UnitPressure.KILOPASCALS: 'kilopascals'>, 'MILLIBARS': <UnitPressure.MILLIBARS: 'millibars'>, 'PASCALS': <UnitPressure.PASCALS: 'pascals'>, 'PSI': <UnitPressure.PSI: 'psi'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_pressure'[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_ = {'ATMOSPHERES': UnitPressure.ATMOSPHERES, 'BARS': UnitPressure.BARS, 'HECTOPASCALS': UnitPressure.HECTOPASCALS, 'KILOPASCALS': UnitPressure.KILOPASCALS, 'MILLIBARS': UnitPressure.MILLIBARS, 'PASCALS': UnitPressure.PASCALS, 'PSI': UnitPressure.PSI}[source]
_member_names_ = ['ATMOSPHERES', 'BARS', 'HECTOPASCALS', 'KILOPASCALS', 'MILLIBARS', 'PASCALS', 'PSI'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'atmospheres': UnitPressure.ATMOSPHERES, 'bars': UnitPressure.BARS, 'hectopascals': UnitPressure.HECTOPASCALS, 'kilopascals': UnitPressure.KILOPASCALS, 'millibars': UnitPressure.MILLIBARS, 'pascals': UnitPressure.PASCALS, 'psi': UnitPressure.PSI}[source]