kittycad.models.unit_solid_angle_format

Classes

UnitSolidAngleFormat(value)

The valid types of solid angle unit formats.

class kittycad.models.unit_solid_angle_format.UnitSolidAngleFormat(value)[source][source]

The valid types of solid angle unit formats.

DEGREE_SQUARED = 'degree_squared'[source]

//en.wikipedia.org/wiki/Spat_(angular_unit)>

Type

# <https

SPAT = 'spat'[source]
STERADIAN = 'steradian'[source]

//en.wikipedia.org/wiki/Square_degree>

Type

# <https

__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_solid_angle_format', '__doc__': 'The valid types of solid angle unit formats.', '__str__': <function UnitSolidAngleFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitSolidAngleFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitSolidAngleFormat' objects>, '_member_names_': ['STERADIAN', 'DEGREE_SQUARED', 'SPAT'], '_member_map_': {'STERADIAN': <UnitSolidAngleFormat.STERADIAN: 'steradian'>, 'DEGREE_SQUARED': <UnitSolidAngleFormat.DEGREE_SQUARED: 'degree_squared'>, 'SPAT': <UnitSolidAngleFormat.SPAT: 'spat'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'steradian': <UnitSolidAngleFormat.STERADIAN: 'steradian'>, 'degree_squared': <UnitSolidAngleFormat.DEGREE_SQUARED: 'degree_squared'>, 'spat': <UnitSolidAngleFormat.SPAT: 'spat'>}, 'STERADIAN': <UnitSolidAngleFormat.STERADIAN: 'steradian'>, 'DEGREE_SQUARED': <UnitSolidAngleFormat.DEGREE_SQUARED: 'degree_squared'>, 'SPAT': <UnitSolidAngleFormat.SPAT: 'spat'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_solid_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_ = {'DEGREE_SQUARED': UnitSolidAngleFormat.DEGREE_SQUARED, 'SPAT': UnitSolidAngleFormat.SPAT, 'STERADIAN': UnitSolidAngleFormat.STERADIAN}[source]
_member_names_ = ['STERADIAN', 'DEGREE_SQUARED', 'SPAT'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'degree_squared': UnitSolidAngleFormat.DEGREE_SQUARED, 'spat': UnitSolidAngleFormat.SPAT, 'steradian': UnitSolidAngleFormat.STERADIAN}[source]