kittycad.models.scene_selection_type

Classes

SceneSelectionType(value)

The type of scene selection change

class kittycad.models.scene_selection_type.SceneSelectionType(value)[source][source]

The type of scene selection change

ADD = 'add'[source]

# Removes from the selection

REMOVE = 'remove'[source]
REPLACE = 'replace'[source]

# Adds to the selection

__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.scene_selection_type', '__doc__': 'The type of scene selection change', '__str__': <function SceneSelectionType.__str__>, '__dict__': <attribute '__dict__' of 'SceneSelectionType' objects>, '__weakref__': <attribute '__weakref__' of 'SceneSelectionType' objects>, '_member_names_': ['REPLACE', 'ADD', 'REMOVE'], '_member_map_': {'REPLACE': <SceneSelectionType.REPLACE: 'replace'>, 'ADD': <SceneSelectionType.ADD: 'add'>, 'REMOVE': <SceneSelectionType.REMOVE: 'remove'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'replace': <SceneSelectionType.REPLACE: 'replace'>, 'add': <SceneSelectionType.ADD: 'add'>, 'remove': <SceneSelectionType.REMOVE: 'remove'>}, 'REPLACE': <SceneSelectionType.REPLACE: 'replace'>, 'ADD': <SceneSelectionType.ADD: 'add'>, 'REMOVE': <SceneSelectionType.REMOVE: 'remove'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.scene_selection_type'[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_ = {'ADD': SceneSelectionType.ADD, 'REMOVE': SceneSelectionType.REMOVE, 'REPLACE': SceneSelectionType.REPLACE}[source]
_member_names_ = ['REPLACE', 'ADD', 'REMOVE'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'add': SceneSelectionType.ADD, 'remove': SceneSelectionType.REMOVE, 'replace': SceneSelectionType.REPLACE}[source]