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.

6.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.surface */
export interface Ops {
  /**
   * Construct a NURBS surface circle
   *
   * bpy.ops.surface.primitive_nurbs_surface_circle_add
   */
  primitive_nurbs_surface_circle_add: H.Operator<{
    /** Radius Default: 1.0. */
    radius?: H.In<number>;
    /** Enter edit mode when adding this object Default: False. */
    enter_editmode?: H.In<boolean>;
    /**
     * The alignment of the new object Default: 'WORLD'.
     * - `WORLD`: World (Align the new object to the world)
     * - `VIEW`: View (Align the new object to the view)
     * - `CURSOR`: 3D Cursor (Use the 3D cursor orientation for the new object)
     */
    align?: H.In<"WORLD" | "VIEW" | "CURSOR">;
    /** Location for the newly added object Default: (0.0, 0.0, 0.0). */
    location?: H.In<M.VectorLike>;
    /** Rotation for the newly added object Default: (0.0, 0.0, 0.0). */
    rotation?: H.In<M.Euler | readonly number[]>;
    /** Scale for the newly added object Default: (0.0, 0.0, 0.0). */
    scale?: H.In<M.VectorLike>;
  }>;
  /**
   * Construct a NURBS surface curve
   *
   * bpy.ops.surface.primitive_nurbs_surface_curve_add
   */
  primitive_nurbs_surface_curve_add: H.Operator<{
    /** Radius Default: 1.0. */
    radius?: H.In<number>;
    /** Enter edit mode when adding this object Default: False. */
    enter_editmode?: H.In<boolean>;
    /**
     * The alignment of the new object Default: 'WORLD'.
     * - `WORLD`: World (Align the new object to the world)
     * - `VIEW`: View (Align the new object to the view)
     * - `CURSOR`: 3D Cursor (Use the 3D cursor orientation for the new object)
     */
    align?: H.In<"WORLD" | "VIEW" | "CURSOR">;
    /** Location for the newly added object Default: (0.0, 0.0, 0.0). */
    location?: H.In<M.VectorLike>;
    /** Rotation for the newly added object Default: (0.0, 0.0, 0.0). */
    rotation?: H.In<M.Euler | readonly number[]>;
    /** Scale for the newly added object Default: (0.0, 0.0, 0.0). */
    scale?: H.In<M.VectorLike>;
  }>;
  /**
   * Construct a NURBS surface cylinder
   *
   * bpy.ops.surface.primitive_nurbs_surface_cylinder_add
   */
  primitive_nurbs_surface_cylinder_add: H.Operator<{
    /** Radius Default: 1.0. */
    radius?: H.In<number>;
    /** Enter edit mode when adding this object Default: False. */
    enter_editmode?: H.In<boolean>;
    /**
     * The alignment of the new object Default: 'WORLD'.
     * - `WORLD`: World (Align the new object to the world)
     * - `VIEW`: View (Align the new object to the view)
     * - `CURSOR`: 3D Cursor (Use the 3D cursor orientation for the new object)
     */
    align?: H.In<"WORLD" | "VIEW" | "CURSOR">;
    /** Location for the newly added object Default: (0.0, 0.0, 0.0). */
    location?: H.In<M.VectorLike>;
    /** Rotation for the newly added object Default: (0.0, 0.0, 0.0). */
    rotation?: H.In<M.Euler | readonly number[]>;
    /** Scale for the newly added object Default: (0.0, 0.0, 0.0). */
    scale?: H.In<M.VectorLike>;
  }>;
  /**
   * Construct a NURBS surface sphere
   *
   * bpy.ops.surface.primitive_nurbs_surface_sphere_add
   */
  primitive_nurbs_surface_sphere_add: H.Operator<{
    /** Radius Default: 1.0. */
    radius?: H.In<number>;
    /** Enter edit mode when adding this object Default: False. */
    enter_editmode?: H.In<boolean>;
    /**
     * The alignment of the new object Default: 'WORLD'.
     * - `WORLD`: World (Align the new object to the world)
     * - `VIEW`: View (Align the new object to the view)
     * - `CURSOR`: 3D Cursor (Use the 3D cursor orientation for the new object)
     */
    align?: H.In<"WORLD" | "VIEW" | "CURSOR">;
    /** Location for the newly added object Default: (0.0, 0.0, 0.0). */
    location?: H.In<M.VectorLike>;
    /** Rotation for the newly added object Default: (0.0, 0.0, 0.0). */
    rotation?: H.In<M.Euler | readonly number[]>;
    /** Scale for the newly added object Default: (0.0, 0.0, 0.0). */
    scale?: H.In<M.VectorLike>;
  }>;
  /**
   * Construct a NURBS surface patch
   *
   * bpy.ops.surface.primitive_nurbs_surface_surface_add
   */
  primitive_nurbs_surface_surface_add: H.Operator<{
    /** Radius Default: 1.0. */
    radius?: H.In<number>;
    /** Enter edit mode when adding this object Default: False. */
    enter_editmode?: H.In<boolean>;
    /**
     * The alignment of the new object Default: 'WORLD'.
     * - `WORLD`: World (Align the new object to the world)
     * - `VIEW`: View (Align the new object to the view)
     * - `CURSOR`: 3D Cursor (Use the 3D cursor orientation for the new object)
     */
    align?: H.In<"WORLD" | "VIEW" | "CURSOR">;
    /** Location for the newly added object Default: (0.0, 0.0, 0.0). */
    location?: H.In<M.VectorLike>;
    /** Rotation for the newly added object Default: (0.0, 0.0, 0.0). */
    rotation?: H.In<M.Euler | readonly number[]>;
    /** Scale for the newly added object Default: (0.0, 0.0, 0.0). */
    scale?: H.In<M.VectorLike>;
  }>;
  /**
   * Construct a NURBS surface torus
   *
   * bpy.ops.surface.primitive_nurbs_surface_torus_add
   */
  primitive_nurbs_surface_torus_add: H.Operator<{
    /** Radius Default: 1.0. */
    radius?: H.In<number>;
    /** Enter edit mode when adding this object Default: False. */
    enter_editmode?: H.In<boolean>;
    /**
     * The alignment of the new object Default: 'WORLD'.
     * - `WORLD`: World (Align the new object to the world)
     * - `VIEW`: View (Align the new object to the view)
     * - `CURSOR`: 3D Cursor (Use the 3D cursor orientation for the new object)
     */
    align?: H.In<"WORLD" | "VIEW" | "CURSOR">;
    /** Location for the newly added object Default: (0.0, 0.0, 0.0). */
    location?: H.In<M.VectorLike>;
    /** Rotation for the newly added object Default: (0.0, 0.0, 0.0). */
    rotation?: H.In<M.Euler | readonly number[]>;
    /** Scale for the newly added object Default: (0.0, 0.0, 0.0). */
    scale?: H.In<M.VectorLike>;
  }>;
}