kittycad.models.unit_volume_format.UnitVolumeFormat

class kittycad.models.unit_volume_format.UnitVolumeFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of volume unit formats.

__init__()[source]

Attributes

CUBIC_METER

//en.wikipedia.org/wiki/Centimetre>

CUBIC_CENTIMETER

//en.wikipedia.org/wiki/Cubic_metre>

CUBIC_MILLIMETER

//en.wikipedia.org/wiki/Cubic_metre>

CUBIC_KILOMETER

//en.wikipedia.org/wiki/Litre>

LITER

//en.wikipedia.org/wiki/Cubic_inch>

CUBIC_INCH

//en.wikipedia.org/wiki/Cubic_foot>

CUBIC_FOOT

//en.wikipedia.org/wiki/Cubic_foot>

CUBIC_YARD

//en.wikipedia.org/wiki/Cubic_foot>

CUBIC_MILE

//en.wikipedia.org/wiki/Gallon>

GALLON

//en.wikipedia.org/wiki/Quart>

QUART

//en.wikipedia.org/wiki/Pint>

PINT

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

CUP

//en.wikipedia.org/wiki/Fluid_ounce>

FLUID_OUNCE

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

BARREL

//en.wikipedia.org/wiki/Bushel>

BUSHEL

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

CORD

//en.wikipedia.org/wiki/Cubic_fathom>

CUBIC_FATHOM

//en.wikipedia.org/wiki/Tablespoon>

TABLESPOON

//en.wikipedia.org/wiki/Teaspoon>

TEASPOON

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

PINCH

//en.wikipedia.org/wiki/Cooking_weights_and_measures>

DASH

//en.wikipedia.org/wiki/Cooking_weights_and_measures>

DROP

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

FIFTH

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

DRAM

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

GILL

//en.wikipedia.org/wiki/Imperial_units>

PECK

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

SACK

//en.wikipedia.org/wiki/Shot_glass>

SHOT

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

STRIKE

BARREL = 'barrel'[source]

//en.wikipedia.org/wiki/Bushel>

Type

# Bushel <https

BUSHEL = 'bushel'[source]

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

Type

# Cord <https

CORD = 'cord'[source]

//en.wikipedia.org/wiki/Cubic_fathom>

Type

# Cubic Fathom <https

CUBIC_CENTIMETER = 'cubic_centimeter'[source]

//en.wikipedia.org/wiki/Cubic_metre>

Type

# Millimeter <https

CUBIC_FATHOM = 'cubic_fathom'[source]

//en.wikipedia.org/wiki/Tablespoon>

Type

# Tablespoon <https

CUBIC_FOOT = 'cubic_foot'[source]

//en.wikipedia.org/wiki/Cubic_foot>

Type

# Yard <https

CUBIC_INCH = 'cubic_inch'[source]

//en.wikipedia.org/wiki/Cubic_foot>

Type

# Foot <https

CUBIC_KILOMETER = 'cubic_kilometer'[source]

//en.wikipedia.org/wiki/Litre>

Type

# Unit Liter <https

CUBIC_METER = 'cubic_meter'[source]

//en.wikipedia.org/wiki/Centimetre>

Type

# Centimeter <https

CUBIC_MILE = 'cubic_mile'[source]

//en.wikipedia.org/wiki/Gallon>

Type

# Gallon <https

CUBIC_MILLIMETER = 'cubic_millimeter'[source]

//en.wikipedia.org/wiki/Cubic_metre>

Type

# Kilometer <https

CUBIC_YARD = 'cubic_yard'[source]

//en.wikipedia.org/wiki/Cubic_foot>

Type

# Mile <https

CUP = 'cup'[source]

//en.wikipedia.org/wiki/Fluid_ounce>

Type

# Fluid Ounce <https

DASH = 'dash'[source]

//en.wikipedia.org/wiki/Cooking_weights_and_measures>

Type

# Drop <https

DRAM = 'dram'[source]

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

Type

# Gill <https

DROP = 'drop'[source]

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

Type

# Fifth <https

FIFTH = 'fifth'[source]

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

Type

# Dram <https

FLUID_OUNCE = 'fluid_ounce'[source]

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

Type

# Barrel <https

GALLON = 'gallon'[source]

//en.wikipedia.org/wiki/Quart>

Type

# Quart <https

GILL = 'gill'[source]

//en.wikipedia.org/wiki/Imperial_units>

Type

# Peck <https

LITER = 'liter'[source]

//en.wikipedia.org/wiki/Cubic_inch>

Type

# Cubic Inch <https

PECK = 'peck'[source]

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

Type

# Stack <https

PINCH = 'pinch'[source]

//en.wikipedia.org/wiki/Cooking_weights_and_measures>

Type

# Dash <https

PINT = 'pint'[source]

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

Type

# Cup <https

