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.5 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.lattice */
export interface Ops {
  /**
   * Mirror all control points without inverting the lattice deform
   *
   * bpy.ops.lattice.flip
   */
  flip: H.Operator<{
    /**
     * Coordinates along this axis get flipped Default: 'U'.
     * - `U`: U (X) Axis
     * - `V`: V (Y) Axis
     * - `W`: W (Z) Axis
     */
    axis?: H.In<"U" | "V" | "W">;
  }>;
  /**
   * Set UVW control points a uniform distance apart
   *
   * bpy.ops.lattice.make_regular
   */
  make_regular: H.Operator<{}>;
  /**
   * Change selection of all UVW control points
   *
   * bpy.ops.lattice.select_all
   */
  select_all: H.Operator<{
    /**
     * Selection action to execute Default: 'TOGGLE'.
     * - `TOGGLE`: Toggle (Toggle selection for all elements)
     * - `SELECT`: Select (Select all elements)
     * - `DESELECT`: Deselect (Deselect all elements)
     * - `INVERT`: Invert (Invert selection of all elements)
     */
    action?: H.In<"TOGGLE" | "SELECT" | "DESELECT" | "INVERT">;
  }>;
  /**
   * Deselect vertices at the boundary of each selection region
   *
   * bpy.ops.lattice.select_less
   */
  select_less: H.Operator<{}>;
  /**
   * Select mirrored lattice points
   *
   * bpy.ops.lattice.select_mirror
   */
  select_mirror: H.Operator<{
    /**
     * Axis Default: {'X'}.
     * - `X`: X
     * - `Y`: Y
     * - `Z`: Z
     */
    axis?: H.In<Set<"X" | "Y" | "Z">>;
    /** Extend the selection Default: False. */
    extend?: H.In<boolean>;
  }>;
  /**
   * Select vertices directly linked to already selected ones
   *
   * bpy.ops.lattice.select_more
   */
  select_more: H.Operator<{}>;
  /**
   * Randomly select UVW control points
   *
   * bpy.ops.lattice.select_random
   */
  select_random: H.Operator<{
    /** Portion of items to select randomly Default: 0.5. */
    ratio?: H.In<number>;
    /** Seed for the random number generator Default: 0. */
    seed?: H.In<number>;
    /**
     * Selection action to execute Default: 'SELECT'.
     * - `SELECT`: Select (Select all elements)
     * - `DESELECT`: Deselect (Deselect all elements)
     */
    action?: H.In<"SELECT" | "DESELECT">;
  }>;
  /**
   * Select vertices without a group
   *
   * bpy.ops.lattice.select_ungrouped
   */
  select_ungrouped: H.Operator<{
    /** Extend the selection Default: False. */
    extend?: H.In<boolean>;
  }>;
}