Files
kittycad.py/kittycad/models/unit_volume_format.py

38 lines
865 B
Python
Raw Normal View History

2022-07-25 22:46:48 +00:00
from enum import Enum
class UnitVolumeFormat(str, Enum):
2022-08-10 19:41:56 +00:00
CUBIC_METER = 'cubic_meter'
CUBIC_CENTIMETER = 'cubic_centimeter'
2022-09-29 21:52:21 +00:00
CUBIC_MILLIMETER = 'cubic_millimeter'
2022-07-25 22:46:48 +00:00
CUBIC_KILOMETER = 'cubic_kilometer'
LITER = 'liter'
CUBIC_INCH = 'cubic_inch'
2022-07-25 22:46:48 +00:00
CUBIC_FOOT = 'cubic_foot'
CUBIC_YARD = 'cubic_yard'
CUBIC_MILE = 'cubic_mile'
GALLON = 'gallon'
QUART = 'quart'
PINT = 'pint'
CUP = 'cup'
FLUID_OUNCE = 'fluid_ounce'
BARREL = 'barrel'
BUSHEL = 'bushel'
CORD = 'cord'
CUBIC_FATHOM = 'cubic_fathom'
TABLESPOON = 'tablespoon'
TEASPOON = 'teaspoon'
PINCH = 'pinch'
DASH = 'dash'
DROP = 'drop'
FIFTH = 'fifth'
DRAM = 'dram'
GILL = 'gill'
PECK = 'peck'
SACK = 'sack'
SHOT = 'shot'
STRIKE = 'strike'
2022-07-25 22:46:48 +00:00
def __str__(self) -> str:
return str(self.value)