user: Give a detailed overview of Clip Operators: syntax, arguments, return values, common patterns.

assistant: lean**,* *(**optional**)*) – Deselect On Nothing, Deselect all when nothing under the cursor
        - **location** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds

bpy.ops.clip.select_all(*\**, *action='TOGGLE'*)
:   Change selection of all tracking markers

    Parameters:
    :   **action** (enum in [`'TOGGLE'`, `'SELECT'`, `'DESELECT'`, `'INVERT'`], (optional)) –

        Action, Selection action to execute

        - `TOGGLE`
          Toggle – Toggle selection for all elements.
        - `SELECT`
          Select – Select all elements.
        - `DESELECT`
          Deselect – Deselect all elements.
        - `INVERT`
          Invert – Invert selection of all elements.

bpy.ops.clip.select_box(*\**, *xmin=0*, *xmax=0*, *ymin=0*, *ymax=0*, *wait_for_input=True*, *mode='SET'*)
:   Select markers using box selection

    Parameters:
    :   - **xmin** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – X Min
        - **xmax** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – X Max
        - **ymin** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Y Min
        - **ymax** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Y Max
        - **wait_for_input** (*boolean**,* *(**optional**)*) – Wait for Input
        - **mode** (enum in [`'SET'`, `'ADD'`, `'SUB'`], (optional)) –

          Mode

          - `SET`
            Set – Set a new selection.
          - `ADD`
            Extend – Extend existing selection.
          - `SUB`
            Subtract – Subtract existing selection.

bpy.ops.clip.select_circle(*\**, *x=0*, *y=0*, *radius=25*, *wait_for_input=True*, *mode='SET'*)
:   Select markers using circle selection

    Parameters:
    :   - **x** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – X
        - **y** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Y
        - **radius** (*int in* *[**1**,* *inf**]**,* *(**optional**)*) – Radius
        - **wait_for_input** (*boolean**,* *(**optional**)*) – Wait for Input
        - **mode** (enum in [`'SET'`, `'ADD'`, `'SUB'`], (optional)) –

          Mode

          - `SET`
            Set – Set a new selection.
          - `ADD`
            Extend – Extend existing selection.
          - `SUB`
            Subtract – Subtract existing selection.

bpy.ops.clip.select_grouped(*\**, *group='ESTIMATED'*)
:   Select all tracks from specified group

    Parameters:
    :   **group** (enum in [`'KEYFRAMED'`, `'ESTIMATED'`, `'TRACKED'`, `'LOCKED'`, `'DISABLED'`, `'COLOR'`, `'FAILED'`], (optional)) –

        Action, Clear action to execute

        - `KEYFRAMED`
          Keyframed Tracks – Select all keyframed tracks.
        - `ESTIMATED`
          Estimated Tracks – Select all estimated tracks.
        - `TRACKED`
          Tracked Tracks – Select all tracked tracks.
        - `LOCKED`
          Locked Tracks – Select all locked tracks.
        - `DISABLED`
          Disabled Tracks – Select all disabled tracks.
        - `COLOR`
          Tracks with Same Color – Select all tracks with same color as active track.
        - `FAILED`
          Failed Tracks – Select all tracks which failed to be reconstructed.

bpy.ops.clip.select_lasso(*\**, *path=None*, *use_smooth_stroke=False*, *smooth_stroke_factor=0.75*, *smooth_stroke_radius=35*, *mode='SET'*)
:   Select markers using lasso selection

    Parameters:
    :   - **path** (`bpy_prop_collection` of `OperatorMousePath`, (optional)) – Path
        - **use_smooth_stroke** (*boolean**,* *(**optional**)*) – Stabilize Stroke, Selection lags behind mouse and follows a smoother path
        - **smooth_stroke_factor** (*float in* *[**0.5**,* *0.99**]**,* *(**optional**)*) – Smooth Stroke Factor, Higher values gives a smoother stroke
        - **smooth_stroke_radius** (*int in* *[**10**,* *200**]**,* *(**optional**)*) – Smooth Stroke Radius, Minimum distance from last point before selection continues
        - **mode** (enum in [`'SET'`, `'ADD'`, `'SUB'`], (optional)) –

          Mode

          - `SET`
            Set – Set a new selection.
          - `ADD`
            Extend – Extend existing selection.
          - `SUB`
            Subtract – Subtract existing selection.

