kittycad.models.unit_velocity_format.UnitVelocityFormat
- class kittycad.models.unit_velocity_format.UnitVelocityFormat(value)[source][source]
-
The valid types of velocity unit formats.
Attributes
//en.wikipedia.org/wiki/Foot_per_second>
//en.wikipedia.org/wiki/Miles_per_hour>
//en.wikipedia.org/wiki/Kilometres_per_hour>
//en.wikipedia.org/wiki/Knot_(unit)>
- KILOMETERS_PER_HOUR = 'kilometers_per_hour'[source]
//en.wikipedia.org/wiki/Knot_(unit)>
- Type
# <https
- 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
- __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]
- _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]