Files
kittycad.py/kittycad/models/ply_storage.py
Jess Frazelle 8162fa1964 Update api spec (#127)
* YOYO NEW API SPEC!

* bump version

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* some fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes #128

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* mypy fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 15:59:51 -07:00

16 lines
607 B
Python

from enum import Enum
class PlyStorage(str, Enum):
"""The storage for the output PLY file.""" # noqa: E501
"""# Write numbers in their ascii representation (e.g. -13, 6.28, etc.). Properties are separated by spaces and elements are separated by line breaks. """ # noqa: E501
ASCII = "ascii"
"""# Encode payload as binary using little endian. """ # noqa: E501
BINARY_LITTLE_ENDIAN = "binary_little_endian"
"""# Encode payload as binary using big endian. """ # noqa: E501
BINARY_BIG_ENDIAN = "binary_big_endian"
def __str__(self) -> str:
return str(self.value)