kittycad.models.unit_pressure_format.UnitPressureFormat

class kittycad.models.unit_pressure_format.UnitPressureFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of pressure unit formats.

__init__()[source]

Attributes

PASCAL

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

BAR

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

MBAR

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

ATMOSPHERE

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

POUNDS_PER_SQUARE_INCH

ATMOSPHERE = 'atmosphere'[source]

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

Type

# psi - <https

BAR = 'bar'[source]

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

Type

# MilliBar <https

MBAR = 'mbar'[source]

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

Type

# <https

PASCAL = 'pascal'[source]

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

Type

# <https

POUNDS_PER_SQUARE_INCH = 'pounds_per_square_inch'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_pressure_format', '__doc__': 'The valid types of pressure unit formats.', '__str__': <function UnitPressureFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitPressureFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitPressureFormat' objects>, '_member_names_': ['PASCAL', 'BAR', 'MBAR', 'ATMOSPHERE', 'POUNDS_PER_SQUARE_INCH'], '_member_map_': {'PASCAL': <UnitPressureFormat.PASCAL: 'pascal'>, 'BAR': <UnitPressureFormat.BAR: 'bar'>, 'MBAR': <UnitPressureFormat.MBAR: 'mbar'>, 'ATMOSPHERE': <UnitPressureFormat.ATMOSPHERE: 'atmosphere'>, 'POUNDS_PER_SQUARE_INCH': <UnitPressureFormat.POUNDS_PER_SQUARE_INCH: 'pounds_per_square_inch'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'pascal': <UnitPressureFormat.PASCAL: 'pascal'>, 'bar': <UnitPressureFormat.BAR: 'bar'>, 'mbar': <UnitPressureFormat.MBAR: 'mbar'>, 'atmosphere': <UnitPressureFormat.ATMOSPHERE: 'atmosphere'>, 'pounds_per_square_inch': <UnitPressureFormat.POUNDS_PER_SQUARE_INCH: 'pounds_per_square_inch'>}, 'PASCAL': <UnitPressureFormat.PASCAL: 'pascal'>, 'BAR': <UnitPressureFormat.BAR: 'bar'>, 'MBAR': <UnitPressureFormat.MBAR: 'mbar'>, 'ATMOSPHERE': <UnitPressureFormat.ATMOSPHERE: 'atmosphere'>, 'POUNDS_PER_SQUARE_INCH': <UnitPressureFormat.POUNDS_PER_SQUARE_INCH: 'pounds_per_square_inch'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_pressure_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_ = {'ATMOSPHERE': UnitPressureFormat.ATMOSPHERE, 'BAR': UnitPressureFormat.BAR, 'MBAR': UnitPressureFormat.MBAR, 'PASCAL': UnitPressureFormat.PASCAL, 'POUNDS_PER_SQUARE_INCH': UnitPressureFormat.POUNDS_PER_SQUARE_INCH}[source]
_member_names_ = ['PASCAL', 'BAR', 'MBAR', 'ATMOSPHERE', 'POUNDS_PER_SQUARE_INCH'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'atmosphere': UnitPressureFormat.ATMOSPHERE, 'bar': UnitPressureFormat.BAR, 'mbar': UnitPressureFormat.MBAR, 'pascal': UnitPressureFormat.PASCAL, 'pounds_per_square_inch': UnitPressureFormat.POUNDS_PER_SQUARE_INCH}[source]