kittycad.models.unit_angle

Classes

UnitAngle(value)

The valid types of angle formats.

class kittycad.models.unit_angle.UnitAngle(value)[source][source]

The valid types of angle formats.

DEGREES = 'degrees'[source]

//en.wikipedia.org/wiki/Radian>

Type:

# Radians <https

RADIANS = 'radians'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_angle', '__doc__': 'The valid types of angle formats.', '__str__': <function UnitAngle.__str__>, '__dict__': <attribute '__dict__' of 'UnitAngle' objects>, '__weakref__': <attribute '__weakref__' of 'UnitAngle' objects>, '_member_names_': ['DEGREES', 'RADIANS'], '_member_map_': {'DEGREES': <UnitAngle.DEGREES: 'degrees'>, 'RADIANS': <UnitAngle.RADIANS: 'radians'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'degrees': <UnitAngle.DEGREES: 'degrees'>, 'radians': <UnitAngle.RADIANS: 'radians'>}, 'DEGREES': <UnitAngle.DEGREES: 'degrees'>, 'RADIANS': <UnitAngle.RADIANS: 'radians'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_angle'[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_ = {'DEGREES': UnitAngle.DEGREES, 'RADIANS': UnitAngle.RADIANS}[source]
_member_names_ = ['DEGREES', 'RADIANS'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'degrees': UnitAngle.DEGREES, 'radians': UnitAngle.RADIANS}[source]