kittycad.models.unit_pressure.UnitPressure
- class kittycad.models.unit_pressure.UnitPressure(value)[source][source]
-
The valid types of pressure units.
Attributes
//en.wikipedia.org/wiki/Bar_(unit)>
//en.wikipedia.org/wiki/Hectopascal>
//en.wikipedia.org/wiki/Kilopascal>
//en.wikipedia.org/wiki/Bar_(unit)>
//en.wikipedia.org/wiki/Pascal_(unit)>
//en.wikipedia.org/wiki/Pound_per_square_inch>
- HECTOPASCALS = 'hectopascals'[source]
//en.wikipedia.org/wiki/Kilopascal>
- Type:
# Kilopascals <https
- PASCALS = 'pascals'[source]
//en.wikipedia.org/wiki/Pound_per_square_inch>
- Type:
# Pounds per square inch (PSI) - <https
- __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]
- _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]