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.

2.3 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_curves */
export interface Ops {
  /**
   * Sculpt curves using a brush
   *
   * bpy.ops.sculpt_curves.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>;
  }>;
  /**
   * Change the minimum distance used by the density brush
   *
   * bpy.ops.sculpt_curves.min_distance_edit
   */
  min_distance_edit: H.Operator<{}>;
  /**
   * Select curves which are close to curves that are selected already
   *
   * bpy.ops.sculpt_curves.select_grow
   */
  select_grow: H.Operator<{
    /** By how much to grow the selection Default: 0.1. */
    distance?: H.In<number>;
  }>;
  /**
   * Randomizes existing selection or create new random selection
   *
   * bpy.ops.sculpt_curves.select_random
   */
  select_random: H.Operator<{
    /** Source of randomness Default: 0. */
    seed?: H.In<number>;
    /** Allow points or curves to be selected partially Default: False. */
    partial?: H.In<boolean>;
    /** Chance of every point or curve being included in the selection Default: 0.5. */
    probability?: H.In<number>;
    /** Minimum value for the random selection Default: 0.0. */
    min?: H.In<number>;
    /** The generated random number is the same for every control point of a curve Default: True. */
    constant_per_curve?: H.In<boolean>;
  }>;
}