kittycad.models.unit_illuminance_format.UnitIlluminanceFormat
- class kittycad.models.unit_illuminance_format.UnitIlluminanceFormat(value)[source][source]
-
The valid types of illuminance unit formats.
Attributes
//en.wikipedia.org/wiki/Foot-candle>
//en.wikipedia.org/wiki/Lumen_(unit)>
//en.wikipedia.org/wiki/Phot>
- LUMENS_PER_SQUARE_INCH = 'lumens_per_square_inch'[source]
//en.wikipedia.org/wiki/Phot>
- Type
# <https
- __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]
- _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