kittycad.models.camera_drag_interaction_type.CameraDragInteractionType

class kittycad.models.camera_drag_interaction_type.CameraDragInteractionType(value)[source][source]

Bases: str, Enum

The type of camera drag interaction.

__init__()[source]

Attributes

PAN

# Camera rotate (revolve/orbit)

ROTATE

# Camera zoom (increase or decrease distance to reference point center)

ZOOM

PAN = 'pan'[source]

# Camera rotate (revolve/orbit)

ROTATE = 'rotate'[source]

# Camera zoom (increase or decrease distance to reference point center)

ZOOM = 'zoom'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.camera_drag_interaction_type', '__doc__': 'The type of camera drag interaction.', '__str__': <function CameraDragInteractionType.__str__>, '__dict__': <attribute '__dict__' of 'CameraDragInteractionType' objects>, '__weakref__': <attribute '__weakref__' of 'CameraDragInteractionType' objects>, '_member_names_': ['PAN', 'ROTATE', 'ZOOM'], '_member_map_': {'PAN': <CameraDragInteractionType.PAN: 'pan'>, 'ROTATE': <CameraDragInteractionType.ROTATE: 'rotate'>, 'ZOOM': <CameraDragInteractionType.ZOOM: 'zoom'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'pan': <CameraDragInteractionType.PAN: 'pan'>, 'rotate': <CameraDragInteractionType.ROTATE: 'rotate'>, 'zoom': <CameraDragInteractionType.ZOOM: 'zoom'>}, 'PAN': <CameraDragInteractionType.PAN: 'pan'>, 'ROTATE': <CameraDragInteractionType.ROTATE: 'rotate'>, 'ZOOM': <CameraDragInteractionType.ZOOM: 'zoom'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.camera_drag_interaction_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_ = {'PAN': CameraDragInteractionType.PAN, 'ROTATE': CameraDragInteractionType.ROTATE, 'ZOOM': CameraDragInteractionType.ZOOM}[source]
_member_names_ = ['PAN', 'ROTATE', 'ZOOM'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'pan': CameraDragInteractionType.PAN, 'rotate': CameraDragInteractionType.ROTATE, 'zoom': CameraDragInteractionType.ZOOM}[source]