kittycad.models.unit_angle_format.UnitAngleFormat
- class kittycad.models.unit_angle_format.UnitAngleFormat(value)[source][source]
-
The valid types of angle formats.
Attributes
//en.wikipedia.org/wiki/Degree_(angle)>
//en.wikipedia.org/wiki/Minute_and_second_of_arc>
//en.wikipedia.org/wiki/Minute_and_second_of_arc>
//en.wikipedia.org/wiki/Minute_and_second_of_arc#Symbols_and_abbreviations>
//en.wikipedia.org/wiki/Turn_(angle)>
//en.wikipedia.org/wiki/Gradian>
- ARCSECOND = 'arcsecond'[source]
//en.wikipedia.org/wiki/Minute_and_second_of_arc#Symbols_and_abbreviations>
- Type
# <https
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_angle_format', '__doc__': 'The valid types of angle formats.', '__str__': <function UnitAngleFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitAngleFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitAngleFormat' objects>, '_member_names_': ['RADIAN', 'DEGREE', 'ARCMINUTE', 'ARCSECOND', 'MILLIARCSECOND', 'TURN', 'GRADIAN'], '_member_map_': {'RADIAN': <UnitAngleFormat.RADIAN: 'radian'>, 'DEGREE': <UnitAngleFormat.DEGREE: 'degree'>, 'ARCMINUTE': <UnitAngleFormat.ARCMINUTE: 'arcminute'>, 'ARCSECOND': <UnitAngleFormat.ARCSECOND: 'arcsecond'>, 'MILLIARCSECOND': <UnitAngleFormat.MILLIARCSECOND: 'milliarcsecond'>, 'TURN': <UnitAngleFormat.TURN: 'turn'>, 'GRADIAN': <UnitAngleFormat.GRADIAN: 'gradian'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'radian': <UnitAngleFormat.RADIAN: 'radian'>, 'degree': <UnitAngleFormat.DEGREE: 'degree'>, 'arcminute': <UnitAngleFormat.ARCMINUTE: 'arcminute'>, 'arcsecond': <UnitAngleFormat.ARCSECOND: 'arcsecond'>, 'milliarcsecond': <UnitAngleFormat.MILLIARCSECOND: 'milliarcsecond'>, 'turn': <UnitAngleFormat.TURN: 'turn'>, 'gradian': <UnitAngleFormat.GRADIAN: 'gradian'>}, 'RADIAN': <UnitAngleFormat.RADIAN: 'radian'>, 'DEGREE': <UnitAngleFormat.DEGREE: 'degree'>, 'ARCMINUTE': <UnitAngleFormat.ARCMINUTE: 'arcminute'>, 'ARCSECOND': <UnitAngleFormat.ARCSECOND: 'arcsecond'>, 'MILLIARCSECOND': <UnitAngleFormat.MILLIARCSECOND: 'milliarcsecond'>, 'TURN': <UnitAngleFormat.TURN: 'turn'>, 'GRADIAN': <UnitAngleFormat.GRADIAN: 'gradian'>, '__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_ = {'ARCMINUTE': UnitAngleFormat.ARCMINUTE, 'ARCSECOND': UnitAngleFormat.ARCSECOND, 'DEGREE': UnitAngleFormat.DEGREE, 'GRADIAN': UnitAngleFormat.GRADIAN, 'MILLIARCSECOND': UnitAngleFormat.MILLIARCSECOND, 'RADIAN': UnitAngleFormat.RADIAN, 'TURN': UnitAngleFormat.TURN}[source]