kittycad.models.unit_illuminance_format.UnitIlluminanceFormat

class kittycad.models.unit_illuminance_format.UnitIlluminanceFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of illuminance unit formats.

__init__()[source]

Attributes

LUX

//en.wikipedia.org/wiki/Foot-candle>

FOOTCANDLE

//en.wikipedia.org/wiki/Lumen_(unit)>

LUMENS_PER_SQUARE_INCH

//en.wikipedia.org/wiki/Phot>

PHOT

FOOTCANDLE = 'footcandle'[source]

//en.wikipedia.org/wiki/Lumen_(unit)>

Type

# <https

LUMENS_PER_SQUARE_INCH = 'lumens_per_square_inch'[source]

//en.wikipedia.org/wiki/Phot>

Type

# <https

LUX = 'lux'[source]

//en.wikipedia.org/wiki/Foot-candle>

Type

# <https

PHOT = 'phot'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_illuminance_format', '__doc__': 'The valid types of illuminance unit formats.', '__str__': <function UnitIlluminanceFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitIlluminanceFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitIlluminanceFormat' objects>, '_member_names_': ['LUX', 'FOOTCANDLE', 'LUMENS_PER_SQUARE_INCH', 'PHOT'], '_member_map_': {'LUX': <UnitIlluminanceFormat.LUX: 'lux'>, 'FOOTCANDLE': <UnitIlluminanceFormat.FOOTCANDLE: 'footcandle'>, 'LUMENS_PER_SQUARE_INCH': <UnitIlluminanceFormat.LUMENS_PER_SQUARE_INCH: 'lumens_per_square_inch'>, 'PHOT': <UnitIlluminanceFormat.PHOT: 'phot'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'lux': <UnitIlluminanceFormat.LUX: 'lux'>, 'footcandle': <UnitIlluminanceFormat.FOOTCANDLE: 'footcandle'>, 'lumens_per_square_inch': <UnitIlluminanceFormat.LUMENS_PER_SQUARE_INCH: 'lumens_per_square_inch'>, 'phot': <UnitIlluminanceFormat.PHOT: 'phot'>}, 'LUX': <UnitIlluminanceFormat.LUX: 'lux'>, 'FOOTCANDLE': <UnitIlluminanceFormat.FOOTCANDLE: 'footcandle'>, 'LUMENS_PER_SQUARE_INCH': <UnitIlluminanceFormat.LUMENS_PER_SQUARE_INCH: 'lumens_per_square_inch'>, 'PHOT': <UnitIlluminanceFormat.PHOT: 'phot'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_illuminance_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_ = {'FOOTCANDLE': UnitIlluminanceFormat.FOOTCANDLE, 'LUMENS_PER_SQUARE_INCH': UnitIlluminanceFormat.LUMENS_PER_SQUARE_INCH, 'LUX': UnitIlluminanceFormat.LUX, 'PHOT': UnitIlluminanceFormat.PHOT}[source]
_member_names_ = ['LUX', 'FOOTCANDLE', 'LUMENS_PER_SQUARE_INCH', 'PHOT'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'footcandle': UnitIlluminanceFormat.FOOTCANDLE, 'lumens_per_square_inch': UnitIlluminanceFormat.LUMENS_PER_SQUARE_INCH, 'lux': UnitIlluminanceFormat.LUX, 'phot': UnitIlluminanceFormat.PHOT}[source]