kittycad.models.unit_area_format.UnitAreaFormat

class kittycad.models.unit_area_format.UnitAreaFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of area unit formats.

__init__()[source]

Attributes

SQUARE_METER

//en.wikipedia.org/wiki/Square_foot>

SQUARE_FOOT

//en.wikipedia.org/wiki/Square_inch>

SQUARE_INCH

//en.wikipedia.org/wiki/Square_mile>

SQUARE_MILE

//en.wikipedia.org/wiki/Square_kilometre>

SQUARE_KILOMETER

//en.wikipedia.org/wiki/Hectare>

HECTARE

//en.wikipedia.org/wiki/Acre>

ACRE

ACRE = 'acre'[source]
HECTARE = 'hectare'[source]

//en.wikipedia.org/wiki/Acre>

Type

# <https

SQUARE_FOOT = 'square_foot'[source]

//en.wikipedia.org/wiki/Square_inch>

Type

# <https

SQUARE_INCH = 'square_inch'[source]

//en.wikipedia.org/wiki/Square_mile>

Type

# <https

SQUARE_KILOMETER = 'square_kilometer'[source]

//en.wikipedia.org/wiki/Hectare>

Type

# <https

SQUARE_METER = 'square_meter'[source]

//en.wikipedia.org/wiki/Square_foot>

Type

# <https

SQUARE_MILE = 'square_mile'[source]

//en.wikipedia.org/wiki/Square_kilometre>

Type

# <https

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_area_format', '__doc__': 'The valid types of area unit formats.', '__str__': <function UnitAreaFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitAreaFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitAreaFormat' objects>, '_member_names_': ['SQUARE_METER', 'SQUARE_FOOT', 'SQUARE_INCH', 'SQUARE_MILE', 'SQUARE_KILOMETER', 'HECTARE', 'ACRE'], '_member_map_': {'SQUARE_METER': <UnitAreaFormat.SQUARE_METER: 'square_meter'>, 'SQUARE_FOOT': <UnitAreaFormat.SQUARE_FOOT: 'square_foot'>, 'SQUARE_INCH': <UnitAreaFormat.SQUARE_INCH: 'square_inch'>, 'SQUARE_MILE': <UnitAreaFormat.SQUARE_MILE: 'square_mile'>, 'SQUARE_KILOMETER': <UnitAreaFormat.SQUARE_KILOMETER: 'square_kilometer'>, 'HECTARE': <UnitAreaFormat.HECTARE: 'hectare'>, 'ACRE': <UnitAreaFormat.ACRE: 'acre'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'square_meter': <UnitAreaFormat.SQUARE_METER: 'square_meter'>, 'square_foot': <UnitAreaFormat.SQUARE_FOOT: 'square_foot'>, 'square_inch': <UnitAreaFormat.SQUARE_INCH: 'square_inch'>, 'square_mile': <UnitAreaFormat.SQUARE_MILE: 'square_mile'>, 'square_kilometer': <UnitAreaFormat.SQUARE_KILOMETER: 'square_kilometer'>, 'hectare': <UnitAreaFormat.HECTARE: 'hectare'>, 'acre': <UnitAreaFormat.ACRE: 'acre'>}, 'SQUARE_METER': <UnitAreaFormat.SQUARE_METER: 'square_meter'>, 'SQUARE_FOOT': <UnitAreaFormat.SQUARE_FOOT: 'square_foot'>, 'SQUARE_INCH': <UnitAreaFormat.SQUARE_INCH: 'square_inch'>, 'SQUARE_MILE': <UnitAreaFormat.SQUARE_MILE: 'square_mile'>, 'SQUARE_KILOMETER': <UnitAreaFormat.SQUARE_KILOMETER: 'square_kilometer'>, 'HECTARE': <UnitAreaFormat.HECTARE: 'hectare'>, 'ACRE': <UnitAreaFormat.ACRE: 'acre'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_area_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_ = {'ACRE': UnitAreaFormat.ACRE, 'HECTARE': UnitAreaFormat.HECTARE, 'SQUARE_FOOT': UnitAreaFormat.SQUARE_FOOT, 'SQUARE_INCH': UnitAreaFormat.SQUARE_INCH, 'SQUARE_KILOMETER': UnitAreaFormat.SQUARE_KILOMETER, 'SQUARE_METER': UnitAreaFormat.SQUARE_METER, 'SQUARE_MILE': UnitAreaFormat.SQUARE_MILE}[source]
_member_names_ = ['SQUARE_METER', 'SQUARE_FOOT', 'SQUARE_INCH', 'SQUARE_MILE', 'SQUARE_KILOMETER', 'HECTARE', 'ACRE'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'acre': UnitAreaFormat.ACRE, 'hectare': UnitAreaFormat.HECTARE, 'square_foot': UnitAreaFormat.SQUARE_FOOT, 'square_inch': UnitAreaFormat.SQUARE_INCH, 'square_kilometer': UnitAreaFormat.SQUARE_KILOMETER, 'square_meter': UnitAreaFormat.SQUARE_METER, 'square_mile': UnitAreaFormat.SQUARE_MILE}[source]