kittycad.models.unit_acceleration_format.UnitAccelerationFormat

class kittycad.models.unit_acceleration_format.UnitAccelerationFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of acceleration unit formats.

__init__()[source]

Attributes

METERS_PER_SECOND_SQUARED

# Acceleration in ft/s^2 unit form

FEET_PER_SECOND_SQUARED

//en.wikipedia.org/wiki/Standard_gravity>

STANDARD_GRAVITY

FEET_PER_SECOND_SQUARED = 'feet_per_second_squared'[source]

//en.wikipedia.org/wiki/Standard_gravity>

Type

# Acceleration in standard gravity (g) unit form (aka where 9.80665 m/s^2 is the base unit). <https

METERS_PER_SECOND_SQUARED = 'meters_per_second_squared'[source]

# Acceleration in ft/s^2 unit form

STANDARD_GRAVITY = 'standard_gravity'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_acceleration_format', '__doc__': 'The valid types of acceleration unit formats.', '__str__': <function UnitAccelerationFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitAccelerationFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitAccelerationFormat' objects>, '_member_names_': ['METERS_PER_SECOND_SQUARED', 'FEET_PER_SECOND_SQUARED', 'STANDARD_GRAVITY'], '_member_map_': {'METERS_PER_SECOND_SQUARED': <UnitAccelerationFormat.METERS_PER_SECOND_SQUARED: 'meters_per_second_squared'>, 'FEET_PER_SECOND_SQUARED': <UnitAccelerationFormat.FEET_PER_SECOND_SQUARED: 'feet_per_second_squared'>, 'STANDARD_GRAVITY': <UnitAccelerationFormat.STANDARD_GRAVITY: 'standard_gravity'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'meters_per_second_squared': <UnitAccelerationFormat.METERS_PER_SECOND_SQUARED: 'meters_per_second_squared'>, 'feet_per_second_squared': <UnitAccelerationFormat.FEET_PER_SECOND_SQUARED: 'feet_per_second_squared'>, 'standard_gravity': <UnitAccelerationFormat.STANDARD_GRAVITY: 'standard_gravity'>}, 'METERS_PER_SECOND_SQUARED': <UnitAccelerationFormat.METERS_PER_SECOND_SQUARED: 'meters_per_second_squared'>, 'FEET_PER_SECOND_SQUARED': <UnitAccelerationFormat.FEET_PER_SECOND_SQUARED: 'feet_per_second_squared'>, 'STANDARD_GRAVITY': <UnitAccelerationFormat.STANDARD_GRAVITY: 'standard_gravity'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_acceleration_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_ = {'FEET_PER_SECOND_SQUARED': UnitAccelerationFormat.FEET_PER_SECOND_SQUARED, 'METERS_PER_SECOND_SQUARED': UnitAccelerationFormat.METERS_PER_SECOND_SQUARED, 'STANDARD_GRAVITY': UnitAccelerationFormat.STANDARD_GRAVITY}[source]
_member_names_ = ['METERS_PER_SECOND_SQUARED', 'FEET_PER_SECOND_SQUARED', 'STANDARD_GRAVITY'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'feet_per_second_squared': UnitAccelerationFormat.FEET_PER_SECOND_SQUARED, 'meters_per_second_squared': UnitAccelerationFormat.METERS_PER_SECOND_SQUARED, 'standard_gravity': UnitAccelerationFormat.STANDARD_GRAVITY}[source]