2023-08-30 15:59:51 -07:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class StlStorage(str, Enum):
|
2023-09-29 16:05:40 -07:00
|
|
|
""" Export storage. """ # noqa: E501
|
|
|
|
"""# Plaintext encoding. """ # noqa: E501
|
|
|
|
ASCII = 'ascii'
|
|
|
|
"""# Binary STL encoding.
|
2023-08-30 15:59:51 -07:00
|
|
|
|
2023-09-29 16:05:40 -07:00
|
|
|
This is the default setting. """ # noqa: E501
|
|
|
|
BINARY = 'binary'
|
2023-08-30 15:59:51 -07:00
|
|
|
|
2023-09-29 16:05:40 -07:00
|
|
|
def __str__(self) -> str:
|
|
|
|
return str(self.value)
|