QUART = 'quart'[source]

//en.wikipedia.org/wiki/Pint>

Type

# Pint <https

SACK = 'sack'[source]

//en.wikipedia.org/wiki/Shot_glass>

Type

# Shot <https

SHOT = 'shot'[source]

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

Type

# Strike <https

STRIKE = 'strike'[source]
TABLESPOON = 'tablespoon'[source]

//en.wikipedia.org/wiki/Teaspoon>

Type

# Teaspoon <https

TEASPOON = 'teaspoon'[source]

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

Type

# Pinch <https

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_volume_format', '__doc__': 'The valid types of volume unit formats.', '__str__': <function UnitVolumeFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitVolumeFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitVolumeFormat' objects>, '_member_names_': ['CUBIC_METER', 'CUBIC_CENTIMETER', 'CUBIC_MILLIMETER', 'CUBIC_KILOMETER', 'LITER', 'CUBIC_INCH', 'CUBIC_FOOT', 'CUBIC_YARD', 'CUBIC_MILE', 'GALLON', 'QUART', 'PINT', 'CUP', 'FLUID_OUNCE', 'BARREL', 'BUSHEL', 'CORD', 'CUBIC_FATHOM', 'TABLESPOON', 'TEASPOON', 'PINCH', 'DASH', 'DROP', 'FIFTH', 'DRAM', 'GILL', 'PECK', 'SACK', 'SHOT', 'STRIKE'], '_member_map_': {'CUBIC_METER': <UnitVolumeFormat.CUBIC_METER: 'cubic_meter'>, 'CUBIC_CENTIMETER': <UnitVolumeFormat.CUBIC_CENTIMETER: 'cubic_centimeter'>, 'CUBIC_MILLIMETER': <UnitVolumeFormat.CUBIC_MILLIMETER: 'cubic_millimeter'>, 'CUBIC_KILOMETER': <UnitVolumeFormat.CUBIC_KILOMETER: 'cubic_kilometer'>, 'LITER': <UnitVolumeFormat.LITER: 'liter'>, 'CUBIC_INCH': <UnitVolumeFormat.CUBIC_INCH: 'cubic_inch'>, 'CUBIC_FOOT': <UnitVolumeFormat.CUBIC_FOOT: 'cubic_foot'>, 'CUBIC_YARD': <UnitVolumeFormat.CUBIC_YARD: 'cubic_yard'>, 'CUBIC_MILE': <UnitVolumeFormat.CUBIC_MILE: 'cubic_mile'>, 'GALLON': <UnitVolumeFormat.GALLON: 'gallon'>, 'QUART': <UnitVolumeFormat.QUART: 'quart'>, 'PINT': <UnitVolumeFormat.PINT: 'pint'>, 'CUP': <UnitVolumeFormat.CUP: 'cup'>, 'FLUID_OUNCE': <UnitVolumeFormat.FLUID_OUNCE: 'fluid_ounce'>, 'BARREL': <UnitVolumeFormat.BARREL: 'barrel'>, 'BUSHEL': <UnitVolumeFormat.BUSHEL: 'bushel'>, 'CORD': <UnitVolumeFormat.CORD: 'cord'>, 'CUBIC_FATHOM': <UnitVolumeFormat.CUBIC_FATHOM: 'cubic_fathom'>, 'TABLESPOON': <UnitVolumeFormat.TABLESPOON: 'tablespoon'>, 'TEASPOON': <UnitVolumeFormat.TEASPOON: 'teaspoon'>, 'PINCH': <UnitVolumeFormat.PINCH: 'pinch'>, 'DASH': <UnitVolumeFormat.DASH: 'dash'>, 'DROP': <UnitVolumeFormat.DROP: 'drop'>, 'FIFTH': <UnitVolumeFormat.FIFTH: 'fifth'>, 'DRAM': <UnitVolumeFormat.DRAM: 'dram'>, 'GILL': <UnitVolumeFormat.GILL: 'gill'>, 'PECK': <UnitVolumeFormat.PECK: 'peck'>, 'SACK': <UnitVolumeFormat.SACK: 'sack'>, 'SHOT': <UnitVolumeFormat.SHOT: 'shot'>, 'STRIKE': <UnitVolumeFormat.STRIKE: 'strike'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'cubic_meter': <UnitVolumeFormat.CUBIC_METER: 'cubic_meter'>, 'cubic_centimeter': <UnitVolumeFormat.CUBIC_CENTIMETER: 'cubic_centimeter'>, 'cubic_millimeter': <UnitVolumeFormat.CUBIC_MILLIMETER: 'cubic_millimeter'>, 'cubic_kilometer': <UnitVolumeFormat.CUBIC_KILOMETER: 'cubic_kilometer'>, 'liter': <UnitVolumeFormat.LITER: 'liter'>, 'cubic_inch': <UnitVolumeFormat.CUBIC_INCH: 'cubic_inch'>, 'cubic_foot': <UnitVolumeFormat.CUBIC_FOOT: 'cubic_foot'>, 'cubic_yard': <UnitVolumeFormat.CUBIC_YARD: 'cubic_yard'>, 'cubic_mile': <UnitVolumeFormat.CUBIC_MILE: 'cubic_mile'>, 'gallon': <UnitVolumeFormat.GALLON: 'gallon'>, 'quart': <UnitVolumeFormat.QUART: 'quart'>, 'pint': <UnitVolumeFormat.PINT: 'pint'>, 'cup': <UnitVolumeFormat.CUP: 'cup'>, 'fluid_ounce': <UnitVolumeFormat.FLUID_OUNCE: 'fluid_ounce'>, 'barrel': <UnitVolumeFormat.BARREL: 'barrel'>, 'bushel': <UnitVolumeFormat.BUSHEL: 'bushel'>, 'cord': <UnitVolumeFormat.CORD: 'cord'>, 'cubic_fathom': <UnitVolumeFormat.CUBIC_FATHOM: 'cubic_fathom'>, 'tablespoon': <UnitVolumeFormat.TABLESPOON: 'tablespoon'>, 'teaspoon': <UnitVolumeFormat.TEASPOON: 'teaspoon'>, 'pinch': <UnitVolumeFormat.PINCH: 'pinch'>, 'dash': <UnitVolumeFormat.DASH: 'dash'>, 'drop': <UnitVolumeFormat.DROP: 'drop'>, 'fifth': <UnitVolumeFormat.FIFTH: 'fifth'>, 'dram': <UnitVolumeFormat.DRAM: 'dram'>, 'gill': <UnitVolumeFormat.GILL: 'gill'>, 'peck': <UnitVolumeFormat.PECK: 'peck'>, 'sack': <UnitVolumeFormat.SACK: 'sack'>, 'shot': <UnitVolumeFormat.SHOT: 'shot'>, 'strike': <UnitVolumeFormat.STRIKE: 'strike'>}, 'CUBIC_METER': <UnitVolumeFormat.CUBIC_METER: 'cubic_meter'>, 'CUBIC_CENTIMETER': <UnitVolumeFormat.CUBIC_CENTIMETER: 'cubic_centimeter'>, 'CUBIC_MILLIMETER': <UnitVolumeFormat.CUBIC_MILLIMETER: 'cubic_millimeter'>, 'CUBIC_KILOMETER': <UnitVolumeFormat.CUBIC_KILOMETER: 'cubic_kilometer'>, 'LITER': <UnitVolumeFormat.LITER: 'liter'>, 'CUBIC_INCH': <UnitVolumeFormat.CUBIC_INCH: 'cubic_inch'>, 'CUBIC_FOOT': <UnitVolumeFormat.CUBIC_FOOT: 'cubic_foot'>, 'CUBIC_YARD': <UnitVolumeFormat.CUBIC_YARD: 'cubic_yard'>, 'CUBIC_MILE': <UnitVolumeFormat.CUBIC_MILE: 'cubic_mile'>, 'GALLON': <UnitVolumeFormat.GALLON: 'gallon'>, 'QUART': <UnitVolumeFormat.QUART: 'quart'>, 'PINT': <UnitVolumeFormat.PINT: 'pint'>, 'CUP': <UnitVolumeFormat.CUP: 'cup'>, 'FLUID_OUNCE': <UnitVolumeFormat.FLUID_OUNCE: 'fluid_ounce'>, 'BARREL': <UnitVolumeFormat.BARREL: 'barrel'>, 'BUSHEL': <UnitVolumeFormat.BUSHEL: 'bushel'>, 'CORD': <UnitVolumeFormat.CORD: 'cord'>, 'CUBIC_FATHOM': <UnitVolumeFormat.CUBIC_FATHOM: 'cubic_fathom'>, 'TABLESPOON': <UnitVolumeFormat.TABLESPOON: 'tablespoon'>, 'TEASPOON': <UnitVolumeFormat.TEASPOON: 'teaspoon'>, 'PINCH': <UnitVolumeFormat.PINCH: 'pinch'>, 'DASH': <UnitVolumeFormat.DASH: 'dash'>, 'DROP': <UnitVolumeFormat.DROP: 'drop'>, 'FIFTH': <UnitVolumeFormat.FIFTH: 'fifth'>, 'DRAM': <UnitVolumeFormat.DRAM: 'dram'>, 'GILL': <UnitVolumeFormat.GILL: 'gill'>, 'PECK': <UnitVolumeFormat.PECK: 'peck'>, 'SACK': <UnitVolumeFormat.SACK: 'sack'>, 'SHOT': <UnitVolumeFormat.SHOT: 'shot'>, 'STRIKE': <UnitVolumeFormat.STRIKE: 'strike'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_volume_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_ = {'BARREL': UnitVolumeFormat.BARREL, 'BUSHEL': UnitVolumeFormat.BUSHEL, 'CORD': UnitVolumeFormat.CORD, 'CUBIC_CENTIMETER': UnitVolumeFormat.CUBIC_CENTIMETER, 'CUBIC_FATHOM': UnitVolumeFormat.CUBIC_FATHOM, 'CUBIC_FOOT': UnitVolumeFormat.CUBIC_FOOT, 'CUBIC_INCH': UnitVolumeFormat.CUBIC_INCH, 'CUBIC_KILOMETER': UnitVolumeFormat.CUBIC_KILOMETER, 'CUBIC_METER': UnitVolumeFormat.CUBIC_METER, 'CUBIC_MILE': UnitVolumeFormat.CUBIC_MILE, 'CUBIC_MILLIMETER': UnitVolumeFormat.CUBIC_MILLIMETER, 'CUBIC_YARD': UnitVolumeFormat.CUBIC_YARD, 'CUP': UnitVolumeFormat.CUP, 'DASH': UnitVolumeFormat.DASH, 'DRAM': UnitVolumeFormat.DRAM, 'DROP': UnitVolumeFormat.DROP, 'FIFTH': UnitVolumeFormat.FIFTH, 'FLUID_OUNCE': UnitVolumeFormat.FLUID_OUNCE, 'GALLON': UnitVolumeFormat.GALLON, 'GILL': UnitVolumeFormat.GILL, 'LITER': UnitVolumeFormat.LITER, 'PECK': UnitVolumeFormat.PECK, 'PINCH': UnitVolumeFormat.PINCH, 'PINT': UnitVolumeFormat.PINT, 'QUART': UnitVolumeFormat.QUART, 'SACK': UnitVolumeFormat.SACK, 'SHOT': UnitVolumeFormat.SHOT, 'STRIKE': UnitVolumeFormat.STRIKE, 'TABLESPOON': UnitVolumeFormat.TABLESPOON, 'TEASPOON': UnitVolumeFormat.TEASPOON}[source]
_member_names_ = ['CUBIC_METER', 'CUBIC_CENTIMETER', 'CUBIC_MILLIMETER', 'CUBIC_KILOMETER', 'LITER', 'CUBIC_INCH', 'CUBIC_FOOT', 'CUBIC_YARD', 'CUBIC_MILE', 'GALLON', 'QUART', 'PINT', 'CUP', 'FLUID_OUNCE', 'BARREL', 'BUSHEL', 'CORD', 'CUBIC_FATHOM', 'TABLESPOON', 'TEASPOON', 'PINCH', 'DASH', 'DROP', 'FIFTH', 'DRAM', 'GILL', 'PECK', 'SACK', 'SHOT', 'STRIKE'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'barrel': UnitVolumeFormat.BARREL, 'bushel': UnitVolumeFormat.BUSHEL, 'cord': UnitVolumeFormat.CORD, 'cubic_centimeter': UnitVolumeFormat.CUBIC_CENTIMETER, 'cubic_fathom': UnitVolumeFormat.CUBIC_FATHOM, 'cubic_foot': UnitVolumeFormat.CUBIC_FOOT, 'cubic_inch': UnitVolumeFormat.CUBIC_INCH, 'cubic_kilometer': UnitVolumeFormat.CUBIC_KILOMETER, 'cubic_meter': UnitVolumeFormat.CUBIC_METER, 'cubic_mile': UnitVolumeFormat.CUBIC_MILE, 'cubic_millimeter': UnitVolumeFormat.CUBIC_MILLIMETER, 'cubic_yard': UnitVolumeFormat.CUBIC_YARD, 'cup': UnitVolumeFormat.CUP, 'dash': UnitVolumeFormat.DASH, 'dram': UnitVolumeFormat.DRAM, 'drop': UnitVolumeFormat.DROP, 'fifth': UnitVolumeFormat.FIFTH, 'fluid_ounce': UnitVolumeFormat.FLUID_OUNCE, 'gallon': UnitVolumeFormat.GALLON, 'gill': UnitVolumeFormat.GILL, 'liter': UnitVolumeFormat.LITER, 'peck': UnitVolumeFormat.PECK, 'pinch': UnitVolumeFormat.PINCH, 'pint': UnitVolumeFormat.PINT, 'quart': UnitVolumeFormat.QUART, 'sack': UnitVolumeFormat.SACK, 'shot': UnitVolumeFormat.SHOT, 'strike': UnitVolumeFormat.STRIKE, 'tablespoon': UnitVolumeFormat.TABLESPOON, 'teaspoon': UnitVolumeFormat.TEASPOON}[source]