kittycad.models.ply_storage

Classes

PlyStorage(value)

The storage for the output PLY file.

class kittycad.models.ply_storage.PlyStorage(value)[source][source]

The storage for the output PLY file.

ASCII = 'ascii'[source]

# Encode payload as binary using little endian.

BINARY_BIG_ENDIAN = 'binary_big_endian'[source]
BINARY_LITTLE_ENDIAN = 'binary_little_endian'[source]

# Encode payload as binary using big endian.

__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.ply_storage', '__doc__': 'The storage for the output PLY file.', '__str__': <function PlyStorage.__str__>, '__dict__': <attribute '__dict__' of 'PlyStorage' objects>, '__weakref__': <attribute '__weakref__' of 'PlyStorage' objects>, '_member_names_': ['ASCII', 'BINARY_LITTLE_ENDIAN', 'BINARY_BIG_ENDIAN'], '_member_map_': {'ASCII': <PlyStorage.ASCII: 'ascii'>, 'BINARY_LITTLE_ENDIAN': <PlyStorage.BINARY_LITTLE_ENDIAN: 'binary_little_endian'>, 'BINARY_BIG_ENDIAN': <PlyStorage.BINARY_BIG_ENDIAN: 'binary_big_endian'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'ascii': <PlyStorage.ASCII: 'ascii'>, 'binary_little_endian': <PlyStorage.BINARY_LITTLE_ENDIAN: 'binary_little_endian'>, 'binary_big_endian': <PlyStorage.BINARY_BIG_ENDIAN: 'binary_big_endian'>}, 'ASCII': <PlyStorage.ASCII: 'ascii'>, 'BINARY_LITTLE_ENDIAN': <PlyStorage.BINARY_LITTLE_ENDIAN: 'binary_little_endian'>, 'BINARY_BIG_ENDIAN': <PlyStorage.BINARY_BIG_ENDIAN: 'binary_big_endian'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.ply_storage'[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_ = {'ASCII': PlyStorage.ASCII, 'BINARY_BIG_ENDIAN': PlyStorage.BINARY_BIG_ENDIAN, 'BINARY_LITTLE_ENDIAN': PlyStorage.BINARY_LITTLE_ENDIAN}[source]
_member_names_ = ['ASCII', 'BINARY_LITTLE_ENDIAN', 'BINARY_BIG_ENDIAN'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'ascii': PlyStorage.ASCII, 'binary_big_endian': PlyStorage.BINARY_BIG_ENDIAN, 'binary_little_endian': PlyStorage.BINARY_LITTLE_ENDIAN}[source]