kittycad.models.unit_velocity_format.UnitVelocityFormat

class kittycad.models.unit_velocity_format.UnitVelocityFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of velocity unit formats.

__init__()[source]

Attributes

METERS_PER_SECOND

//en.wikipedia.org/wiki/Foot_per_second>

FEET_PER_SECOND

//en.wikipedia.org/wiki/Miles_per_hour>

MILES_PER_HOUR

//en.wikipedia.org/wiki/Kilometres_per_hour>

KILOMETERS_PER_HOUR

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

KNOT

FEET_PER_SECOND = 'feet_per_second'[source]

//en.wikipedia.org/wiki/Miles_per_hour>

Type

# <https

KILOMETERS_PER_HOUR = 'kilometers_per_hour'[source]

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

Type

# <https

KNOT = 'knot'[source]
METERS_PER_SECOND = 'meters_per_second'[source]

//en.wikipedia.org/wiki/Foot_per_second>

Type

# <https

MILES_PER_HOUR = 'miles_per_hour'[source]

//en.wikipedia.org/wiki/Kilometres_per_hour>

Type

# <https

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_velocity_format', '__doc__': 'The valid types of velocity unit formats.', '__str__': <function UnitVelocityFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitVelocityFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitVelocityFormat' objects>, '_member_names_': ['METERS_PER_SECOND', 'FEET_PER_SECOND', 'MILES_PER_HOUR', 'KILOMETERS_PER_HOUR', 'KNOT'], '_member_map_': {'METERS_PER_SECOND': <UnitVelocityFormat.METERS_PER_SECOND: 'meters_per_second'>, 'FEET_PER_SECOND': <UnitVelocityFormat.FEET_PER_SECOND: 'feet_per_second'>, 'MILES_PER_HOUR': <UnitVelocityFormat.MILES_PER_HOUR: 'miles_per_hour'>, 'KILOMETERS_PER_HOUR': <UnitVelocityFormat.KILOMETERS_PER_HOUR: 'kilometers_per_hour'>, 'KNOT': <UnitVelocityFormat.KNOT: 'knot'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'meters_per_second': <UnitVelocityFormat.METERS_PER_SECOND: 'meters_per_second'>, 'feet_per_second': <UnitVelocityFormat.FEET_PER_SECOND: 'feet_per_second'>, 'miles_per_hour': <UnitVelocityFormat.MILES_PER_HOUR: 'miles_per_hour'>, 'kilometers_per_hour': <UnitVelocityFormat.KILOMETERS_PER_HOUR: 'kilometers_per_hour'>, 'knot': <UnitVelocityFormat.KNOT: 'knot'>}, 'METERS_PER_SECOND': <UnitVelocityFormat.METERS_PER_SECOND: 'meters_per_second'>, 'FEET_PER_SECOND': <UnitVelocityFormat.FEET_PER_SECOND: 'feet_per_second'>, 'MILES_PER_HOUR': <UnitVelocityFormat.MILES_PER_HOUR: 'miles_per_hour'>, 'KILOMETERS_PER_HOUR': <UnitVelocityFormat.KILOMETERS_PER_HOUR: 'kilometers_per_hour'>, 'KNOT': <UnitVelocityFormat.KNOT: 'knot'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_velocity_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': UnitVelocityFormat.FEET_PER_SECOND, 'KILOMETERS_PER_HOUR': UnitVelocityFormat.KILOMETERS_PER_HOUR, 'KNOT': UnitVelocityFormat.KNOT, 'METERS_PER_SECOND': UnitVelocityFormat.METERS_PER_SECOND, 'MILES_PER_HOUR': UnitVelocityFormat.MILES_PER_HOUR}[source]
_member_names_ = ['METERS_PER_SECOND', 'FEET_PER_SECOND', 'MILES_PER_HOUR', 'KILOMETERS_PER_HOUR', 'KNOT'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'feet_per_second': UnitVelocityFormat.FEET_PER_SECOND, 'kilometers_per_hour': UnitVelocityFormat.KILOMETERS_PER_HOUR, 'knot': UnitVelocityFormat.KNOT, 'meters_per_second': UnitVelocityFormat.METERS_PER_SECOND, 'miles_per_hour': UnitVelocityFormat.MILES_PER_HOUR}[source]