kittycad.models.unit_pressure_format.UnitPressureFormat
- class kittycad.models.unit_pressure_format.UnitPressureFormat(value)[source][source]
-
The valid types of pressure unit formats.
Attributes
//en.wikipedia.org/wiki/Bar_(unit)>
//en.wikipedia.org/wiki/Bar_(unit)>
//en.wikipedia.org/wiki/Standard_atmosphere_(unit)>
//en.wikipedia.org/wiki/Pound_per_square_inch>
- ATMOSPHERE = 'atmosphere'[source]
//en.wikipedia.org/wiki/Pound_per_square_inch>
- Type
# psi - <https
- __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]
- _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