kittycad.models.scene_tool_type
Classes
|
The type of scene's active tool |
- class kittycad.models.scene_tool_type.SceneToolType(value)[source][source]
The type of scene’s active tool
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.scene_tool_type', '__doc__': "The type of scene's active tool", '__str__': <function SceneToolType.__str__>, '__dict__': <attribute '__dict__' of 'SceneToolType' objects>, '__weakref__': <attribute '__weakref__' of 'SceneToolType' objects>, '_member_names_': ['CAMERA_REVOLVE', 'SELECT', 'MOVE', 'SKETCH_LINE', 'SKETCH_TANGENTIAL_ARC', 'SKETCH_CURVE', 'SKETCH_CURVE_MOD'], '_member_map_': {'CAMERA_REVOLVE': <SceneToolType.CAMERA_REVOLVE: 'camera_revolve'>, 'SELECT': <SceneToolType.SELECT: 'select'>, 'MOVE': <SceneToolType.MOVE: 'move'>, 'SKETCH_LINE': <SceneToolType.SKETCH_LINE: 'sketch_line'>, 'SKETCH_TANGENTIAL_ARC': <SceneToolType.SKETCH_TANGENTIAL_ARC: 'sketch_tangential_arc'>, 'SKETCH_CURVE': <SceneToolType.SKETCH_CURVE: 'sketch_curve'>, 'SKETCH_CURVE_MOD': <SceneToolType.SKETCH_CURVE_MOD: 'sketch_curve_mod'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'camera_revolve': <SceneToolType.CAMERA_REVOLVE: 'camera_revolve'>, 'select': <SceneToolType.SELECT: 'select'>, 'move': <SceneToolType.MOVE: 'move'>, 'sketch_line': <SceneToolType.SKETCH_LINE: 'sketch_line'>, 'sketch_tangential_arc': <SceneToolType.SKETCH_TANGENTIAL_ARC: 'sketch_tangential_arc'>, 'sketch_curve': <SceneToolType.SKETCH_CURVE: 'sketch_curve'>, 'sketch_curve_mod': <SceneToolType.SKETCH_CURVE_MOD: 'sketch_curve_mod'>}, 'CAMERA_REVOLVE': <SceneToolType.CAMERA_REVOLVE: 'camera_revolve'>, 'SELECT': <SceneToolType.SELECT: 'select'>, 'MOVE': <SceneToolType.MOVE: 'move'>, 'SKETCH_LINE': <SceneToolType.SKETCH_LINE: 'sketch_line'>, 'SKETCH_TANGENTIAL_ARC': <SceneToolType.SKETCH_TANGENTIAL_ARC: 'sketch_tangential_arc'>, 'SKETCH_CURVE': <SceneToolType.SKETCH_CURVE: 'sketch_curve'>, 'SKETCH_CURVE_MOD': <SceneToolType.SKETCH_CURVE_MOD: 'sketch_curve_mod'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[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_ = {'CAMERA_REVOLVE': SceneToolType.CAMERA_REVOLVE, 'MOVE': SceneToolType.MOVE, 'SELECT': SceneToolType.SELECT, 'SKETCH_CURVE': SceneToolType.SKETCH_CURVE, 'SKETCH_CURVE_MOD': SceneToolType.SKETCH_CURVE_MOD, 'SKETCH_LINE': SceneToolType.SKETCH_LINE, 'SKETCH_TANGENTIAL_ARC': SceneToolType.SKETCH_TANGENTIAL_ARC}[source]
- _member_names_ = ['CAMERA_REVOLVE', 'SELECT', 'MOVE', 'SKETCH_LINE', 'SKETCH_TANGENTIAL_ARC', 'SKETCH_CURVE', 'SKETCH_CURVE_MOD'][source]
- _value2member_map_ = {'camera_revolve': SceneToolType.CAMERA_REVOLVE, 'move': SceneToolType.MOVE, 'select': SceneToolType.SELECT, 'sketch_curve': SceneToolType.SKETCH_CURVE, 'sketch_curve_mod': SceneToolType.SKETCH_CURVE_MOD, 'sketch_line': SceneToolType.SKETCH_LINE, 'sketch_tangential_arc': SceneToolType.SKETCH_TANGENTIAL_ARC}[source]