kittycad.models.unit_angle_format.UnitAngleFormat

class kittycad.models.unit_angle_format.UnitAngleFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of angle formats.

__init__()[source]

Attributes

RADIAN

//en.wikipedia.org/wiki/Degree_(angle)>

DEGREE

//en.wikipedia.org/wiki/Minute_and_second_of_arc>

ARCMINUTE

//en.wikipedia.org/wiki/Minute_and_second_of_arc>

ARCSECOND

//en.wikipedia.org/wiki/Minute_and_second_of_arc#Symbols_and_abbreviations>

MILLIARCSECOND

//en.wikipedia.org/wiki/Turn_(angle)>

TURN

//en.wikipedia.org/wiki/Gradian>

GRADIAN

ARCMINUTE = 'arcminute'[source]

//en.wikipedia.org/wiki/Minute_and_second_of_arc>

Type

# <https

ARCSECOND = 'arcsecond'[source]

//en.wikipedia.org/wiki/Minute_and_second_of_arc#Symbols_and_abbreviations>

Type

# <https

DEGREE = 'degree'[source]

//en.wikipedia.org/wiki/Minute_and_second_of_arc>

Type

# <https

GRADIAN = 'gradian'[source]
MILLIARCSECOND = 'milliarcsecond'[source]

//en.wikipedia.org/wiki/Turn_(angle)>

Type

# <https

RADIAN = 'radian'[source]

//en.wikipedia.org/wiki/Degree_(angle)>

Type

# <https

TURN = 'turn'[source]

//en.wikipedia.org/wiki/Gradian>

Type

# <https

__annotations__ = {}[source]
__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]
__module__ = 'kittycad.models.unit_angle_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_ = {'ARCMINUTE': UnitAngleFormat.ARCMINUTE, 'ARCSECOND': UnitAngleFormat.ARCSECOND, 'DEGREE': UnitAngleFormat.DEGREE, 'GRADIAN': UnitAngleFormat.GRADIAN, 'MILLIARCSECOND': UnitAngleFormat.MILLIARCSECOND, 'RADIAN': UnitAngleFormat.RADIAN, 'TURN': UnitAngleFormat.TURN}[source]
_member_names_ = ['RADIAN', 'DEGREE', 'ARCMINUTE', 'ARCSECOND', 'MILLIARCSECOND', 'TURN', 'GRADIAN'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'arcminute': UnitAngleFormat.ARCMINUTE, 'arcsecond': UnitAngleFormat.ARCSECOND, 'degree': UnitAngleFormat.DEGREE, 'gradian': UnitAngleFormat.GRADIAN, 'milliarcsecond': UnitAngleFormat.MILLIARCSECOND, 'radian': UnitAngleFormat.RADIAN, 'turn': UnitAngleFormat.TURN}[source]