kittycad.models.stl_storage

Classes

StlStorage(value)

Export storage.

class kittycad.models.stl_storage.StlStorage(value)[source][source]

Export storage.

ASCII = 'ascii'[source]

# Binary STL encoding.

This is the default setting.

BINARY = 'binary'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.stl_storage', '__doc__': 'Export storage.', '__str__': <function StlStorage.__str__>, '__dict__': <attribute '__dict__' of 'StlStorage' objects>, '__weakref__': <attribute '__weakref__' of 'StlStorage' objects>, '_member_names_': ['ASCII', 'BINARY'], '_member_map_': {'ASCII': <StlStorage.ASCII: 'ascii'>, 'BINARY': <StlStorage.BINARY: 'binary'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'ascii': <StlStorage.ASCII: 'ascii'>, 'binary': <StlStorage.BINARY: 'binary'>}, 'ASCII': <StlStorage.ASCII: 'ascii'>, 'BINARY': <StlStorage.BINARY: 'binary'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.stl_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': StlStorage.ASCII, 'BINARY': StlStorage.BINARY}[source]
_member_names_ = ['ASCII', 'BINARY'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'ascii': StlStorage.ASCII, 'binary': StlStorage.BINARY}[source]