Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

32.0 KB
Raw Blame
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";

/** bpy.ops.sculpt */
export interface Ops {
  /**
   * Sculpt a stroke into the geometry
   *
   * bpy.ops.sculpt.brush_stroke
   */
  brush_stroke: H.Operator<{
    /** Stroke */
    stroke?: H.In<readonly Record<string, any>[]>;
    /**
     * Action taken when a paint stroke is made Default: 'NORMAL'.
     * - `NORMAL`: Regular (Apply brush normally)
     * - `INVERT`: Invert (Invert action of brush for duration of stroke)
     */
    mode?: H.In<"NORMAL" | "INVERT">;
    /**
     * Brush to use for duration of stroke Default: 'None'.
     * - `None`: None (Apply brush normally)
     * - `SMOOTH`: Smooth (Switch to smooth brush for duration of stroke)
     * - `ERASE`: Erase (Switch to erase brush for duration of stroke)
     * - `MASK`: Mask (Switch to mask brush for duration of stroke)
     */
    brush_toggle?: H.In<"None" | "SMOOTH" | "ERASE" | "MASK">;
    /** Whether a tablet's eraser mode is being used Default: False. */
    pen_flip?: H.In<boolean>;
    /** Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions Default: False. */
    override_location?: H.In<boolean>;
    /** Clicks on the background do not start the stroke Default: False. */
    ignore_background_click?: H.In<boolean>;
  }>;
  /**
   * Applies a cloth simulation deformation to the entire mesh
   *
   * bpy.ops.sculpt.cloth_filter
   */
  cloth_filter: H.Operator<{
    /** Starting Mouse Default: (0, 0). */
    start_mouse?: H.In<readonly number[]>;
    /**
     * Radius used for calculating area normal on initial click,
     * in percentage of brush radius Default: 0.25.
     */
    area_normal_radius?: H.In<number>;
    /** Filter strength Default: 1.0. */
    strength?: H.In<number>;
    /** How many times to repeat the filter Default: 1. */
    iteration_count?: H.In<number>;
    event_history?: H.In<readonly Record<string, any>[]>;
    /**
     * Operation that is going to be applied to the mesh Default: 'GRAVITY'.
     * - `GRAVITY`: Gravity (Applies gravity to the simulation)
     * - `INFLATE`: Inflate (Inflates the cloth)
     * - `EXPAND`: Expand (Expands the cloth's dimensions)
     * - `PINCH`: Pinch (Pulls the cloth to the cursor's start position)
     * - `SCALE`: Scale (Scales the mesh as a soft body using the origin of the object as scale)
     */
    type?: H.In<"GRAVITY" | "INFLATE" | "EXPAND" | "PINCH" | "SCALE">;
    /**
     * Apply the force in the selected axis Default: {'X', 'Y', 'Z'}.
     * - `X`: X (Apply force in the X axis)
     * - `Y`: Y (Apply force in the Y axis)
     * - `Z`: Z (Apply force in the Z axis)
     */
    force_axis?: H.In<Set<"X" | "Y" | "Z">>;
    /**
     * Orientation of the axis to limit the filter force Default: 'LOCAL'.
     * - `LOCAL`: Local (Use the local axis to limit the force and set the gravity direction)
     * - `WORLD`: World (Use the global axis to limit the force and set the gravity direction)
     * - `VIEW`: View (Use the view axis to limit the force and set the gravity direction)
     */
    orientation?: H.In<"LOCAL" | "WORLD" | "VIEW">;
    /** Mass of each simulation particle Default: 1.0. */
    cloth_mass?: H.In<number>;
    /** How much the applied forces are propagated through the cloth Default: 0.0. */
    cloth_damping?: H.In<number>;
    /** Apply the filter only to the face set under the cursor Default: False. */
    use_face_sets?: H.In<boolean>;
    /** Collide with other collider objects in the scene Default: False. */
    use_collisions?: H.In<boolean>;
  }>;
  /**
   * Applies a filter to modify the active color attribute
   *
   * bpy.ops.sculpt.color_filter
   */
  color_filter: H.Operator<{
    /** Starting Mouse Default: (0, 0). */
    start_mouse?: H.In<readonly number[]>;
    /**
     * Radius used for calculating area normal on initial click,
     * in percentage of brush radius Default: 0.25.
     */
    area_normal_radius?: H.In<number>;
    /** Filter strength Default: 1.0. */
    strength?: H.In<number>;
    /** How many times to repeat the filter Default: 1. */
    iteration_count?: H.In<number>;
    event_history?: H.In<readonly Record<string, any>[]>;
    /** Filter Type Default: 'FILL'. */
    type?: H.In<E.SculptColorFilterType>;
    /** Fill Color Default: (1.0, 1.0, 1.0). */
    fill_color?: H.In<M.Color | readonly number[]>;
    /** Apply once without entering modal interaction Default: False. */
    use_immediate?: H.In<boolean>;
    /** Use Secondary Color Default: False. */
    use_secondary_color?: H.In<boolean>;
  }>;
  /**
   * Flood fill the mesh with the selected detail setting
   *
   * bpy.ops.sculpt.detail_flood_fill
   */
  detail_flood_fill: H.Operator<{}>;
  /**
   * Dynamic topology alters the mesh topology while sculpting
   *
   * bpy.ops.sculpt.dynamic_topology_toggle
   */
  dynamic_topology_toggle: H.Operator<{}>;
  /**
   * Modify the detail size of dyntopo interactively
   *
   * bpy.ops.sculpt.dyntopo_detail_size_edit
   */
  dyntopo_detail_size_edit: H.Operator<{}>;
  /**
   * Generic sculpt expand operator
   *
   * bpy.ops.sculpt.expand
   */
  expand: H.Operator<{
    /**
     * Data that is going to be modified in the expand operation Default: 'MASK'.
     * - `MASK`: Mask
     * - `FACE_SETS`: Face Sets
     * - `COLOR`: Color
     */
    target?: H.In<"MASK" | "FACE_SETS" | "COLOR">;
    /** Initial falloff of the expand operation Default: 'GEODESIC'. */
    falloff_type?: H.In<E.SculptExpandFalloffType>;
    /** Invert the expand active elements Default: False. */
    invert?: H.In<boolean>;
    /** Preserve the previous state of the target data Default: False. */
    use_mask_preserve?: H.In<boolean>;
    /** Expand Using a linear falloff Default: False. */
    use_falloff_gradient?: H.In<boolean>;
    /** Modify the active face set instead of creating a new one Default: False. */
    use_modify_active?: H.In<boolean>;
    /** Reposition the sculpt transform pivot to the boundary of the expand active area Default: True. */
    use_reposition_pivot?: H.In<boolean>;
    /** Maximum number of vertices in the mesh for using geodesic falloff when moving the origin of expand. If the total number of vertices is greater than this value, the falloff will be set to spherical when moving Default: 10000. */
    max_geodesic_move_preview?: H.In<number>;
    /** Fill in mask if nothing is already masked Default: False. */
    use_auto_mask?: H.In<boolean>;
    /** Blurring steps for normal falloff Default: 2. */
    normal_falloff_smooth?: H.In<number>;
  }>;
  /**
   * Add a face set in a rectangle defined by the cursor
   *
   * bpy.ops.sculpt.face_set_box_gesture
   */
  face_set_box_gesture: H.Operator<{
    /** X Min Default: 0. */
    xmin?: H.In<number>;
    /** X Max Default: 0. */
    xmax?: H.In<number>;
    /** Y Min Default: 0. */
    ymin?: H.In<number>;
    /** Y Max Default: 0. */
    ymax?: H.In<number>;
    /** Wait for Input Default: True. */
    wait_for_input?: H.In<boolean>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
  }>;
  /**
   * Change the visibility of the face sets of the sculpt
   *
   * bpy.ops.sculpt.face_set_change_visibility
   */
  face_set_change_visibility: H.Operator<{
    /**
     * Mode Default: 'TOGGLE'.
     * - `TOGGLE`: Toggle Visibility (Hide all face sets except for the active one)
     * - `SHOW_ACTIVE`: Show Active Face Set (Show the active face set)
     * - `HIDE_ACTIVE`: Hide Active Face Set (Hide the active face set)
     */
    mode?: H.In<"TOGGLE" | "SHOW_ACTIVE" | "HIDE_ACTIVE">;
    /** Active Face Set Default: 0. */
    active_face_set?: H.In<number>;
  }>;
  /**
   * Edits the current active face set
   *
   * bpy.ops.sculpt.face_set_edit
   */
  face_set_edit: H.Operator<{
    /** Active Face Set Default: 1. */
    active_face_set?: H.In<number>;
    /**
     * Mode Default: 'GROW'.
     * - `GROW`: Grow Face Set (Grows the face set boundary by one face based on mesh topology)
     * - `SHRINK`: Shrink Face Set (Shrinks the face set boundary by one face based on mesh topology)
     * - `DELETE_GEOMETRY`: Delete Geometry (Deletes the faces that are assigned to the face set)
     * - `FAIR_POSITIONS`: Fair Positions (Creates the smoothest possible geometry patch from the face set minimizing changes in vertex positions)
     * - `FAIR_TANGENCY`: Fair Tangency (Creates the smoothest possible geometry patch from the face set minimizing changes in vertex tangents)
     */
    mode?: H.In<"GROW" | "SHRINK" | "DELETE_GEOMETRY" | "FAIR_POSITIONS" | "FAIR_TANGENCY">;
    /** Strength Default: 1.0. */
    strength?: H.In<number>;
    /** Apply the edit operation to hidden geometry Default: False. */
    modify_hidden?: H.In<boolean>;
  }>;
  /**
   * Create a new mesh object from the selected face set
   *
   * bpy.ops.sculpt.face_set_extract
   */
  face_set_extract: H.Operator<{
    /** Add an extra edge loop to better preserve the shape when applying a subdivision surface modifier Default: True. */
    add_boundary_loop?: H.In<boolean>;
    /** Smooth iterations applied to the extracted mesh Default: 4. */
    smooth_iterations?: H.In<number>;
    /** Project the extracted mesh into the original sculpt Default: True. */
    apply_shrinkwrap?: H.In<boolean>;
    /** Extract the mask as a solid object with a solidify modifier Default: True. */
    add_solidify?: H.In<boolean>;
  }>;
  /**
   * Add a face set in a shape defined by the cursor
   *
   * bpy.ops.sculpt.face_set_lasso_gesture
   */
  face_set_lasso_gesture: H.Operator<{
    /** Path */
    path?: H.In<readonly Record<string, any>[]>;
    /** Selection lags behind mouse and follows a smoother path Default: False. */
    use_smooth_stroke?: H.In<boolean>;
    /** Higher values give a smoother stroke Default: 0.75. */
    smooth_stroke_factor?: H.In<number>;
    /** Minimum distance from last point before selection continues Default: 35. */
    smooth_stroke_radius?: H.In<number>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
  }>;
  /**
   * Add a face set to one side of a line defined by the cursor
   *
   * bpy.ops.sculpt.face_set_line_gesture
   */
  face_set_line_gesture: H.Operator<{
    /** X Start Default: 0. */
    xstart?: H.In<number>;
    /** X End Default: 0. */
    xend?: H.In<number>;
    /** Y Start Default: 0. */
    ystart?: H.In<number>;
    /** Y End Default: 0. */
    yend?: H.In<number>;
    /** Flip Default: False. */
    flip?: H.In<boolean>;
    /** Mouse cursor style to use during the modal operator Default: 5. */
    cursor?: H.In<number>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
    /** Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line Default: False. */
    use_limit_to_segment?: H.In<boolean>;
  }>;
  /**
   * Add a face set in a shape defined by the cursor
   *
   * bpy.ops.sculpt.face_set_polyline_gesture
   */
  face_set_polyline_gesture: H.Operator<{
    /** Path */
    path?: H.In<readonly Record<string, any>[]>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
  }>;
  /**
   * Create a new face set
   *
   * bpy.ops.sculpt.face_sets_create
   */
  face_sets_create: H.Operator<{
    /**
     * Mode Default: 'MASKED'.
     * - `MASKED`: Face Set from Masked (Create a new face set from the masked faces)
     * - `VISIBLE`: Face Set from Visible (Create a new face set from the visible vertices)
     * - `ALL`: Face Set Full Mesh (Create a unique face set with all faces in the sculpt)
     * - `SELECTION`: Face Set from Edit Mode Selection (Create a face set corresponding to the Edit Mode face selection)
     */
    mode?: H.In<"MASKED" | "VISIBLE" | "ALL" | "SELECTION">;
  }>;
  /**
   * Initializes all face sets in the mesh
   *
   * bpy.ops.sculpt.face_sets_init
   */
  face_sets_init: H.Operator<{
    /** Mode Default: 'LOOSE_PARTS'. */
    mode?: H.In<E.SculptFaceSetsInitMode>;
    /** Minimum value to consider a certain attribute a boundary when creating the face sets Default: 0.5. */
    threshold?: H.In<number>;
  }>;
  /**
   * Generates a new set of random colors to render the face sets in the viewport
   *
   * bpy.ops.sculpt.face_sets_randomize_colors
   */
  face_sets_randomize_colors: H.Operator<{}>;
  /**
   * Creates a mask based on the active color attribute
   *
   * bpy.ops.sculpt.mask_by_color
   */
  mask_by_color: H.Operator<{
    /** Mask only contiguous color areas Default: False. */
    contiguous?: H.In<boolean>;
    /** Invert the generated mask Default: False. */
    invert?: H.In<boolean>;
    /** Preserve the previous mask and add or subtract the new one generated by the colors Default: False. */
    preserve_previous_mask?: H.In<boolean>;
    /** How much changes in color affect the mask generation Default: 0.35. */
    threshold?: H.In<number>;
    /** Region coordinates of sampling Default: (0, 0). */
    location?: H.In<readonly number[]>;
  }>;
  /**
   * Applies a filter to modify the current mask
   *
   * bpy.ops.sculpt.mask_filter
   */
  mask_filter: H.Operator<{
    /**
     * Filter that is going to be applied to the mask Default: 'SMOOTH'.
     * - `SMOOTH`: Smooth Mask
     * - `SHARPEN`: Sharpen Mask
     * - `GROW`: Grow Mask
     * - `SHRINK`: Shrink Mask
     * - `CONTRAST_INCREASE`: Increase Contrast
     * - `CONTRAST_DECREASE`: Decrease Contrast
     */
    filter_type?: H.In<"SMOOTH" | "SHARPEN" | "GROW" | "SHRINK" | "CONTRAST_INCREASE" | "CONTRAST_DECREASE">;
    /** Number of times that the filter is going to be applied Default: 1. */
    iterations?: H.In<number>;
    /** Use an automatic number of iterations based on the number of vertices of the sculpt Default: True. */
    auto_iteration_count?: H.In<boolean>;
  }>;
  /**
   * Creates a mask based on the boundaries of the surface
   *
   * bpy.ops.sculpt.mask_from_boundary
   */
  mask_from_boundary: H.Operator<{
    /**
     * Mix mode Default: 'MIX'.
     * - `MIX`: Mix
     * - `MULTIPLY`: Multiply
     * - `DIVIDE`: Divide
     * - `ADD`: Add
     * - `SUBTRACT`: Subtract
     */
    mix_mode?: H.In<"MIX" | "MULTIPLY" | "DIVIDE" | "ADD" | "SUBTRACT">;
    /** Mix Factor Default: 1.0. */
    mix_factor?: H.In<number>;
    /**
     * Use settings from here Default: 'OPERATOR'.
     * - `OPERATOR`: Operator (Use settings from operator properties)
     * - `BRUSH`: Brush (Use settings from brush)
     * - `SCENE`: Scene (Use settings from scene)
     */
    settings_source?: H.In<"OPERATOR" | "BRUSH" | "SCENE">;
    /**
     * Boundary type to mask Default: 'MESH'.
     * - `MESH`: Mesh (Calculate the boundary mask based on disconnected mesh topology islands)
     * - `FACE_SETS`: Face Sets (Calculate the boundary mask between face sets)
     */
    boundary_mode?: H.In<"MESH" | "FACE_SETS">;
    /** Propagation Steps Default: 1. */
    propagation_steps?: H.In<number>;
  }>;
  /**
   * Creates a mask based on the curvature of the surface
   *
   * bpy.ops.sculpt.mask_from_cavity
   */
  mask_from_cavity: H.Operator<{
    /**
     * Mix mode Default: 'MIX'.
     * - `MIX`: Mix
     * - `MULTIPLY`: Multiply
     * - `DIVIDE`: Divide
     * - `ADD`: Add
     * - `SUBTRACT`: Subtract
     */
    mix_mode?: H.In<"MIX" | "MULTIPLY" | "DIVIDE" | "ADD" | "SUBTRACT">;
    /** Mix Factor Default: 1.0. */
    mix_factor?: H.In<number>;
    /**
     * Use settings from here Default: 'OPERATOR'.
     * - `OPERATOR`: Operator (Use settings from operator properties)
     * - `BRUSH`: Brush (Use settings from brush)
     * - `SCENE`: Scene (Use settings from scene)
     */
    settings_source?: H.In<"OPERATOR" | "BRUSH" | "SCENE">;
    /** The contrast of the cavity mask Default: 0.5. */
    factor?: H.In<number>;
    /** The number of times the cavity mask is blurred Default: 2. */
    blur_steps?: H.In<number>;
    /** Custom Curve Default: False. */
    use_curve?: H.In<boolean>;
    /** Cavity (Inverted) Default: False. */
    invert?: H.In<boolean>;
  }>;
  /**
   * Creates a new mask for the entire mesh
   *
   * bpy.ops.sculpt.mask_init
   */
  mask_init: H.Operator<{
    /**
     * Mode Default: 'RANDOM_PER_VERTEX'.
     * - `RANDOM_PER_VERTEX`: Random per Vertex
     * - `RANDOM_PER_FACE_SET`: Random per Face Set
     * - `RANDOM_PER_LOOSE_PART`: Random per Loose Part
     */
    mode?: H.In<"RANDOM_PER_VERTEX" | "RANDOM_PER_FACE_SET" | "RANDOM_PER_LOOSE_PART">;
  }>;
  /**
   * Applies a filter to modify the current mesh
   *
   * bpy.ops.sculpt.mesh_filter
   */
  mesh_filter: H.Operator<{
    /** Starting Mouse Default: (0, 0). */
    start_mouse?: H.In<readonly number[]>;
    /**
     * Radius used for calculating area normal on initial click,
     * in percentage of brush radius Default: 0.25.
     */
    area_normal_radius?: H.In<number>;
    /** Filter strength Default: 1.0. */
    strength?: H.In<number>;
    /** How many times to repeat the filter Default: 1. */
    iteration_count?: H.In<number>;
    event_history?: H.In<readonly Record<string, any>[]>;
    /** Operation that is going to be applied to the mesh Default: 'INFLATE'. */
    type?: H.In<E.SculptMeshFilterType>;
    /**
     * Apply the deformation in the selected axis Default: {'X', 'Y', 'Z'}.
     * - `X`: X (Deform in the X axis)
     * - `Y`: Y (Deform in the Y axis)
     * - `Z`: Z (Deform in the Z axis)
     */
    deform_axis?: H.In<Set<"X" | "Y" | "Z">>;
    /**
     * Orientation of the axis to limit the filter displacement Default: 'LOCAL'.
     * - `LOCAL`: Local (Use the local axis to limit the displacement)
     * - `WORLD`: World (Use the global axis to limit the displacement)
     * - `VIEW`: View (Use the view axis to limit the displacement)
     */
    orientation?: H.In<"LOCAL" | "WORLD" | "VIEW">;
    /** How much of the original shape is preserved when smoothing Default: 0.5. */
    surface_smooth_shape_preservation?: H.In<number>;
    /** How much the position of each individual vertex influences the final result Default: 0.5. */
    surface_smooth_current_vertex?: H.In<number>;
    /** How much smoothing is applied to polished surfaces Default: 0.35. */
    sharpen_smooth_ratio?: H.In<number>;
    /** How much creases and valleys are intensified Default: 0.0. */
    sharpen_intensify_detail_strength?: H.In<number>;
    /** How much smooth the resulting shape is, ignoring high frequency details Default: 0. */
    sharpen_curvature_smooth_iterations?: H.In<number>;
  }>;
  /**
   * Recalculate the sculpt BVH to improve performance
   *
   * bpy.ops.sculpt.optimize
   */
  optimize: H.Operator<{}>;
  /**
   * Create a new mesh object from the current paint mask
   *
   * bpy.ops.sculpt.paint_mask_extract
   */
  paint_mask_extract: H.Operator<{
    /** Minimum mask value to consider the vertex valid to extract a face from the original mesh Default: 0.5. */
    mask_threshold?: H.In<number>;
    /** Add an extra edge loop to better preserve the shape when applying a subdivision surface modifier Default: True. */
    add_boundary_loop?: H.In<boolean>;
    /** Smooth iterations applied to the extracted mesh Default: 4. */
    smooth_iterations?: H.In<number>;
    /** Project the extracted mesh into the original sculpt Default: True. */
    apply_shrinkwrap?: H.In<boolean>;
    /** Extract the mask as a solid object with a solidify modifier Default: True. */
    add_solidify?: H.In<boolean>;
  }>;
  /**
   * Slices the paint mask from the mesh
   *
   * bpy.ops.sculpt.paint_mask_slice
   */
  paint_mask_slice: H.Operator<{
    /** Minimum mask value to consider the vertex valid to extract a face from the original mesh Default: 0.5. */
    mask_threshold?: H.In<number>;
    /** Fill holes after slicing the mask Default: True. */
    fill_holes?: H.In<boolean>;
    /** Create a new object from the sliced mask Default: True. */
    new_object?: H.In<boolean>;
  }>;
  /**
   * Project the geometry onto a plane defined by a line
   *
   * bpy.ops.sculpt.project_line_gesture
   */
  project_line_gesture: H.Operator<{
    /** X Start Default: 0. */
    xstart?: H.In<number>;
    /** X End Default: 0. */
    xend?: H.In<number>;
    /** Y Start Default: 0. */
    ystart?: H.In<number>;
    /** Y End Default: 0. */
    yend?: H.In<number>;
    /** Flip Default: False. */
    flip?: H.In<boolean>;
    /** Mouse cursor style to use during the modal operator Default: 5. */
    cursor?: H.In<number>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
    /** Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line Default: False. */
    use_limit_to_segment?: H.In<boolean>;
  }>;
  /**
   * Sample the mesh detail on clicked point
   *
   * bpy.ops.sculpt.sample_detail_size
   */
  sample_detail_size: H.Operator<{
    /** Screen coordinates of sampling Default: (0, 0). */
    location?: H.In<readonly number[]>;
    /**
     * Target sculpting workflow that is going to use the sampled size Default: 'DYNTOPO'.
     * - `DYNTOPO`: Dyntopo (Sample dyntopo detail)
     * - `VOXEL`: Voxel (Sample mesh voxel size)
     */
    mode?: H.In<"DYNTOPO" | "VOXEL">;
  }>;
  /**
   * Toggle sculpt mode in 3D view
   *
   * bpy.ops.sculpt.sculptmode_toggle
   */
  sculptmode_toggle: H.Operator<{}>;
  /**
   * Reset the copy of the mesh that is being sculpted on
   *
   * bpy.ops.sculpt.set_persistent_base
   */
  set_persistent_base: H.Operator<{}>;
  /**
   * Sets the sculpt transform pivot position
   *
   * bpy.ops.sculpt.set_pivot_position
   */
  set_pivot_position: H.Operator<{
    /**
     * Mode Default: 'UNMASKED'.
     * - `ORIGIN`: Origin (Sets the pivot to the origin of the sculpt)
     * - `UNMASKED`: Unmasked (Sets the pivot position to the average position of the unmasked vertices)
     * - `BORDER`: Mask Border (Sets the pivot position to the center of the border of the mask)
     * - `ACTIVE`: Active Vertex (Sets the pivot position to the active vertex position)
     * - `SURFACE`: Surface (Sets the pivot position to the surface under the cursor)
     */
    mode?: H.In<"ORIGIN" | "UNMASKED" | "BORDER" | "ACTIVE" | "SURFACE">;
    /** Position of the mouse used for "Surface" and "Active Vertex" mode Default: 0.0. */
    mouse_x?: H.In<number>;
    /** Position of the mouse used for "Surface" and "Active Vertex" mode Default: 0.0. */
    mouse_y?: H.In<number>;
  }>;
  /**
   * Symmetrize the topology modifications
   *
   * bpy.ops.sculpt.symmetrize
   */
  symmetrize: H.Operator<{
    /** Distance within which symmetrical vertices are merged Default: 0.0005. */
    merge_tolerance?: H.In<number>;
  }>;
  /**
   * Execute a boolean operation on the mesh and a rectangle defined by the cursor
   *
   * bpy.ops.sculpt.trim_box_gesture
   */
  trim_box_gesture: H.Operator<{
    /** X Min Default: 0. */
    xmin?: H.In<number>;
    /** X Max Default: 0. */
    xmax?: H.In<number>;
    /** Y Min Default: 0. */
    ymin?: H.In<number>;
    /** Y Max Default: 0. */
    ymax?: H.In<number>;
    /** Wait for Input Default: True. */
    wait_for_input?: H.In<boolean>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
    /** Mouse location Default: (0, 0). */
    location?: H.In<readonly number[]>;
    /**
     * Trim Mode Default: 'DIFFERENCE'.
     * - `DIFFERENCE`: Difference (Use a difference boolean operation)
     * - `UNION`: Union (Use a union boolean operation)
     * - `JOIN`: Join (Join the new mesh as separate geometry, without performing any boolean operation)
     */
    trim_mode?: H.In<"DIFFERENCE" | "UNION" | "JOIN">;
    /** Use cursor location and radius for the dimensions and position of the trimming shape Default: False. */
    use_cursor_depth?: H.In<boolean>;
    /**
     * Shape Orientation Default: 'VIEW'.
     * - `VIEW`: View (Use the view to orientate the trimming shape)
     * - `SURFACE`: Surface (Use the surface normal to orientate the trimming shape)
     */
    trim_orientation?: H.In<"VIEW" | "SURFACE">;
    /**
     * Extrude Mode Default: 'FIXED'.
     * - `PROJECT`: Project (Align trim geometry with the perspective of the current view for a tapered shape)
     * - `FIXED`: Fixed (Align trim geometry orthogonally for a shape with 90 degree angles)
     */
    trim_extrude_mode?: H.In<"PROJECT" | "FIXED">;
    /**
     * Solver Default: 'MANIFOLD'.
     * - `EXACT`: Exact (Slower solver with the best results for coplanar faces)
     * - `FLOAT`: Float (Simple solver with good performance, without support for overlapping geometry)
     * - `MANIFOLD`: Manifold (Fastest solver that works only on manifold meshes but gives better results)
     */
    trim_solver?: H.In<"EXACT" | "FLOAT" | "MANIFOLD">;
  }>;
  /**
   * Execute a boolean operation on the mesh and a shape defined by the cursor
   *
   * bpy.ops.sculpt.trim_lasso_gesture
   */
  trim_lasso_gesture: H.Operator<{
    /** Path */
    path?: H.In<readonly Record<string, any>[]>;
    /** Selection lags behind mouse and follows a smoother path Default: False. */
    use_smooth_stroke?: H.In<boolean>;
    /** Higher values give a smoother stroke Default: 0.75. */
    smooth_stroke_factor?: H.In<number>;
    /** Minimum distance from last point before selection continues Default: 35. */
    smooth_stroke_radius?: H.In<number>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
    /** Mouse location Default: (0, 0). */
    location?: H.In<readonly number[]>;
    /**
     * Trim Mode Default: 'DIFFERENCE'.
     * - `DIFFERENCE`: Difference (Use a difference boolean operation)
     * - `UNION`: Union (Use a union boolean operation)
     * - `JOIN`: Join (Join the new mesh as separate geometry, without performing any boolean operation)
     */
    trim_mode?: H.In<"DIFFERENCE" | "UNION" | "JOIN">;
    /** Use cursor location and radius for the dimensions and position of the trimming shape Default: False. */
    use_cursor_depth?: H.In<boolean>;
    /**
     * Shape Orientation Default: 'VIEW'.
     * - `VIEW`: View (Use the view to orientate the trimming shape)
     * - `SURFACE`: Surface (Use the surface normal to orientate the trimming shape)
     */
    trim_orientation?: H.In<"VIEW" | "SURFACE">;
    /**
     * Extrude Mode Default: 'FIXED'.
     * - `PROJECT`: Project (Align trim geometry with the perspective of the current view for a tapered shape)
     * - `FIXED`: Fixed (Align trim geometry orthogonally for a shape with 90 degree angles)
     */
    trim_extrude_mode?: H.In<"PROJECT" | "FIXED">;
    /**
     * Solver Default: 'MANIFOLD'.
     * - `EXACT`: Exact (Slower solver with the best results for coplanar faces)
     * - `FLOAT`: Float (Simple solver with good performance, without support for overlapping geometry)
     * - `MANIFOLD`: Manifold (Fastest solver that works only on manifold meshes but gives better results)
     */
    trim_solver?: H.In<"EXACT" | "FLOAT" | "MANIFOLD">;
  }>;
  /**
   * Remove a portion of the mesh on one side of a line
   *
   * bpy.ops.sculpt.trim_line_gesture
   */
  trim_line_gesture: H.Operator<{
    /** X Start Default: 0. */
    xstart?: H.In<number>;
    /** X End Default: 0. */
    xend?: H.In<number>;
    /** Y Start Default: 0. */
    ystart?: H.In<number>;
    /** Y End Default: 0. */
    yend?: H.In<number>;
    /** Flip Default: False. */
    flip?: H.In<boolean>;
    /** Mouse cursor style to use during the modal operator Default: 5. */
    cursor?: H.In<number>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
    /** Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line Default: False. */
    use_limit_to_segment?: H.In<boolean>;
    /** Mouse location Default: (0, 0). */
    location?: H.In<readonly number[]>;
    /**
     * Trim Mode Default: 'DIFFERENCE'.
     * - `DIFFERENCE`: Difference (Use a difference boolean operation)
     * - `UNION`: Union (Use a union boolean operation)
     * - `JOIN`: Join (Join the new mesh as separate geometry, without performing any boolean operation)
     */
    trim_mode?: H.In<"DIFFERENCE" | "UNION" | "JOIN">;
    /** Use cursor location and radius for the dimensions and position of the trimming shape Default: False. */
    use_cursor_depth?: H.In<boolean>;
    /**
     * Shape Orientation Default: 'VIEW'.
     * - `VIEW`: View (Use the view to orientate the trimming shape)
     * - `SURFACE`: Surface (Use the surface normal to orientate the trimming shape)
     */
    trim_orientation?: H.In<"VIEW" | "SURFACE">;
    /**
     * Extrude Mode Default: 'FIXED'.
     * - `PROJECT`: Project (Align trim geometry with the perspective of the current view for a tapered shape)
     * - `FIXED`: Fixed (Align trim geometry orthogonally for a shape with 90 degree angles)
     */
    trim_extrude_mode?: H.In<"PROJECT" | "FIXED">;
    /**
     * Solver Default: 'MANIFOLD'.
     * - `EXACT`: Exact (Slower solver with the best results for coplanar faces)
     * - `FLOAT`: Float (Simple solver with good performance, without support for overlapping geometry)
     * - `MANIFOLD`: Manifold (Fastest solver that works only on manifold meshes but gives better results)
     */
    trim_solver?: H.In<"EXACT" | "FLOAT" | "MANIFOLD">;
  }>;
  /**
   * Execute a boolean operation on the mesh and a polygonal shape defined by the cursor
   *
   * bpy.ops.sculpt.trim_polyline_gesture
   */
  trim_polyline_gesture: H.Operator<{
    /** Path */
    path?: H.In<readonly Record<string, any>[]>;
    /** Affect only faces facing towards the view Default: False. */
    use_front_faces_only?: H.In<boolean>;
    /** Mouse location Default: (0, 0). */
    location?: H.In<readonly number[]>;
    /**
     * Trim Mode Default: 'DIFFERENCE'.
     * - `DIFFERENCE`: Difference (Use a difference boolean operation)
     * - `UNION`: Union (Use a union boolean operation)
     * - `JOIN`: Join (Join the new mesh as separate geometry, without performing any boolean operation)
     */
    trim_mode?: H.In<"DIFFERENCE" | "UNION" | "JOIN">;
    /** Use cursor location and radius for the dimensions and position of the trimming shape Default: False. */
    use_cursor_depth?: H.In<boolean>;
    /**
     * Shape Orientation Default: 'VIEW'.
     * - `VIEW`: View (Use the view to orientate the trimming shape)
     * - `SURFACE`: Surface (Use the surface normal to orientate the trimming shape)
     */
    trim_orientation?: H.In<"VIEW" | "SURFACE">;
    /**
     * Extrude Mode Default: 'FIXED'.
     * - `PROJECT`: Project (Align trim geometry with the perspective of the current view for a tapered shape)
     * - `FIXED`: Fixed (Align trim geometry orthogonally for a shape with 90 degree angles)
     */
    trim_extrude_mode?: H.In<"PROJECT" | "FIXED">;
    /**
     * Solver Default: 'MANIFOLD'.
     * - `EXACT`: Exact (Slower solver with the best results for coplanar faces)
     * - `FLOAT`: Float (Simple solver with good performance, without support for overlapping geometry)
     * - `MANIFOLD`: Manifold (Fastest solver that works only on manifold meshes but gives better results)
     */
    trim_solver?: H.In<"EXACT" | "FLOAT" | "MANIFOLD">;
  }>;
  /**
   * Grab UVs
   *
   * bpy.ops.sculpt.uv_sculpt_grab
   */
  uv_sculpt_grab: H.Operator<{
    /** Invert action for the duration of the stroke Default: False. */
    use_invert?: H.In<boolean>;
  }>;
  /**
   * Pinch UVs
   *
   * bpy.ops.sculpt.uv_sculpt_pinch
   */
  uv_sculpt_pinch: H.Operator<{
    /** Invert action for the duration of the stroke Default: False. */
    use_invert?: H.In<boolean>;
  }>;
  /**
   * Relax UVs
   *
   * bpy.ops.sculpt.uv_sculpt_relax
   */
  uv_sculpt_relax: H.Operator<{
    /** Invert action for the duration of the stroke Default: False. */
    use_invert?: H.In<boolean>;
    /**
     * Algorithm used for UV relaxation Default: 'LAPLACIAN'.
     * - `LAPLACIAN`: Laplacian (Use Laplacian method for relaxation)
     * - `HC`: HC (Use HC method for relaxation)
     * - `COTAN`: Geometry (Use Geometry (cotangent) relaxation, making UVs follow the underlying 3D geometry)
     */
    relax_method?: H.In<"LAPLACIAN" | "HC" | "COTAN">;
  }>;
}