class kittycad.models.gltf_storage.GltfStorage(value)[source][source]

Bases: str, Enum

Describes the storage format of a glTF 2.0 scene.




# Standard glTF 2.0.


# Embedded glTF 2.0.


BINARY = 'binary'[source]

# Standard glTF 2.0.

This is a JSON file with .gltf extension paired with a separate binary blob file with .bin extension.

EMBEDDED = 'embedded'[source]
STANDARD = 'standard'[source]

# Embedded glTF 2.0.

Single JSON file with .gltf extension binary data encoded as base64 data URIs.

This is the default setting.

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.gltf_storage', '__doc__': 'Describes the storage format of a glTF 2.0 scene.', '__str__': <function GltfStorage.__str__>, '__dict__': <attribute '__dict__' of 'GltfStorage' objects>, '__weakref__': <attribute '__weakref__' of 'GltfStorage' objects>, '_member_names_': ['BINARY', 'STANDARD', 'EMBEDDED'], '_member_map_': {'BINARY': <GltfStorage.BINARY: 'binary'>, 'STANDARD': <GltfStorage.STANDARD: 'standard'>, 'EMBEDDED': <GltfStorage.EMBEDDED: 'embedded'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'binary': <GltfStorage.BINARY: 'binary'>, 'standard': <GltfStorage.STANDARD: 'standard'>, 'embedded': <GltfStorage.EMBEDDED: 'embedded'>}, 'BINARY': <GltfStorage.BINARY: 'binary'>, 'STANDARD': <GltfStorage.STANDARD: 'standard'>, 'EMBEDDED': <GltfStorage.EMBEDDED: 'embedded'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.gltf_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_ = {'BINARY': GltfStorage.BINARY, 'EMBEDDED': GltfStorage.EMBEDDED, 'STANDARD': GltfStorage.STANDARD}[source]
_member_names_ = ['BINARY', 'STANDARD', 'EMBEDDED'][source]

alias of str

_value2member_map_ = {'binary': GltfStorage.BINARY, 'embedded': GltfStorage.EMBEDDED, 'standard': GltfStorage.STANDARD}[source]