kittycad.models.gltf_presentation

Classes

GltfPresentation(value)

Describes the presentation style of the glTF JSON.

class kittycad.models.gltf_presentation.GltfPresentation(value)[source][source]

Describes the presentation style of the glTF JSON.

COMPACT = 'compact'[source]

# Expand the JSON into a more human readable format.

This is the default setting.

PRETTY = 'pretty'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.gltf_presentation', '__doc__': 'Describes the presentation style of the glTF JSON.', '__str__': <function GltfPresentation.__str__>, '__dict__': <attribute '__dict__' of 'GltfPresentation' objects>, '__weakref__': <attribute '__weakref__' of 'GltfPresentation' objects>, '_member_names_': ['COMPACT', 'PRETTY'], '_member_map_': {'COMPACT': <GltfPresentation.COMPACT: 'compact'>, 'PRETTY': <GltfPresentation.PRETTY: 'pretty'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'compact': <GltfPresentation.COMPACT: 'compact'>, 'pretty': <GltfPresentation.PRETTY: 'pretty'>}, 'COMPACT': <GltfPresentation.COMPACT: 'compact'>, 'PRETTY': <GltfPresentation.PRETTY: 'pretty'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.gltf_presentation'[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_ = {'COMPACT': GltfPresentation.COMPACT, 'PRETTY': GltfPresentation.PRETTY}[source]
_member_names_ = ['COMPACT', 'PRETTY'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'compact': GltfPresentation.COMPACT, 'pretty': GltfPresentation.PRETTY}[source]