bpy.ops.clip.set_active_clip()
:   Undocumented, consider [contributing](https://developer.blender.org/).

    File:
    :   [startup/bl_operators/clip.py:221](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/clip.py#L221)

bpy.ops.clip.set_axis(*\**, *axis='X'*)
:   Set the direction of a scene axis by rotating the camera (or its parent if present). This assumes that the selected track lies on a real axis connecting it to the origin

    Parameters:
    :   **axis** (enum in [`'X'`, `'Y'`], (optional)) –

        Axis, Axis to use to align bundle along

        - `X`
          X – Align bundle align X axis.
        - `Y`
          Y – Align bundle align Y axis.

bpy.ops.clip.set_origin(*\**, *use_median=False*)
:   Set active marker as origin by moving camera (or its parent if present) in 3D space

    Parameters:
    :   **use_median** (*boolean**,* *(**optional**)*) – Use Median, Set origin to median point of selected bundles

bpy.ops.clip.set_plane(*\**, *plane='FLOOR'*)
:   Set plane based on 3 selected bundles by moving camera (or its parent if present) in 3D space

    Parameters:
    :   **plane** (enum in [`'FLOOR'`, `'WALL'`], (optional)) –

        Plane, Plane to be used for orientation

        - `FLOOR`
          Floor – Set floor plane.
        - `WALL`
          Wall – Set wall plane.

bpy.ops.clip.set_scale(*\**, *distance=0.0*)
:   Set scale of scene by scaling camera (or its parent if present)

    Parameters:
    :   **distance** (*float in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Distance, Distance between selected tracks

bpy.ops.clip.set_scene_frames()
:   Set scene’s start and end frame to match clip’s start frame and length

bpy.ops.clip.set_solution_scale(*\**, *distance=0.0*)
:   Set object solution scale using distance between two selected tracks

    Parameters:
    :   **distance** (*float in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Distance, Distance between selected tracks

bpy.ops.clip.set_solver_keyframe(*\**, *keyframe='KEYFRAME_A'*)
:   Set keyframe used by solver

    Parameters:
    :   **keyframe** (enum in [`'KEYFRAME_A'`, `'KEYFRAME_B'`], (optional)) – Keyframe, Keyframe to set

bpy.ops.clip.set_viewport_background()
:   Set current movie clip as a camera background in 3D Viewport (works only when a 3D Viewport is visible)

    File:
    :   [startup/bl_operators/clip.py:420](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/clip.py#L420)

bpy.ops.clip.setup_tracking_scene()
:   Prepare scene for compositing 3D objects into this footage

    File:
    :   [startup/bl_operators/clip.py:936](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/clip.py#L936)

bpy.ops.clip.slide_marker(*\**, *offset=(0.0, 0.0)*)
:   Slide marker areas

    Parameters:
    :   **offset** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Offset, Offset in floating-point units, 1.0 is the width and height of the image

bpy.ops.clip.slide_plane_marker()
:   Slide plane marker areas

bpy.ops.clip.solve_camera()
:   Solve camera motion from tracks

bpy.ops.clip.stabilize_2d_add()
:   Add selected tracks to 2D translation stabilization

bpy.ops.clip.stabilize_2d_remove()
:   Remove selected track from translation stabilization

bpy.ops.clip.stabilize_2d_rotation_add()
:   Add selected tracks to 2D rotation stabilization

bpy.ops.clip.stabilize_2d_rotation_remove()
:   Remove selected track from rotation stabilization

bpy.ops.clip.stabilize_2d_rotation_select()
:   Select tracks which are used for rotation stabilization

bpy.ops.clip.stabilize_2d_select()
:   Select tracks which are used for translation stabilization

bpy.ops.clip.track_color_preset_add(*\**, *name=''*, *remove_name=False*, *remove_active=False*)
:   Add or remove a Clip Track Color Preset

    Parameters:
    :   - **name** (*string**,* *(**optional**,* *never None**)*) – Name, Name of the preset, used to make the path name
        - **remove_name** (*boolean**,* *(**optional**)*) – remove_name
        - **remove_active** (*boolean**,* *(**optional**)*) – remove_active

    File:
    :   [startup/bl_operators/presets.py:119](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/presets.py#L119)

bpy.ops.clip.track_copy_color()
:   Copy color to all selected tracks

bpy.ops.clip.track_markers(*\**, *backwards=False*, *sequence=False*)
:   Track selected markers

    Parameters:
    :   - **backwards** (*boolean**,* *(**optional**)*) – Backwards, Do backwards tracking
        - **sequence** (*boolean**,* *(**optional**)*) – Track Sequence, Track marker during image sequence rather than single image

bpy.ops.clip.track_settings_as_default()
:   Copy tracking settings from active track to default settings

    File:
    :   [startup/bl_operators/clip.py:965](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/clip.py#L965)

bpy.ops.clip.track_settings_to_track()
:   Copy tracking settings from active track to selected tracks

    File:
    :   [startup/bl_operators/clip.py:1014](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/clip.py#L1014)

bpy.ops.clip.track_to_empty()
:   Create an Empty object which will be copying movement of active track

    File:
    :   [startup/bl_operators/clip.py:268](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/clip.py#L268)

bpy.ops.clip.tracking_object_new()
:   Add new object for tracking

bpy.ops.clip.tracking_object_remove()
:   Remove object for tracking

bpy.ops.clip.tracking_settings_preset_add(*\**, *name=''*, *remove_name=False*, *remove_active=False*)
:   Add or remove a motion tracking settings preset

    Parameters:
    :   - **name** (*string**,* *(**optional**,* *never None**)*) – Name, Name of the preset, used to make the path name
        - **remove_name** (*boolean**,* *(**optional**)*) – remove_name
        - **remove_active** (*boolean**,* *(**optional**)*) – remove_active

    File:
    :   [startup/bl_operators/presets.py:119](https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/presets.py#L119)

bpy.ops.clip.update_image_from_plane_marker()
:   Update current image used by plane marker from the content of the plane marker

bpy.ops.clip.view_all(*\**, *fit_view=False*)
:   View whole image with markers

    Parameters:
    :   **fit_view** (*boolean**,* *(**optional**)*) – Fit View, Fit frame to the viewport

bpy.ops.clip.view_center_cursor()
:   Center the view so that the cursor is in the middle of the view

bpy.ops.clip.view_ndof()
:   Use a 3D mouse device to pan/zoom the view

bpy.ops.clip.view_pan(*\**, *offset=(0.0, 0.0)*)
:   Pan the view

    Parameters:
    :   **offset** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Offset, Offset in floating-point units, 1.0 is the width and height of the image

bpy.ops.clip.view_selected()
:   View all selected elements

bpy.ops.clip.view_zoom(*\**, *factor=0.0*, *use_cursor_init=True*)
:   Zoom in/out the view

    Parameters:
    :   - **factor** (*float in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Factor, Zoom factor, values higher than 1.0 zoom in, lower values zoom out
        - **use_cursor_init** (*boolean**,* *(**optional**)*) – Use Mouse Position, Allow the initial mouse position to be used

bpy.ops.clip.view_zoom_in(*\**, *location=(0.0, 0.0)*)
:   Zoom in the view

    Parameters:
    :   **location** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Location, Cursor location in screen coordinates

bpy.ops.clip.view_zoom_out(*\**, *location=(0.0, 0.0)*)
:   Zoom out the view

    Parameters:
    :   **location** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Location, Cursor location in normalized (0.0 to 1.0) coordinates

bpy.ops.clip.view_zoom_ratio(*\**, *ratio=0.0*)
:   Set the zoom ratio (based on clip size)

    Parameters:
    :   **ratio** (*float in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out