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.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// 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.mesh */
export interface Ops {
/**
* Set values of the active attribute for selected elements
*
* bpy.ops.mesh.attribute_set
*/
attribute_set: H.Operator<{
/** Value Default: 0.0. */
value_float?: H.In<number>;
/** Value Default: (0.0, 0.0). */
value_float_vector_2d?: H.In<readonly number[]>;
/** Value Default: (0.0, 0.0, 0.0). */
value_float_vector_3d?: H.In<readonly number[]>;
/** Value Default: (0.0, 0.0, 0.0, 0.0). */
value_float_vector_4d?: H.In<readonly number[]>;
/** Value Default: 0. */
value_int?: H.In<number>;
/** Value Default: (0, 0). */
value_int_vector_2d?: H.In<readonly number[]>;
/** Value Default: (1.0, 1.0, 1.0, 1.0). */
value_color?: H.In<readonly number[]>;
/** Value Default: False. */
value_bool?: H.In<boolean>;
}>;
/**
* Average custom normals of selected vertices
*
* bpy.ops.mesh.average_normals
*/
average_normals: H.Operator<{
/**
* Averaging method Default: 'CUSTOM_NORMAL'.
* - `CUSTOM_NORMAL`: Custom Normal (Take average of vertex normals)
* - `FACE_AREA`: Face Area (Set all vertex normals by face area)
* - `CORNER_ANGLE`: Corner Angle (Set all vertex normals by corner angle)
*/
average_type?: H.In<"CUSTOM_NORMAL" | "FACE_AREA" | "CORNER_ANGLE">;
/** Weight applied per face Default: 50. */
weight?: H.In<number>;
/** Threshold value for different weights to be considered equal Default: 0.01. */
threshold?: H.In<number>;
}>;
/**
* Rearrange some faces to try to get less degenerated geometry
*
* bpy.ops.mesh.beautify_fill
*/
beautify_fill: H.Operator<{
/** Angle limit Default: 3.14159. */
angle_limit?: H.In<number>;
}>;
/**
* Cut into selected items at an angle to create bevel or chamfer
*
* bpy.ops.mesh.bevel
*/
bevel: H.Operator<{
/**
* The method for determining the size of the bevel Default: 'OFFSET'.
* - `OFFSET`: Offset (Amount is offset of new edges from original)
* - `WIDTH`: Width (Amount is width of new face)
* - `DEPTH`: Depth (Amount is perpendicular distance from original edge to bevel face)
* - `PERCENT`: Percent (Amount is percent of adjacent edge length)
* - `ABSOLUTE`: Absolute (Amount is absolute distance along adjacent edge)
*/
offset_type?: H.In<"OFFSET" | "WIDTH" | "DEPTH" | "PERCENT" | "ABSOLUTE">;
/** Bevel amount Default: 0.0. */
offset?: H.In<number>;
/**
* The type of shape used to rebuild a beveled section Default: 'SUPERELLIPSE'.
* - `SUPERELLIPSE`: Superellipse (The profile can be a concave or convex curve)
* - `CUSTOM`: Custom (The profile can be any arbitrary path between its endpoints)
*/
profile_type?: H.In<"SUPERELLIPSE" | "CUSTOM">;
/** Bevel amount for percentage method Default: 0.0. */
offset_pct?: H.In<number>;
/** Segments for curved edge Default: 1. */
segments?: H.In<number>;
/** Controls profile shape (0.5 = round) Default: 0.5. */
profile?: H.In<number>;
/**
* Affect edges or vertices Default: 'EDGES'.
* - `VERTICES`: Vertices (Affect only vertices)
* - `EDGES`: Edges (Affect only edges)
*/
affect?: H.In<"VERTICES" | "EDGES">;
/** Do not allow beveled edges/vertices to overlap each other Default: False. */
clamp_overlap?: H.In<boolean>;
/** Prefer sliding along edges to even widths Default: True. */
loop_slide?: H.In<boolean>;
/** Preserve seams along beveled edges Default: False. */
mark_seam?: H.In<boolean>;
/** Preserve sharp edges along beveled edges Default: False. */
mark_sharp?: H.In<boolean>;
/** Material for bevel faces (-1 means use adjacent faces) Default: -1. */
material?: H.In<number>;
/** Match normals of new faces to adjacent faces Default: False. */
harden_normals?: H.In<boolean>;
/**
* Whether to set face strength, and which faces to set face strength on Default: 'NONE'.
* - `NONE`: None (Do not set face strength)
* - `NEW`: New (Set face strength on new faces only)
* - `AFFECTED`: Affected (Set face strength on new and modified faces only)
* - `ALL`: All (Set face strength on all faces)
*/
face_strength_mode?: H.In<"NONE" | "NEW" | "AFFECTED" | "ALL">;
/**
* Pattern to use for outside of miters Default: 'SHARP'.
* - `SHARP`: Sharp (Outside of miter is sharp)
* - `PATCH`: Patch (Outside of miter is squared-off patch)
* - `ARC`: Arc (Outside of miter is arc)
*/
miter_outer?: H.In<"SHARP" | "PATCH" | "ARC">;
/**
* Pattern to use for inside of miters Default: 'SHARP'.
* - `SHARP`: Sharp (Inside of miter is sharp)
* - `ARC`: Arc (Inside of miter is arc)
*/
miter_inner?: H.In<"SHARP" | "ARC">;
/** Amount to spread arcs for arc inner miters Default: 0.1. */
spread?: H.In<number>;
/**
* The method to use to create meshes at intersections Default: 'ADJ'.
* - `ADJ`: Grid Fill (Default patterned fill)
* - `CUTOFF`: Cutoff (A cutoff at each profile's end before the intersection)
*/
vmesh_method?: H.In<"ADJ" | "CUTOFF">;
/** Confirm on Release Default: False. */
release_confirm?: H.In<boolean>;
}>;
/**
* Cut geometry along a plane (click-drag to define plane)
*
* bpy.ops.mesh.bisect
*/
bisect: H.Operator<{
/** A point on the plane Default: (0.0, 0.0, 0.0). */
plane_co?: H.In<M.VectorLike>;
/** The direction the plane points Default: (0.0, 0.0, 0.0). */
plane_no?: H.In<M.VectorLike>;
/** Fill in the cut Default: False. */
use_fill?: H.In<boolean>;
/** Remove geometry behind the plane Default: False. */
clear_inner?: H.In<boolean>;
/** Remove geometry in front of the plane Default: False. */
clear_outer?: H.In<boolean>;
/** Preserves the existing geometry along the cut plane Default: 0.0001. */
threshold?: H.In<number>;
/** 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>;
}>;
/**
* Blend in shape from a shape key
*
* bpy.ops.mesh.blend_from_shape
*/
blend_from_shape: H.Operator<{
/** Shape key to use for blending Default: ''. */
shape?: H.In<string>;
/** Blending factor Default: 1.0. */
blend?: H.In<number>;
/** Add rather than blend between shapes Default: True. */
add?: H.In<boolean>;
}>;
/**
* Create a bridge of faces between two or more selected edge loops
*
* bpy.ops.mesh.bridge_edge_loops
*/
bridge_edge_loops: H.Operator<{
/**
* Method of bridging multiple loops Default: 'SINGLE'.
* - `SINGLE`: Open Loop
* - `CLOSED`: Closed Loop
* - `PAIRS`: Loop Pairs
*/
type?: H.In<"SINGLE" | "CLOSED" | "PAIRS">;
/** Merge rather than creating faces Default: False. */
use_merge?: H.In<boolean>;
/** Merge Factor Default: 0.5. */
merge_factor?: H.In<number>;
/** Twist offset for closed loops Default: 0. */
twist_offset?: H.In<number>;
/** Number of Cuts Default: 0. */
number_cuts?: H.In<number>;
/**
* Interpolation method Default: 'PATH'.
* - `LINEAR`: Linear
* - `PATH`: Blend Path
* - `SURFACE`: Blend Surface
*/
interpolation?: H.In<"LINEAR" | "PATH" | "SURFACE">;
/** Smoothness factor Default: 1.0. */
smoothness?: H.In<number>;
/** How much intermediary new edges are shrunk/expanded Default: 0.0. */
profile_shape_factor?: H.In<number>;
/**
* Shape of the profile Default: 'SMOOTH'.
* - `SMOOTH`: Smooth (Smooth falloff)
* - `SPHERE`: Sphere (Spherical falloff)
* - `ROOT`: Root (Root falloff)
* - `INVERSE_SQUARE`: Inverse Square (Inverse Square falloff)
* - `SHARP`: Sharp (Sharp falloff)
* - `LINEAR`: Linear (Linear falloff)
*/
profile_shape?: H.In<"SMOOTH" | "SPHERE" | "ROOT" | "INVERSE_SQUARE" | "SHARP" | "LINEAR">;
}>;
/**
* Shape selected geometry into a circle
*
* bpy.ops.mesh.circularize
*/
circularize: H.Operator<{
/** Circularization factor Default: 1.0. */
factor?: H.In<number>;
/**
* Method used for fitting a circle to the vertices Default: 'LEAST_SQUARE'.
* - `LEAST_SQUARE`: Best Fit (Calculate a best-fit circle using non-linear least squares)
* - `CONTRACT`: Interior Fit (Only move vertices towards the center)
*/
fit_method?: H.In<"LEAST_SQUARE" | "CONTRACT">;
/** Rotate the circle Default: 0.0. */
angle?: H.In<number>;
/** Enable custom radius Default: False. */
use_custom_radius?: H.In<boolean>;
/** Radius of the circle Default: 1.0. */
custom_radius?: H.In<number>;
/** Distribute vertices at constant distances along the circle, otherwise preserves original spacing Default: True. */
regular?: H.In<boolean>;
/** Flatten the circle, instead of projecting it on the mesh Default: 1.0. */
flatten?: H.In<number>;
/** Lock editing of the axis Default: (False, False, False). */
lock?: H.In<readonly boolean[]>;
}>;
/**
* Flip direction of face corner color attribute inside faces
*
* bpy.ops.mesh.colors_reverse
*/
colors_reverse: H.Operator<{}>;
/**
* Rotate face corner color attribute inside faces
*
* bpy.ops.mesh.colors_rotate
*/
colors_rotate: H.Operator<{
/** Counter Clockwise Default: False. */
use_ccw?: H.In<boolean>;
}>;
/**
* Enclose selected vertices in a convex polyhedron
*
* bpy.ops.mesh.convex_hull
*/
convex_hull: H.Operator<{
/** Delete selected elements that are not used by the hull Default: True. */
delete_unused?: H.In<boolean>;
/** Skip hull triangles that are covered by a pre-existing face Default: True. */
use_existing_faces?: H.In<boolean>;
/** Delete selected faces that are used by the hull Default: False. */
make_holes?: H.In<boolean>;
/** Merge adjacent triangles into quads Default: True. */
join_triangles?: H.In<boolean>;
/** Face angle limit Default: 0.698132. */
face_threshold?: H.In<number>;
/** Shape angle limit Default: 0.698132. */
shape_threshold?: H.In<number>;
/** How much to prioritize regular grids of quads as well as quads that touch existing quads Default: 0.0. */
topology_influence?: H.In<number>;
/** Compare UVs Default: False. */
uvs?: H.In<boolean>;
/** Compare Color Attributes Default: False. */
vcols?: H.In<boolean>;
/** Compare Seam Default: False. */
seam?: H.In<boolean>;
/** Compare Sharp Default: False. */
sharp?: H.In<boolean>;
/** Compare Materials Default: False. */
materials?: H.In<boolean>;
/** Only select remaining triangles that were not merged Default: False. */
deselect_joined?: H.In<boolean>;
}>;
/**
* Add a custom normals layer, if none exists yet
*
* bpy.ops.mesh.customdata_custom_splitnormals_add
*/
customdata_custom_splitnormals_add: H.Operator<{}>;
/**
* Remove the custom normals layer, if it exists
*
* bpy.ops.mesh.customdata_custom_splitnormals_clear
*/
customdata_custom_splitnormals_clear: H.Operator<{}>;
/**
* Clear sculpt face set data from the mesh
*
* bpy.ops.mesh.customdata_face_sets_clear
*/
customdata_face_sets_clear: H.Operator<{}>;
/**
* Clear vertex sculpt masking data from the mesh
*
* bpy.ops.mesh.customdata_mask_clear
*/
customdata_mask_clear: H.Operator<{}>;
/**
* Add a vertex skin layer
*
* bpy.ops.mesh.customdata_skin_add
*/
customdata_skin_add: H.Operator<{}>;
/**
* Clear vertex skin layer
*
* bpy.ops.mesh.customdata_skin_clear
*/
customdata_skin_clear: H.Operator<{}>;
/**
* Simplify geometry by collapsing edges
*
* bpy.ops.mesh.decimate
*/
decimate: H.Operator<{
/** Ratio Default: 1.0. */
ratio?: H.In<number>;
/** Use active vertex group as an influence Default: False. */
use_vertex_group?: H.In<boolean>;
/** Vertex group strength Default: 1.0. */
vertex_group_factor?: H.In<number>;
/** Invert vertex group influence Default: False. */
invert_vertex_group?: H.In<boolean>;
/** Maintain symmetry on an axis Default: False. */
use_symmetry?: H.In<boolean>;
/**
* Axis of symmetry Default: 'Y'.
* - `X`: X
* - `Y`: Y
* - `Z`: Z
*/
symmetry_axis?: H.In<"X" | "Y" | "Z">;
}>;
/**
* Delete selected vertices, edges or faces
*
* bpy.ops.mesh.delete
*/
delete: H.Operator<{
/**
* Method used for deleting mesh data Default: 'VERT'.
* - `VERT`: Vertices
* - `EDGE`: Edges
* - `FACE`: Faces
* - `EDGE_FACE`: Only Edges & Faces
* - `ONLY_FACE`: Only Faces
*/
type?: H.In<"VERT" | "EDGE" | "FACE" | "EDGE_FACE" | "ONLY_FACE">;
}>;
/**
* Delete an edge loop by merging the faces on each side
*
* bpy.ops.mesh.delete_edgeloop
*/
delete_edgeloop: H.Operator<{
/** Split off face corners to maintain surrounding geometry Default: True. */
use_face_split?: H.In<boolean>;
}>;
/**
* Delete loose vertices, edges or faces
*
* bpy.ops.mesh.delete_loose
*/
delete_loose: H.Operator<{
/** Remove loose vertices Default: True. */
use_verts?: H.In<boolean>;
/** Remove loose edges Default: True. */
use_edges?: H.In<boolean>;
/** Remove loose faces Default: False. */
use_faces?: H.In<boolean>;
}>;
/**
* Dissolve zero area faces and zero length edges
*
* bpy.ops.mesh.dissolve_degenerate
*/
dissolve_degenerate: H.Operator<{
/** Maximum distance between elements to merge Default: 0.0001. */
threshold?: H.In<number>;
}>;
/**
* Dissolve edges, merging faces
*
* bpy.ops.mesh.dissolve_edges
*/
dissolve_edges: H.Operator<{
/** Dissolve remaining vertices which connect to only two edges Default: True. */
use_verts?: H.In<boolean>;
/** Remaining vertices which separate edge pairs are preserved if their edge angle exceeds this threshold. Default: 3.14159. */
angle_threshold?: H.In<number>;
/** Split off face corners to maintain surrounding geometry Default: False. */
use_face_split?: H.In<boolean>;
/** When dissolving the edge between two triangles, don't dissolve vertices Default: True. */
use_preserve_quads?: H.In<boolean>;
}>;
/**
* Dissolve faces
*
* bpy.ops.mesh.dissolve_faces
*/
dissolve_faces: H.Operator<{
/** Dissolve remaining vertices which connect to only two edges Default: False. */
use_verts?: H.In<boolean>;
}>;
/**
* Dissolve selected edges and vertices, limited by the angle of surrounding geometry
*
* bpy.ops.mesh.dissolve_limited
*/
dissolve_limited: H.Operator<{
/** Angle limit Default: 0.0872665. */
angle_limit?: H.In<number>;
/** Dissolve all vertices in between face boundaries Default: False. */
use_dissolve_boundaries?: H.In<boolean>;
/**
* Delimit dissolve operation Default: {'NORMAL'}.
* - `NORMAL`: Normal (Delimit by face directions)
* - `MATERIAL`: Material (Delimit by face material)
* - `SEAM`: Seam (Delimit by edge seams)
* - `SHARP`: Sharp (Delimit by sharp edges)
* - `UV`: UVs (Delimit by UV coordinates)
*/
delimit?: H.In<Set<"NORMAL" | "MATERIAL" | "SEAM" | "SHARP" | "UV">>;
}>;
/**
* Dissolve geometry based on the selection mode
*
* bpy.ops.mesh.dissolve_mode
*/
dissolve_mode: H.Operator<{
/** Dissolve remaining vertices which connect to only two edges Default: False. */
use_verts?: H.In<boolean>;
/** Remaining vertices which separate edge pairs are preserved if their edge angle exceeds this threshold. Default: 3.14159. */
angle_threshold?: H.In<number>;
/** When dissolving the edge between two triangles, don't dissolve vertices Default: True. */
use_preserve_quads?: H.In<boolean>;
/** Split off face corners to maintain surrounding geometry Default: False. */
use_face_split?: H.In<boolean>;
/** Split off face corners instead of merging faces Default: False. */
use_boundary_tear?: H.In<boolean>;
}>;
/**
* Dissolve vertices, merge edges and faces
*
* bpy.ops.mesh.dissolve_verts
*/
dissolve_verts: H.Operator<{
/** Split off face corners to maintain surrounding geometry Default: False. */
use_face_split?: H.In<boolean>;
/** Split off face corners instead of merging faces Default: False. */
use_boundary_tear?: H.In<boolean>;
}>;
/**
* Duplicate and extrude selected vertices, edges or faces towards the mouse cursor
*
* bpy.ops.mesh.dupli_extrude_cursor
*/
dupli_extrude_cursor: H.Operator<{
/** Rotate initial selection giving better shape Default: True. */
rotate_source?: H.In<boolean>;
}>;
/**
* Duplicate selected vertices, edges or faces
*
* bpy.ops.mesh.duplicate
*/
duplicate: H.Operator<{
/** Mode Default: 1. */
mode?: H.In<number>;
}>;
/**
* Duplicate mesh and move
*
* bpy.ops.mesh.duplicate_move
*/
duplicate_move: H.Operator<{
/** Duplicate selected vertices, edges or faces */
MESH_OT_duplicate?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Collapse isolated edge and face regions, merging data such as UVs and color attributes. This can collapse edge-rings as well as regions of connected faces into vertices
*
* bpy.ops.mesh.edge_collapse
*/
edge_collapse: H.Operator<{}>;
/**
* Add an edge or face to selected
*
* bpy.ops.mesh.edge_face_add
*/
edge_face_add: H.Operator<{}>;
/**
* Rotate selected edge or adjoining faces
*
* bpy.ops.mesh.edge_rotate
*/
edge_rotate: H.Operator<{
/** Counter Clockwise Default: False. */
use_ccw?: H.In<boolean>;
}>;
/**
* Split selected edges so that each neighbor face gets its own copy
*
* bpy.ops.mesh.edge_split
*/
edge_split: H.Operator<{
/**
* Method to use for splitting Default: 'EDGE'.
* - `EDGE`: Faces by Edges (Split faces along selected edges)
* - `VERT`: Faces & Edges by Vertices (Split faces and edges connected to selected vertices)
*/
type?: H.In<"EDGE" | "VERT">;
}>;
/**
* Select an edge ring
*
* bpy.ops.mesh.edgering_select
*/
edgering_select: H.Operator<{
/**
* Delimit edge ring selection Default: {'NGONS'}.
* - `SEAM`: Seam (Delimit edge ring selection at seams)
* - `SHARP`: Sharp (Delimit edge ring selection at sharp edges)
* - `MATERIAL`: Material (Delimit edge ring selection at material boundaries)
* - `NGONS`: N-gons (Allow edge ring selection to step over n-gons with an even number of sides)
*/
delimit_edge_ring?: H.In<Set<"SEAM" | "SHARP" | "MATERIAL" | "NGONS">>;
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
/** Remove from the selection Default: False. */
deselect?: H.In<boolean>;
/** Toggle the selection Default: False. */
toggle?: H.In<boolean>;
/** Default: -1. */
object_index?: H.In<number>;
/** Default: -1. */
edge_index?: H.In<number>;
/** Default: -1. */
vert_index?: H.In<number>;
/** Default: -1. */
face_index?: H.In<number>;
}>;
/**
* Select all sharp enough edges
*
* bpy.ops.mesh.edges_select_sharp
*/
edges_select_sharp: H.Operator<{
/** Sharpness Default: 0.523599. */
sharpness?: H.In<number>;
}>;
/**
* Extrude selection
*
* bpy.ops.mesh.extrude_context
*/
extrude_context: H.Operator<{
/** Flip Normals Default: False. */
use_normal_flip?: H.In<boolean>;
/** Dissolve Orthogonal Edges Default: False. */
use_dissolve_ortho_edges?: H.In<boolean>;
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
}>;
/**
* Extrude region together along the average normal
*
* bpy.ops.mesh.extrude_context_move
*/
extrude_context_move: H.Operator<{
/** Extrude selection */
MESH_OT_extrude_context?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Extrude individual edges only
*
* bpy.ops.mesh.extrude_edges_indiv
*/
extrude_edges_indiv: H.Operator<{
/** Flip Normals Default: False. */
use_normal_flip?: H.In<boolean>;
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
}>;
/**
* Extrude edges and move result
*
* bpy.ops.mesh.extrude_edges_move
*/
extrude_edges_move: H.Operator<{
/** Extrude individual edges only */
MESH_OT_extrude_edges_indiv?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Extrude individual faces only
*
* bpy.ops.mesh.extrude_faces_indiv
*/
extrude_faces_indiv: H.Operator<{
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
}>;
/**
* Extrude each individual face separately along local normals
*
* bpy.ops.mesh.extrude_faces_move
*/
extrude_faces_move: H.Operator<{
/** Extrude individual faces only */
MESH_OT_extrude_faces_indiv?: any;
/** Shrink/fatten selected vertices along normals */
TRANSFORM_OT_shrink_fatten?: any;
}>;
/**
* Extrude, dissolves edges whose faces form a flat surface and intersect new edges
*
* bpy.ops.mesh.extrude_manifold
*/
extrude_manifold: H.Operator<{
/** Extrude region of faces */
MESH_OT_extrude_region?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Extrude region of faces
*
* bpy.ops.mesh.extrude_region
*/
extrude_region: H.Operator<{
/** Flip Normals Default: False. */
use_normal_flip?: H.In<boolean>;
/** Dissolve Orthogonal Edges Default: False. */
use_dissolve_ortho_edges?: H.In<boolean>;
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
}>;
/**
* Extrude region and move result
*
* bpy.ops.mesh.extrude_region_move
*/
extrude_region_move: H.Operator<{
/** Extrude region of faces */
MESH_OT_extrude_region?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Extrude region together along local normals
*
* bpy.ops.mesh.extrude_region_shrink_fatten
*/
extrude_region_shrink_fatten: H.Operator<{
/** Extrude region of faces */
MESH_OT_extrude_region?: any;
/** Shrink/fatten selected vertices along normals */
TRANSFORM_OT_shrink_fatten?: any;
}>;
/**
* Extrude selected vertices, edges or faces repeatedly
*
* bpy.ops.mesh.extrude_repeat
*/
extrude_repeat: H.Operator<{
/** Steps Default: 10. */
steps?: H.In<number>;
/** Offset vector Default: (0.0, 0.0, 0.0). */
offset?: H.In<M.VectorLike>;
/** Scale Offset Default: 1.0. */
scale_offset?: H.In<number>;
}>;
/**
* Extrude vertices and move result
*
* bpy.ops.mesh.extrude_vertices_move
*/
extrude_vertices_move: H.Operator<{
/** Extrude individual vertices only */
MESH_OT_extrude_verts_indiv?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Extrude individual vertices only
*
* bpy.ops.mesh.extrude_verts_indiv
*/
extrude_verts_indiv: H.Operator<{
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
}>;
/**
* Flatten selected faces
*
* bpy.ops.mesh.face_make_planar
*/
face_make_planar: H.Operator<{
/** Factor Default: 1.0. */
factor?: H.In<number>;
/** Iterations Default: 1. */
repeat?: H.In<number>;
}>;
/**
* Weld loose edges into faces (splitting them into new faces)
*
* bpy.ops.mesh.face_split_by_edges
*/
face_split_by_edges: H.Operator<{}>;
/**
* Select linked faces by angle
*
* bpy.ops.mesh.faces_select_linked_flat
*/
faces_select_linked_flat: H.Operator<{
/** Sharpness Default: 0.0174533. */
sharpness?: H.In<number>;
}>;
/**
* Display faces flat
*
* bpy.ops.mesh.faces_shade_flat
*/
faces_shade_flat: H.Operator<{}>;
/**
* Display faces smooth (using vertex normals)
*
* bpy.ops.mesh.faces_shade_smooth
*/
faces_shade_smooth: H.Operator<{}>;
/**
* Fill a selected edge loop with faces
*
* bpy.ops.mesh.fill
*/
fill: H.Operator<{
/** Use best triangulation division Default: True. */
use_beauty?: H.In<boolean>;
}>;
/**
* Fill grid from two loops
*
* bpy.ops.mesh.fill_grid
*/
fill_grid: H.Operator<{
/** Number of grid columns Default: 1. */
span?: H.In<number>;
/** Vertex that is the corner of the grid Default: 0. */
offset?: H.In<number>;
/** Use simple interpolation of grid vertices Default: False. */
use_interp_simple?: H.In<boolean>;
}>;
/**
* Fill in holes (boundary edge loops)
*
* bpy.ops.mesh.fill_holes
*/
fill_holes: H.Operator<{
/** Number of sides in hole required to fill (zero fills all holes) Default: 4. */
sides?: H.In<number>;
}>;
/**
* Flatten vertices on a best-fitting plane
*
* bpy.ops.mesh.flatten
*/
flatten: H.Operator<{
/** Flattening factor Default: 1.0. */
factor?: H.In<number>;
/**
* Plane on which vertices are flattened Default: 'BEST_FIT'.
* - `BEST_FIT`: Best Fit (Calculate a best fitting plane)
* - `NORMAL`: Normal (Derive plane by averaging face normals)
* - `VIEW`: View (Flatten on a plane perpendicular to the viewing angle)
*/
method?: H.In<"BEST_FIT" | "NORMAL" | "VIEW">;
/** Lock editing of the axis Default: (False, False, False). */
lock?: H.In<readonly boolean[]>;
}>;
/**
* Flip the direction of selected faces' normals (and of their vertices)
*
* bpy.ops.mesh.flip_normals
*/
flip_normals: H.Operator<{
/** Only flip the custom loop normals of the selected elements Default: False. */
only_clnors?: H.In<boolean>;
}>;
/**
* Flips the tessellation of selected quads
*
* bpy.ops.mesh.flip_quad_tessellation
*/
flip_quad_tessellation: H.Operator<{}>;
/**
* Hide (un)selected vertices, edges or faces
*
* bpy.ops.mesh.hide
*/
hide: H.Operator<{
/** Hide unselected rather than selected Default: False. */
unselected?: H.In<boolean>;
}>;
/**
* Inset new faces into selected faces
*
* bpy.ops.mesh.inset
*/
inset: H.Operator<{
/** Inset face boundaries Default: True. */
use_boundary?: H.In<boolean>;
/** Scale the offset to give more even thickness Default: True. */
use_even_offset?: H.In<boolean>;
/** Scale the offset by surrounding geometry Default: False. */
use_relative_offset?: H.In<boolean>;
/** Inset the region along existing edges Default: False. */
use_edge_rail?: H.In<boolean>;
/** Thickness Default: 0.0. */
thickness?: H.In<number>;
/** Depth Default: 0.0. */
depth?: H.In<number>;
/** Outset rather than inset Default: False. */
use_outset?: H.In<boolean>;
/** Select the new inset faces Default: False. */
use_select_inset?: H.In<boolean>;
/** Individual face inset Default: False. */
use_individual?: H.In<boolean>;
/** Blend face data across the inset Default: True. */
use_interpolate?: H.In<boolean>;
/** Confirm on Release Default: False. */
release_confirm?: H.In<boolean>;
}>;
/**
* Cut an intersection into faces
*
* bpy.ops.mesh.intersect
*/
intersect: H.Operator<{
/**
* Source Default: 'SELECT_UNSELECT'.
* - `SELECT`: Self Intersect (Self intersect selected faces)
* - `SELECT_UNSELECT`: Selected/Unselected (Intersect selected with unselected faces)
*/
mode?: H.In<"SELECT" | "SELECT_UNSELECT">;
/**
* Separate Mode Default: 'CUT'.
* - `ALL`: All (Separate all geometry from intersections)
* - `CUT`: Cut (Cut into geometry keeping each side separate (Selected/Unselected only))
* - `NONE`: Merge (Merge all geometry from the intersection)
*/
separate_mode?: H.In<"ALL" | "CUT" | "NONE">;
/** Merge Threshold Default: 1e-06. */
threshold?: H.In<number>;
/**
* Which Intersect solver to use Default: 'EXACT'.
* - `FLOAT`: Float (Simple solver with good performance, without support for overlapping geometry)
* - `EXACT`: Exact (Slower solver with the best results for coplanar faces)
*/
solver?: H.In<"FLOAT" | "EXACT">;
}>;
/**
* Cut solid geometry from selected to unselected
*
* bpy.ops.mesh.intersect_boolean
*/
intersect_boolean: H.Operator<{
/**
* Which boolean operation to apply Default: 'DIFFERENCE'.
* - `INTERSECT`: Intersect
* - `UNION`: Union
* - `DIFFERENCE`: Difference
*/
operation?: H.In<"INTERSECT" | "UNION" | "DIFFERENCE">;
/** Use with difference intersection to swap which side is kept Default: False. */
use_swap?: H.In<boolean>;
/** Do self-union or self-intersection Default: False. */
use_self?: H.In<boolean>;
/** Merge Threshold Default: 1e-06. */
threshold?: H.In<number>;
/**
* Which Boolean solver to use Default: 'EXACT'.
* - `FLOAT`: Float (Faster solver, some limitations)
* - `EXACT`: Exact (Exact solver, slower, handles more cases)
*/
solver?: H.In<"FLOAT" | "EXACT">;
}>;
/**
* Use other objects outlines and boundaries to project knife cuts
*
* bpy.ops.mesh.knife_project
*/
knife_project: H.Operator<{
/** Cut through all faces, not just visible ones Default: False. */
cut_through?: H.In<boolean>;
}>;
/**
* Cut new topology
*
* bpy.ops.mesh.knife_tool
*/
knife_tool: H.Operator<{
/** Only cut the front most geometry Default: True. */
use_occlude_geometry?: H.In<boolean>;
/** Only cut selected geometry Default: False. */
only_selected?: H.In<boolean>;
/** Show cuts hidden by geometry Default: True. */
xray?: H.In<boolean>;
/**
* Visible distance and angle measurements Default: 'NONE'.
* - `NONE`: None (Show no measurements)
* - `BOTH`: Both (Show both distances and angles)
* - `DISTANCE`: Distance (Show just distance measurements)
* - `ANGLE`: Angle (Show just angle measurements)
*/
visible_measurements?: H.In<"NONE" | "BOTH" | "DISTANCE" | "ANGLE">;
/**
* Angle snapping mode Default: 'NONE'.
* - `NONE`: None (No angle snapping)
* - `SCREEN`: Screen (Screen space angle snapping)
* - `RELATIVE`: Relative (Angle snapping relative to the previous cut edge)
*/
angle_snapping?: H.In<"NONE" | "SCREEN" | "RELATIVE">;
/** The angle snap increment used when in constrained angle mode Default: 0.523599. */
angle_snapping_increment?: H.In<number>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
}>;
/**
* Select a loop of connected edges
*
* bpy.ops.mesh.loop_select
*/
loop_select: H.Operator<{
/**
* Delimit edge loop selection Default: {'NGONS', 'OUTER_CORNERS'}.
* - `SEAM`: Seam (Delimit edge loop selection at seams)
* - `SHARP`: Sharp (Delimit edge loop selection at sharp edges)
* - `NGONS`: N-gons (Stop boundary selection at n-gons)
* - `INNER_CORNERS`: Inner Corners (Stop boundary selection at vertices with more than three edges)
* - `OUTER_CORNERS`: Outer Corners (Stop boundary selection at vertices with two edges when they share a face that is not an n-gon)
*/
delimit_edge_loop?: H.In<Set<"SEAM" | "SHARP" | "NGONS" | "INNER_CORNERS" | "OUTER_CORNERS">>;
/**
* Delimit face loop selection Default: set().
* - `SEAM`: Seam (Delimit face loop selection at seams)
* - `SHARP`: Sharp (Delimit face loop selection at sharp edges)
* - `MATERIAL`: Material (Delimit face loop selection at material boundaries)
*/
delimit_face_loop?: H.In<Set<"SEAM" | "SHARP" | "MATERIAL">>;
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
/** Remove from the selection Default: False. */
deselect?: H.In<boolean>;
/** Toggle the selection Default: False. */
toggle?: H.In<boolean>;
/** Default: -1. */
object_index?: H.In<number>;
/** Default: -1. */
edge_index?: H.In<number>;
/** Default: -1. */
vert_index?: H.In<number>;
/** Default: -1. */
face_index?: H.In<number>;
}>;
/**
* Select region of faces inside of a selected loop of edges
*
* bpy.ops.mesh.loop_to_region
*/
loop_to_region: H.Operator<{
/** Select bigger regions instead of smaller ones Default: False. */
select_bigger?: H.In<boolean>;
}>;
/**
* Add a new loop between existing loops
*
* bpy.ops.mesh.loopcut
*/
loopcut: H.Operator<{
/** Number of Cuts Default: 1. */
number_cuts?: H.In<number>;
/** Smoothness factor Default: 0.0. */
smoothness?: H.In<number>;
/**
* Falloff type of the feather Default: 'INVERSE_SQUARE'.
* - `SMOOTH`: Smooth (Smooth falloff)
* - `SPHERE`: Sphere (Spherical falloff)
* - `ROOT`: Root (Root falloff)
* - `INVERSE_SQUARE`: Inverse Square (Inverse Square falloff)
* - `SHARP`: Sharp (Sharp falloff)
* - `LINEAR`: Linear (Linear falloff)
*/
falloff?: H.In<"SMOOTH" | "SPHERE" | "ROOT" | "INVERSE_SQUARE" | "SHARP" | "LINEAR">;
/** Object Index Default: -1. */
object_index?: H.In<number>;
/** Edge Index Default: -1. */
edge_index?: H.In<number>;
/** Default: (False, False, False). */
mesh_select_mode_init?: H.In<readonly boolean[]>;
}>;
/**
* Cut mesh loop and slide it
*
* bpy.ops.mesh.loopcut_slide
*/
loopcut_slide: H.Operator<{
/** Add a new loop between existing loops */
MESH_OT_loopcut?: any;
/** Slide an edge loop along a mesh */
TRANSFORM_OT_edge_slide?: any;
}>;
/**
* (Un)mark selected edges as Freestyle feature edges
*
* bpy.ops.mesh.mark_freestyle_edge
*/
mark_freestyle_edge: H.Operator<{
/** Clear Default: False. */
clear?: H.In<boolean>;
}>;
/**
* (Un)mark selected faces for exclusion from Freestyle feature edge detection
*
* bpy.ops.mesh.mark_freestyle_face
*/
mark_freestyle_face: H.Operator<{
/** Clear Default: False. */
clear?: H.In<boolean>;
}>;
/**
* (Un)mark selected edges as a seam
*
* bpy.ops.mesh.mark_seam
*/
mark_seam: H.Operator<{
/** Clear Default: False. */
clear?: H.In<boolean>;
}>;
/**
* (Un)mark selected edges as sharp
*
* bpy.ops.mesh.mark_sharp
*/
mark_sharp: H.Operator<{
/** Clear Default: False. */
clear?: H.In<boolean>;
/** Consider vertices instead of edges to select which edges to (un)tag as sharp Default: False. */
use_verts?: H.In<boolean>;
}>;
/**
* Merge selected vertices
*
* bpy.ops.mesh.merge
*/
merge: H.Operator<{
/**
* Merge method to use Default: 'CENTER'.
* - `CENTER`: At Center
* - `CURSOR`: At Cursor
* - `COLLAPSE`: Collapse
* - `FIRST`: At First
* - `LAST`: At Last
*/
type?: H.In<"CENTER" | "CURSOR" | "COLLAPSE" | "FIRST" | "LAST">;
/** Move UVs according to merge Default: False. */
uvs?: H.In<boolean>;
}>;
/**
* Merge custom normals of selected vertices
*
* bpy.ops.mesh.merge_normals
*/
merge_normals: H.Operator<{}>;
/**
* Set/Get strength of face (used in Weighted Normal modifier)
*
* bpy.ops.mesh.mod_weighted_strength
*/
mod_weighted_strength: H.Operator<{
/** Set value of faces Default: False. */
set?: H.In<boolean>;
/**
* Strength to use for assigning or selecting face influence for weighted normal modifier Default: 'MEDIUM'.
* - `WEAK`: Weak
* - `MEDIUM`: Medium
* - `STRONG`: Strong
*/
face_strength?: H.In<"WEAK" | "MEDIUM" | "STRONG">;
}>;
/**
* Make face and vertex normals point either outside or inside the mesh
*
* bpy.ops.mesh.normals_make_consistent
*/
normals_make_consistent: H.Operator<{
/** Inside Default: False. */
inside?: H.In<boolean>;
}>;
/**
* Custom normals tools using Normal Vector of UI
*
* bpy.ops.mesh.normals_tools
*/
normals_tools: H.Operator<{
/**
* Mode of tools taking input from interface Default: 'COPY'.
* - `COPY`: Copy Normal (Copy normal to the internal clipboard)
* - `PASTE`: Paste Normal (Paste normal from the internal clipboard)
* - `ADD`: Add Normal (Add normal vector with selection)
* - `MULTIPLY`: Multiply Normal (Multiply normal vector with selection)
* - `RESET`: Reset Normal (Reset the internal clipboard and/or normal of selected element)
*/
mode?: H.In<"COPY" | "PASTE" | "ADD" | "MULTIPLY" | "RESET">;
/** Copy Absolute coordinates of Normal vector Default: False. */
absolute?: H.In<boolean>;
}>;
/**
* Create offset edge loop from the current selection
*
* bpy.ops.mesh.offset_edge_loops
*/
offset_edge_loops: H.Operator<{
/** Extend loop around end-points Default: False. */
use_cap_endpoint?: H.In<boolean>;
}>;
/**
* Offset edge loop slide
*
* bpy.ops.mesh.offset_edge_loops_slide
*/
offset_edge_loops_slide: H.Operator<{
/** Create offset edge loop from the current selection */
MESH_OT_offset_edge_loops?: any;
/** Slide an edge loop along a mesh */
TRANSFORM_OT_edge_slide?: any;
}>;
/**
* Point selected custom normals to specified Target
*
* bpy.ops.mesh.point_normals
*/
point_normals: H.Operator<{
/**
* How to define coordinates to point custom normals to Default: 'COORDINATES'.
* - `COORDINATES`: Coordinates (Use static coordinates (defined by various means))
* - `MOUSE`: Mouse (Follow mouse cursor)
*/
mode?: H.In<"COORDINATES" | "MOUSE">;
/** Invert affected normals Default: False. */
invert?: H.In<boolean>;
/** Make all affected normals parallel Default: False. */
align?: H.In<boolean>;
/** Target location to which normals will point Default: (0.0, 0.0, 0.0). */
target_location?: H.In<M.VectorLike>;
/** Interpolate between original and new normals Default: False. */
spherize?: H.In<boolean>;
/** Ratio of spherized normal to original normal Default: 0.1. */
spherize_strength?: H.In<number>;
}>;
/**
* Split a face into a fan
*
* bpy.ops.mesh.poke
*/
poke: H.Operator<{
/** Poke Offset Default: 0.0. */
offset?: H.In<number>;
/** Scale the offset by surrounding geometry Default: False. */
use_relative_offset?: H.In<boolean>;
/**
* Poke face center calculation Default: 'MEDIAN_WEIGHTED'.
* - `MEDIAN_WEIGHTED`: Weighted Median (Weighted median face center)
* - `MEDIAN`: Median (Median face center)
* - `BOUNDS`: Bounds (Face bounds center)
*/
center_mode?: H.In<"MEDIAN_WEIGHTED" | "MEDIAN" | "BOUNDS">;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_delete_at_cursor
*/
polybuild_delete_at_cursor: H.Operator<{
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
/** Proportional Editing Default: False. */
use_proportional_edit?: H.In<boolean>;
/** Falloff type for proportional editing mode Default: 'SMOOTH'. */
proportional_edit_falloff?: H.In<E.ToolSettingsProportionalEditFalloff>;
/** Proportional Size Default: 1.0. */
proportional_size?: H.In<number>;
/** Connected Default: False. */
use_proportional_connected?: H.In<boolean>;
/** Projected (2D) Default: False. */
use_proportional_projected?: H.In<boolean>;
/** Always confirm operation when releasing button Default: False. */
release_confirm?: H.In<boolean>;
/** Use accurate transformation Default: False. */
use_accurate?: H.In<boolean>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_dissolve_at_cursor
*/
polybuild_dissolve_at_cursor: H.Operator<{}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_extrude_at_cursor_move
*/
polybuild_extrude_at_cursor_move: H.Operator<{
/** Poly Build Transform at Cursor */
MESH_OT_polybuild_transform_at_cursor?: any;
/** Extrude individual edges only */
MESH_OT_extrude_edges_indiv?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_face_at_cursor
*/
polybuild_face_at_cursor: H.Operator<{
/** Automatically split edges in triangles to maintain quad topology Default: True. */
create_quads?: H.In<boolean>;
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
/** Proportional Editing Default: False. */
use_proportional_edit?: H.In<boolean>;
/** Falloff type for proportional editing mode Default: 'SMOOTH'. */
proportional_edit_falloff?: H.In<E.ToolSettingsProportionalEditFalloff>;
/** Proportional Size Default: 1.0. */
proportional_size?: H.In<number>;
/** Connected Default: False. */
use_proportional_connected?: H.In<boolean>;
/** Projected (2D) Default: False. */
use_proportional_projected?: H.In<boolean>;
/** Always confirm operation when releasing button Default: False. */
release_confirm?: H.In<boolean>;
/** Use accurate transformation Default: False. */
use_accurate?: H.In<boolean>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_face_at_cursor_move
*/
polybuild_face_at_cursor_move: H.Operator<{
/** Poly Build Face at Cursor */
MESH_OT_polybuild_face_at_cursor?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_split_at_cursor
*/
polybuild_split_at_cursor: H.Operator<{
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
/** Proportional Editing Default: False. */
use_proportional_edit?: H.In<boolean>;
/** Falloff type for proportional editing mode Default: 'SMOOTH'. */
proportional_edit_falloff?: H.In<E.ToolSettingsProportionalEditFalloff>;
/** Proportional Size Default: 1.0. */
proportional_size?: H.In<number>;
/** Connected Default: False. */
use_proportional_connected?: H.In<boolean>;
/** Projected (2D) Default: False. */
use_proportional_projected?: H.In<boolean>;
/** Always confirm operation when releasing button Default: False. */
release_confirm?: H.In<boolean>;
/** Use accurate transformation Default: False. */
use_accurate?: H.In<boolean>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_split_at_cursor_move
*/
polybuild_split_at_cursor_move: H.Operator<{
/** Poly Build Split at Cursor */
MESH_OT_polybuild_split_at_cursor?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_transform_at_cursor
*/
polybuild_transform_at_cursor: H.Operator<{
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
/** Proportional Editing Default: False. */
use_proportional_edit?: H.In<boolean>;
/** Falloff type for proportional editing mode Default: 'SMOOTH'. */
proportional_edit_falloff?: H.In<E.ToolSettingsProportionalEditFalloff>;
/** Proportional Size Default: 1.0. */
proportional_size?: H.In<number>;
/** Connected Default: False. */
use_proportional_connected?: H.In<boolean>;
/** Projected (2D) Default: False. */
use_proportional_projected?: H.In<boolean>;
/** Always confirm operation when releasing button Default: False. */
release_confirm?: H.In<boolean>;
/** Use accurate transformation Default: False. */
use_accurate?: H.In<boolean>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.mesh.polybuild_transform_at_cursor_move
*/
polybuild_transform_at_cursor_move: H.Operator<{
/** Poly Build Transform at Cursor */
MESH_OT_polybuild_transform_at_cursor?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Construct a circle mesh
*
* bpy.ops.mesh.primitive_circle_add
*/
primitive_circle_add: H.Operator<{
/** Vertices Default: 32. */
vertices?: H.In<number>;
/** Radius Default: 1.0. */
radius?: H.In<number>;
/**
* Fill Type Default: 'NOTHING'.
* - `NOTHING`: Nothing (Don't fill at all)
* - `NGON`: N-Gon (Use n-gons)
* - `TRIFAN`: Triangle Fan (Use triangle fans)
*/
fill_type?: H.In<"NOTHING" | "NGON" | "TRIFAN">;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 conic mesh
*
* bpy.ops.mesh.primitive_cone_add
*/
primitive_cone_add: H.Operator<{
/** Vertices Default: 32. */
vertices?: H.In<number>;
/** Radius 1 Default: 1.0. */
radius1?: H.In<number>;
/** Radius 2 Default: 0.0. */
radius2?: H.In<number>;
/** Depth Default: 2.0. */
depth?: H.In<number>;
/**
* Base Fill Type Default: 'NGON'.
* - `NOTHING`: Nothing (Don't fill at all)
* - `NGON`: N-Gon (Use n-gons)
* - `TRIFAN`: Triangle Fan (Use triangle fans)
*/
end_fill_type?: H.In<"NOTHING" | "NGON" | "TRIFAN">;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 cube mesh that consists of six square faces
*
* bpy.ops.mesh.primitive_cube_add
*/
primitive_cube_add: H.Operator<{
/** Size Default: 2.0. */
size?: H.In<number>;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 cube mesh
*
* bpy.ops.mesh.primitive_cube_add_gizmo
*/
primitive_cube_add_gizmo: H.Operator<{
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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>;
/** Matrix Default: ((0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0)). */
matrix?: H.In<M.MatrixLike>;
}>;
/**
* Construct a cylinder mesh
*
* bpy.ops.mesh.primitive_cylinder_add
*/
primitive_cylinder_add: H.Operator<{
/** Vertices Default: 32. */
vertices?: H.In<number>;
/** Radius Default: 1.0. */
radius?: H.In<number>;
/** Depth Default: 2.0. */
depth?: H.In<number>;
/**
* Cap Fill Type Default: 'NGON'.
* - `NOTHING`: Nothing (Don't fill at all)
* - `NGON`: N-Gon (Use n-gons)
* - `TRIFAN`: Triangle Fan (Use triangle fans)
*/
end_fill_type?: H.In<"NOTHING" | "NGON" | "TRIFAN">;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 subdivided plane mesh
*
* bpy.ops.mesh.primitive_grid_add
*/
primitive_grid_add: H.Operator<{
/** X Subdivisions Default: 10. */
x_subdivisions?: H.In<number>;
/** Y Subdivisions Default: 10. */
y_subdivisions?: H.In<number>;
/** Size Default: 2.0. */
size?: H.In<number>;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 spherical mesh that consists of equally sized triangles
*
* bpy.ops.mesh.primitive_ico_sphere_add
*/
primitive_ico_sphere_add: H.Operator<{
/** Subdivisions Default: 2. */
subdivisions?: H.In<number>;
/** Radius Default: 1.0. */
radius?: H.In<number>;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 Suzanne mesh
*
* bpy.ops.mesh.primitive_monkey_add
*/
primitive_monkey_add: H.Operator<{
/** Size Default: 2.0. */
size?: H.In<number>;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 filled planar mesh with 4 vertices
*
* bpy.ops.mesh.primitive_plane_add
*/
primitive_plane_add: H.Operator<{
/** Size Default: 2.0. */
size?: H.In<number>;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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 torus mesh
*
* bpy.ops.mesh.primitive_torus_add
*/
primitive_torus_add: H.Operator<{
/**
* Align 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 Default: (0.0, 0.0, 0.0). */
location?: H.In<M.VectorLike>;
/** Rotation Default: (0.0, 0.0, 0.0). */
rotation?: H.In<M.Euler | readonly number[]>;
/** Number of segments for the main ring of the torus Default: 48. */
major_segments?: H.In<number>;
/** Number of segments for the minor ring of the torus Default: 12. */
minor_segments?: H.In<number>;
/**
* Dimensions Mode Default: 'MAJOR_MINOR'.
* - `MAJOR_MINOR`: Major/Minor (Use the major/minor radii for torus dimensions)
* - `EXT_INT`: Exterior/Interior (Use the exterior/interior radii for torus dimensions)
*/
mode?: H.In<"MAJOR_MINOR" | "EXT_INT">;
/** Radius from the origin to the center of the cross sections Default: 1.0. */
major_radius?: H.In<number>;
/** Radius of the torus's cross section Default: 0.25. */
minor_radius?: H.In<number>;
/** Total Exterior Radius of the torus Default: 1.25. */
abso_major_rad?: H.In<number>;
/** Total Interior Radius of the torus Default: 0.75. */
abso_minor_rad?: H.In<number>;
/** Generate a default UV map Default: True. */
generate_uvs?: H.In<boolean>;
}>;
/**
* Construct a spherical mesh with quad faces, except for triangle faces at the top and bottom
*
* bpy.ops.mesh.primitive_uv_sphere_add
*/
primitive_uv_sphere_add: H.Operator<{
/** Segments Default: 32. */
segments?: H.In<number>;
/** Rings Default: 16. */
ring_count?: H.In<number>;
/** Radius Default: 1.0. */
radius?: H.In<number>;
/** Generate a default UV map Default: True. */
calc_uvs?: H.In<boolean>;
/** 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>;
}>;
/**
* Triangulate selected faces
*
* bpy.ops.mesh.quads_convert_to_tris
*/
quads_convert_to_tris: H.Operator<{
/**
* Method for splitting the quads into triangles Default: 'BEAUTY'.
* - `BEAUTY`: Beauty (Split the quads in nice triangles, slower method)
* - `FIXED`: Fixed (Split the quads on the first and third vertices)
* - `FIXED_ALTERNATE`: Fixed Alternate (Split the quads on the 2nd and 4th vertices)
* - `SHORTEST_DIAGONAL`: Shortest Diagonal (Split the quads along their shortest diagonal)
* - `LONGEST_DIAGONAL`: Longest Diagonal (Split the quads along their longest diagonal)
*/
quad_method?: H.In<"BEAUTY" | "FIXED" | "FIXED_ALTERNATE" | "SHORTEST_DIAGONAL" | "LONGEST_DIAGONAL">;
/**
* Method for splitting the n-gons into triangles Default: 'BEAUTY'.
* - `BEAUTY`: Beauty (Arrange the new triangles evenly (slow))
* - `CLIP`: Clip (Split the polygons with an ear clipping algorithm)
*/
ngon_method?: H.In<"BEAUTY" | "CLIP">;
}>;
/**
* Select boundary edges around the selected faces
*
* bpy.ops.mesh.region_to_loop
*/
region_to_loop: H.Operator<{}>;
/**
* Merge vertices based on their proximity
*
* bpy.ops.mesh.remove_doubles
*/
remove_doubles: H.Operator<{
/** Maximum distance between elements to merge Default: 0.0001. */
threshold?: H.In<number>;
/** Move vertices to the centroid of the duplicate cluster, otherwise the vertex closest to the centroid is used. Default: True. */
use_centroid?: H.In<boolean>;
/** Merge selected to other unselected vertices Default: False. */
use_unselected?: H.In<boolean>;
/** Calculate sharp edges using custom normal data (when available) Default: False. */
use_sharp_edge_from_normals?: H.In<boolean>;
}>;
/**
* Reorder mesh faces and vertices based on their spatial position for better BVH building and sculpting performance.
*
* bpy.ops.mesh.reorder_vertices_spatial
*/
reorder_vertices_spatial: H.Operator<{}>;
/**
* Reveal all hidden vertices, edges and faces
*
* bpy.ops.mesh.reveal
*/
reveal: H.Operator<{
/** Select Default: True. */
select?: H.In<boolean>;
}>;
/**
* Disconnect vertices or edges from connected geometry
*
* bpy.ops.mesh.rip
*/
rip: H.Operator<{
/** Mirror Editing Default: False. */
mirror?: H.In<boolean>;
/** Proportional Editing Default: False. */
use_proportional_edit?: H.In<boolean>;
/** Falloff type for proportional editing mode Default: 'SMOOTH'. */
proportional_edit_falloff?: H.In<E.ToolSettingsProportionalEditFalloff>;
/** Proportional Size Default: 1.0. */
proportional_size?: H.In<number>;
/** Connected Default: False. */
use_proportional_connected?: H.In<boolean>;
/** Projected (2D) Default: False. */
use_proportional_projected?: H.In<boolean>;
/** Always confirm operation when releasing button Default: False. */
release_confirm?: H.In<boolean>;
/** Use accurate transformation Default: False. */
use_accurate?: H.In<boolean>;
/** Fill the ripped region Default: False. */
use_fill?: H.In<boolean>;
}>;
/**
* Extend vertices along the edge closest to the cursor
*
* bpy.ops.mesh.rip_edge
*/
rip_edge: H.Operator<{
/** World-space ray origin for extending vertices Default: (0.0, 0.0, 0.0). */
location?: H.In<M.VectorLike>;
/** World-space direction vector for extending vertices Default: (0.0, 0.0, 0.0). */
direction?: H.In<M.VectorLike>;
}>;
/**
* Extend vertices and move the result
*
* bpy.ops.mesh.rip_edge_move
*/
rip_edge_move: H.Operator<{
/** Extend vertices along the edge closest to the cursor */
MESH_OT_rip_edge?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Rip polygons and move the result
*
* bpy.ops.mesh.rip_move
*/
rip_move: H.Operator<{
/** Disconnect vertices or edges from connected geometry */
MESH_OT_rip?: any;
/** Move selected items */
TRANSFORM_OT_translate?: any;
}>;
/**
* Extrude selected vertices in screw-shaped rotation around the cursor in indicated viewport
*
* bpy.ops.mesh.screw
*/
screw: H.Operator<{
/** Steps Default: 9. */
steps?: H.In<number>;
/** Turns Default: 1. */
turns?: H.In<number>;
/** Center in global view space Default: (0.0, 0.0, 0.0). */
center?: H.In<M.VectorLike>;
/** Axis in global view space Default: (0.0, 0.0, 0.0). */
axis?: H.In<M.VectorLike>;
}>;
/**
* (De)select all vertices, edges or faces
*
* bpy.ops.mesh.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">;
}>;
/**
* Select all data in the mesh on a single axis
*
* bpy.ops.mesh.select_axis
*/
select_axis: H.Operator<{
/** Axis orientation Default: 'LOCAL'. */
orientation?: H.In<E.TransformOrientationSlotType>;
/**
* Side to select Default: 'POS'.
* - `POS`: Positive Axis
* - `NEG`: Negative Axis
* - `ALIGN`: Aligned Axis
*/
sign?: H.In<"POS" | "NEG" | "ALIGN">;
/**
* Select the axis to compare each vertex on Default: 'X'.
* - `X`: X
* - `Y`: Y
* - `Z`: Z
*/
axis?: H.In<"X" | "Y" | "Z">;
/** Threshold Default: 0.0001. */
threshold?: H.In<number>;
}>;
/**
* Select entire boundary loop of each selected boundary edge
*
* bpy.ops.mesh.select_boundary_loop_multi
*/
select_boundary_loop_multi: H.Operator<{
/** Extend the selection Default: True. */
extend?: H.In<boolean>;
/**
* Delimit edge loop selection Default: set().
* - `SEAM`: Seam (Delimit edge loop selection at seams)
* - `SHARP`: Sharp (Delimit edge loop selection at sharp edges)
* - `NGONS`: N-gons (Stop boundary selection at n-gons)
* - `INNER_CORNERS`: Inner Corners (Stop boundary selection at vertices with more than three edges)
* - `OUTER_CORNERS`: Outer Corners (Stop boundary selection at vertices with two edges when they share a face that is not an n-gon)
*/
delimit_edge_loop?: H.In<Set<"SEAM" | "SHARP" | "NGONS" | "INNER_CORNERS" | "OUTER_CORNERS">>;
}>;
/**
* Select elements based on the active boolean attribute
*
* bpy.ops.mesh.select_by_attribute
*/
select_by_attribute: H.Operator<{}>;
/**
* Select vertices at poles by the number of connected edges. In edge and face mode the geometry connected to the vertices is selected
*
* bpy.ops.mesh.select_by_pole_count
*/
select_by_pole_count: H.Operator<{
/** Pole Count Default: 4. */
pole_count?: H.In<number>;
/**
* Type of comparison to make Default: 'NOTEQUAL'.
* - `LESS`: Less Than
* - `EQUAL`: Equal To
* - `GREATER`: Greater Than
* - `NOTEQUAL`: Not Equal To
*/
type?: H.In<"LESS" | "EQUAL" | "GREATER" | "NOTEQUAL">;
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
/** Exclude non-manifold poles Default: True. */
exclude_nonmanifold?: H.In<boolean>;
}>;
/**
* Select loops of connected edges from each selected edge
*
* bpy.ops.mesh.select_edge_loop_multi
*/
select_edge_loop_multi: H.Operator<{
/**
* Delimit edge loop selection Default: {'NGONS', 'OUTER_CORNERS'}.
* - `SEAM`: Seam (Delimit edge loop selection at seams)
* - `SHARP`: Sharp (Delimit edge loop selection at sharp edges)
* - `NGONS`: N-gons (Stop boundary selection at n-gons)
* - `INNER_CORNERS`: Inner Corners (Stop boundary selection at vertices with more than three edges)
* - `OUTER_CORNERS`: Outer Corners (Stop boundary selection at vertices with two edges when they share a face that is not an n-gon)
*/
delimit_edge_loop?: H.In<Set<"SEAM" | "SHARP" | "NGONS" | "INNER_CORNERS" | "OUTER_CORNERS">>;
}>;
/**
* Select rings of connected edges from each selected edge
*
* bpy.ops.mesh.select_edge_ring_multi
*/
select_edge_ring_multi: H.Operator<{
/**
* Delimit edge ring selection Default: {'NGONS'}.
* - `SEAM`: Seam (Delimit edge ring selection at seams)
* - `SHARP`: Sharp (Delimit edge ring selection at sharp edges)
* - `MATERIAL`: Material (Delimit edge ring selection at material boundaries)
* - `NGONS`: N-gons (Allow edge ring selection to step over n-gons with an even number of sides)
*/
delimit_edge_ring?: H.In<Set<"SEAM" | "SHARP" | "MATERIAL" | "NGONS">>;
}>;
/**
* Select vertices or faces by the number of face sides
*
* bpy.ops.mesh.select_face_by_sides
*/
select_face_by_sides: H.Operator<{
/** Number of Vertices Default: 4. */
number?: H.In<number>;
/**
* Type of comparison to make Default: 'EQUAL'.
* - `LESS`: Less Than
* - `EQUAL`: Equal To
* - `GREATER`: Greater Than
* - `NOTEQUAL`: Not Equal To
*/
type?: H.In<"LESS" | "EQUAL" | "GREATER" | "NOTEQUAL">;
/** Extend the selection Default: True. */
extend?: H.In<boolean>;
}>;
/**
* Select faces where all edges have more than 2 face users
*
* bpy.ops.mesh.select_interior_faces
*/
select_interior_faces: H.Operator<{}>;
/**
* Deselect vertices, edges or faces at the boundary of each selection region
*
* bpy.ops.mesh.select_less
*/
select_less: H.Operator<{
/** Connected faces (instead of edges) Default: True. */
use_face_step?: H.In<boolean>;
}>;
/**
* Select all vertices connected to the current selection
*
* bpy.ops.mesh.select_linked
*/
select_linked: H.Operator<{
/**
* Delimit selected region Default: {'SEAM'}.
* - `NORMAL`: Normal (Delimit by face directions)
* - `MATERIAL`: Material (Delimit by face material)
* - `SEAM`: Seam (Delimit by edge seams)
* - `SHARP`: Sharp (Delimit by sharp edges)
* - `UV`: UVs (Delimit by UV coordinates)
*/
delimit?: H.In<Set<"NORMAL" | "MATERIAL" | "SEAM" | "SHARP" | "UV">>;
}>;
/**
* (De)select all vertices linked to the edge under the mouse cursor
*
* bpy.ops.mesh.select_linked_pick
*/
select_linked_pick: H.Operator<{
/** Deselect Default: False. */
deselect?: H.In<boolean>;
/**
* Delimit selected region Default: {'SEAM'}.
* - `NORMAL`: Normal (Delimit by face directions)
* - `MATERIAL`: Material (Delimit by face material)
* - `SEAM`: Seam (Delimit by edge seams)
* - `SHARP`: Sharp (Delimit by sharp edges)
* - `UV`: UVs (Delimit by UV coordinates)
*/
delimit?: H.In<Set<"NORMAL" | "MATERIAL" | "SEAM" | "SHARP" | "UV">>;
/** Default: -1. */
object_index?: H.In<number>;
/** Default: -1. */
index?: H.In<number>;
}>;
/**
* Select loose geometry based on the selection mode
*
* bpy.ops.mesh.select_loose
*/
select_loose: H.Operator<{
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Select mesh items at mirrored locations
*
* bpy.ops.mesh.select_mirror
*/
select_mirror: H.Operator<{
/**
* Axis Default: {'X'}.
* - `X`: X
* - `Y`: Y
* - `Z`: Z
*/
axis?: H.In<Set<"X" | "Y" | "Z">>;
/** Extend the existing selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Change selection mode
*
* bpy.ops.mesh.select_mode
*/
select_mode: H.Operator<{
/** Extend Default: False. */
use_extend?: H.In<boolean>;
/** Expand Default: False. */
use_expand?: H.In<boolean>;
/**
* Type Default: 'VERT'.
* - `VERT`: Vertex (Vertex selection mode)
* - `EDGE`: Edge (Edge selection mode)
* - `FACE`: Face (Face selection mode)
*/
type?: H.In<"VERT" | "EDGE" | "FACE">;
/**
* Selection action to execute Default: 'TOGGLE'.
* - `DISABLE`: Disable (Disable the selection mode)
* - `ENABLE`: Enable (Enable the selection mode)
* - `TOGGLE`: Toggle (Toggle the selection mode)
*/
action?: H.In<"DISABLE" | "ENABLE" | "TOGGLE">;
}>;
/**
* Select more vertices, edges or faces connected to initial selection
*
* bpy.ops.mesh.select_more
*/
select_more: H.Operator<{
/** Connected faces (instead of edges) Default: True. */
use_face_step?: H.In<boolean>;
}>;
/**
* Select the next element (using selection order)
*
* bpy.ops.mesh.select_next_item
*/
select_next_item: H.Operator<{}>;
/**
* Select all non-manifold vertices or edges
*
* bpy.ops.mesh.select_non_manifold
*/
select_non_manifold: H.Operator<{
/** Extend the selection Default: True. */
extend?: H.In<boolean>;
/** Wire edges Default: True. */
use_wire?: H.In<boolean>;
/** Boundary edges Default: True. */
use_boundary?: H.In<boolean>;
/** Edges shared by more than two faces Default: True. */
use_multi_face?: H.In<boolean>;
/** Edges between faces pointing in alternate directions Default: True. */
use_non_contiguous?: H.In<boolean>;
/** Vertices connecting multiple face regions Default: True. */
use_verts?: H.In<boolean>;
}>;
/**
* Deselect every Nth element starting from the active vertex, edge or face
*
* bpy.ops.mesh.select_nth
*/
select_nth: H.Operator<{
/** Number of deselected elements in the repetitive sequence Default: 1. */
skip?: H.In<number>;
/** Number of selected elements in the repetitive sequence Default: 1. */
nth?: H.In<number>;
/** Offset from the starting point Default: 0. */
offset?: H.In<number>;
}>;
/**
* Select the previous element (using selection order)
*
* bpy.ops.mesh.select_prev_item
*/
select_prev_item: H.Operator<{}>;
/**
* Randomly select vertices
*
* bpy.ops.mesh.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 similar vertices, edges or faces by property types
*
* bpy.ops.mesh.select_similar
*/
select_similar: H.Operator<{
/** Type Default: 'VERT_NORMAL'. */
type?: H.In<E.MeshSelectSimilarType>;
/**
* Compare Default: 'EQUAL'.
* - `EQUAL`: Equal
* - `GREATER`: Greater
* - `LESS`: Less
*/
compare?: H.In<"EQUAL" | "GREATER" | "LESS">;
/** Threshold Default: 0.0. */
threshold?: H.In<number>;
}>;
/**
* Select similar face regions to the current selection
*
* bpy.ops.mesh.select_similar_region
*/
select_similar_region: H.Operator<{}>;
/**
* Select vertices without a group
*
* bpy.ops.mesh.select_ungrouped
*/
select_ungrouped: H.Operator<{
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Separate selected geometry into a new mesh
*
* bpy.ops.mesh.separate
*/
separate: H.Operator<{
/**
* Type Default: 'SELECTED'.
* - `SELECTED`: Selection
* - `MATERIAL`: By Material
* - `LOOSE`: By Loose Parts
*/
type?: H.In<"SELECTED" | "MATERIAL" | "LOOSE">;
}>;
/**
* Set the custom normals from the selected faces ones
*
* bpy.ops.mesh.set_normals_from_faces
*/
set_normals_from_faces: H.Operator<{
/** Do not set sharp edges to face Default: False. */
keep_sharp?: H.In<boolean>;
}>;
/**
* Set edge sharpness based on the angle between neighboring faces
*
* bpy.ops.mesh.set_sharpness_by_angle
*/
set_sharpness_by_angle: H.Operator<{
/** Angle Default: 0.523599. */
angle?: H.In<number>;
/** Add new sharp edges without clearing existing sharp edges Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Apply selected vertex locations to all other shape keys
*
* bpy.ops.mesh.shape_propagate_to_all
*/
shape_propagate_to_all: H.Operator<{}>;
/**
* Select shortest path between two selections
*
* bpy.ops.mesh.shortest_path_pick
*/
shortest_path_pick: H.Operator<{
/**
* The edge flag to tag when selecting the shortest path Default: 'SELECT'.
* - `SELECT`: Select
* - `SEAM`: Tag Seam
* - `SHARP`: Tag Sharp
* - `CREASE`: Tag Crease
* - `BEVEL`: Tag Bevel
* - `FREESTYLE`: Tag Freestyle Edge Mark
*/
edge_mode?: H.In<"SELECT" | "SEAM" | "SHARP" | "CREASE" | "BEVEL" | "FREESTYLE">;
/** Traverse connected faces (includes diagonals and edge-rings) Default: False. */
use_face_step?: H.In<boolean>;
/** Find the minimum number of steps, ignoring spatial distance Default: False. */
use_topology_distance?: H.In<boolean>;
/** Select all paths between the source/destination elements Default: False. */
use_fill?: H.In<boolean>;
/** Number of deselected elements in the repetitive sequence Default: 0. */
skip?: H.In<number>;
/** Number of selected elements in the repetitive sequence Default: 1. */
nth?: H.In<number>;
/** Offset from the starting point Default: 0. */
offset?: H.In<number>;
/** Default: -1. */
index?: H.In<number>;
}>;
/**
* Select shortest path between two vertices/edges/faces
*
* bpy.ops.mesh.shortest_path_select
*/
shortest_path_select: H.Operator<{
/**
* The edge flag to tag when selecting the shortest path Default: 'SELECT'.
* - `SELECT`: Select
* - `SEAM`: Tag Seam
* - `SHARP`: Tag Sharp
* - `CREASE`: Tag Crease
* - `BEVEL`: Tag Bevel
* - `FREESTYLE`: Tag Freestyle Edge Mark
*/
edge_mode?: H.In<"SELECT" | "SEAM" | "SHARP" | "CREASE" | "BEVEL" | "FREESTYLE">;
/** Traverse connected faces (includes diagonals and edge-rings) Default: False. */
use_face_step?: H.In<boolean>;
/** Find the minimum number of steps, ignoring spatial distance Default: False. */
use_topology_distance?: H.In<boolean>;
/** Select all paths between the source/destination elements Default: False. */
use_fill?: H.In<boolean>;
/** Number of deselected elements in the repetitive sequence Default: 0. */
skip?: H.In<number>;
/** Number of selected elements in the repetitive sequence Default: 1. */
nth?: H.In<number>;
/** Offset from the starting point Default: 0. */
offset?: H.In<number>;
}>;
/**
* Smooth custom normals based on adjacent vertex normals
*
* bpy.ops.mesh.smooth_normals
*/
smooth_normals: H.Operator<{
/** Specifies weight of smooth vs original normal Default: 0.5. */
factor?: H.In<number>;
}>;
/**
* Create a solid skin by extruding, compensating for sharp angles
*
* bpy.ops.mesh.solidify
*/
solidify: H.Operator<{
/** Thickness Default: 0.01. */
thickness?: H.In<number>;
}>;
/**
* The order of selected vertices/edges/faces is modified, based on a given method
*
* bpy.ops.mesh.sort_elements
*/
sort_elements: H.Operator<{
/** Type of reordering operation to apply Default: 'VIEW_ZAXIS'. */
type?: H.In<E.MeshSortElementsType>;
/**
* Which elements to affect (vertices, edges and/or faces) Default: {'VERT'}.
* - `VERT`: Vertices
* - `EDGE`: Edges
* - `FACE`: Faces
*/
elements?: H.In<Set<"VERT" | "EDGE" | "FACE">>;
/** Reverse the sorting effect Default: False. */
reverse?: H.In<boolean>;
/** Seed for random-based operations Default: 0. */
seed?: H.In<number>;
}>;
/**
* Space the vertices in a regular distribution on the loop
*
* bpy.ops.mesh.space_edge_loops_evenly
*/
space_edge_loops_evenly: H.Operator<{
/** Spacing effect factor Default: 1.0. */
factor?: H.In<number>;
/**
* Algorithm used for interpolation Default: 'CUBIC'.
* - `CUBIC`: Cubic (Natural cubic spline, smooth results)
* - `LINEAR`: Linear (Vertices are projected on existing edges)
*/
interpolation?: H.In<"CUBIC" | "LINEAR">;
/** Lock editing of the axis Default: (False, False, False). */
lock?: H.In<readonly boolean[]>;
}>;
/**
* Extrude selected vertices in a circle around the cursor in indicated viewport
*
* bpy.ops.mesh.spin
*/
spin: H.Operator<{
/** Steps Default: 12. */
steps?: H.In<number>;
/** Use Duplicates Default: False. */
dupli?: H.In<boolean>;
/** Rotation for each step Default: 1.5708. */
angle?: H.In<number>;
/** Merge first/last when the angle is a full revolution Default: True. */
use_auto_merge?: H.In<boolean>;
/** Flip Normals Default: False. */
use_normal_flip?: H.In<boolean>;
/** Center in global view space Default: (0.0, 0.0, 0.0). */
center?: H.In<M.VectorLike>;
/** Axis in global view space Default: (0.0, 0.0, 0.0). */
axis?: H.In<M.VectorLike>;
}>;
/**
* Split off selected geometry from connected unselected geometry
*
* bpy.ops.mesh.split
*/
split: H.Operator<{}>;
/**
* Split custom normals of selected vertices
*
* bpy.ops.mesh.split_normals
*/
split_normals: H.Operator<{}>;
/**
* Subdivide selected edges
*
* bpy.ops.mesh.subdivide
*/
subdivide: H.Operator<{
/** Number of Cuts Default: 1. */
number_cuts?: H.In<number>;
/** Smoothness factor Default: 0.0. */
smoothness?: H.In<number>;
/** When disabled, newly created faces are limited to 3 and 4 sided faces Default: True. */
ngon?: H.In<boolean>;
/**
* How to subdivide quad corners (anything other than Straight Cut will prevent n-gons) Default: 'STRAIGHT_CUT'.
* - `INNERVERT`: Inner Vert
* - `PATH`: Path
* - `STRAIGHT_CUT`: Straight Cut
* - `FAN`: Fan
*/
quadcorner?: H.In<"INNERVERT" | "PATH" | "STRAIGHT_CUT" | "FAN">;
/** Fractal randomness factor Default: 0.0. */
fractal?: H.In<number>;
/** Apply fractal displacement along normal only Default: 0.0. */
fractal_along_normal?: H.In<number>;
/** Seed for the random number generator Default: 0. */
seed?: H.In<number>;
}>;
/**
* Subdivide perpendicular edges to the selected edge-ring
*
* bpy.ops.mesh.subdivide_edgering
*/
subdivide_edgering: H.Operator<{
/** Number of Cuts Default: 10. */
number_cuts?: H.In<number>;
/**
* Interpolation method Default: 'PATH'.
* - `LINEAR`: Linear
* - `PATH`: Blend Path
* - `SURFACE`: Blend Surface
*/
interpolation?: H.In<"LINEAR" | "PATH" | "SURFACE">;
/** Smoothness factor Default: 1.0. */
smoothness?: H.In<number>;
/** How much intermediary new edges are shrunk/expanded Default: 0.0. */
profile_shape_factor?: H.In<number>;
/**
* Shape of the profile Default: 'SMOOTH'.
* - `SMOOTH`: Smooth (Smooth falloff)
* - `SPHERE`: Sphere (Spherical falloff)
* - `ROOT`: Root (Root falloff)
* - `INVERSE_SQUARE`: Inverse Square (Inverse Square falloff)
* - `SHARP`: Sharp (Sharp falloff)
* - `LINEAR`: Linear (Linear falloff)
*/
profile_shape?: H.In<"SMOOTH" | "SPHERE" | "ROOT" | "INVERSE_SQUARE" | "SHARP" | "LINEAR">;
}>;
/**
* Enforce symmetry (both form and topological) across an axis
*
* bpy.ops.mesh.symmetrize
*/
symmetrize: H.Operator<{
/**
* Which sides to copy from and to Default: 'NEGATIVE_X'.
* - `NEGATIVE_X`: -X to +X
* - `POSITIVE_X`: +X to -X
* - `NEGATIVE_Y`: -Y to +Y
* - `POSITIVE_Y`: +Y to -Y
* - `NEGATIVE_Z`: -Z to +Z
* - `POSITIVE_Z`: +Z to -Z
*/
direction?: H.In<"NEGATIVE_X" | "POSITIVE_X" | "NEGATIVE_Y" | "POSITIVE_Y" | "NEGATIVE_Z" | "POSITIVE_Z">;
/** Limit for snap middle vertices to the axis center Default: 0.0001. */
threshold?: H.In<number>;
}>;
/**
* Snap vertex pairs to their mirrored locations
*
* bpy.ops.mesh.symmetry_snap
*/
symmetry_snap: H.Operator<{
/**
* Which sides to copy from and to Default: 'NEGATIVE_X'.
* - `NEGATIVE_X`: -X to +X
* - `POSITIVE_X`: +X to -X
* - `NEGATIVE_Y`: -Y to +Y
* - `POSITIVE_Y`: +Y to -Y
* - `NEGATIVE_Z`: -Z to +Z
* - `POSITIVE_Z`: +Z to -Z
*/
direction?: H.In<"NEGATIVE_X" | "POSITIVE_X" | "NEGATIVE_Y" | "POSITIVE_Y" | "NEGATIVE_Z" | "POSITIVE_Z">;
/** Distance within which matching vertices are searched Default: 0.05. */
threshold?: H.In<number>;
/** Mix factor of the locations of the vertices Default: 0.5. */
factor?: H.In<number>;
/** Snap middle vertices to the axis center Default: True. */
use_center?: H.In<boolean>;
/** Use topology to find mirrored vertices instead of spatial proximity Default: False. */
use_topology?: H.In<boolean>;
}>;
/**
* Merge triangles into four sided polygons where possible
*
* bpy.ops.mesh.tris_convert_to_quads
*/
tris_convert_to_quads: H.Operator<{
/** Face angle limit Default: 0.698132. */
face_threshold?: H.In<number>;
/** Shape angle limit Default: 0.698132. */
shape_threshold?: H.In<number>;
/** How much to prioritize regular grids of quads as well as quads that touch existing quads Default: 0.0. */
topology_influence?: H.In<number>;
/** Compare UVs Default: False. */
uvs?: H.In<boolean>;
/** Compare Color Attributes Default: False. */
vcols?: H.In<boolean>;
/** Compare Seam Default: False. */
seam?: H.In<boolean>;
/** Compare Sharp Default: False. */
sharp?: H.In<boolean>;
/** Compare Materials Default: False. */
materials?: H.In<boolean>;
/** Only select remaining triangles that were not merged Default: False. */
deselect_joined?: H.In<boolean>;
}>;
/**
* Un-subdivide selected edges and faces
*
* bpy.ops.mesh.unsubdivide
*/
unsubdivide: H.Operator<{
/** Number of times to un-subdivide Default: 2. */
iterations?: H.In<number>;
}>;
/**
* Add UV map
*
* bpy.ops.mesh.uv_texture_add
*/
uv_texture_add: H.Operator<{}>;
/**
* Remove UV map
*
* bpy.ops.mesh.uv_texture_remove
*/
uv_texture_remove: H.Operator<{}>;
/**
* Flip direction of UV coordinates inside faces
*
* bpy.ops.mesh.uvs_reverse
*/
uvs_reverse: H.Operator<{}>;
/**
* Rotate UV coordinates inside faces
*
* bpy.ops.mesh.uvs_rotate
*/
uvs_rotate: H.Operator<{
/** Counter Clockwise Default: False. */
use_ccw?: H.In<boolean>;
}>;
/**
* Connect selected vertices of faces, splitting the face
*
* bpy.ops.mesh.vert_connect
*/
vert_connect: H.Operator<{}>;
/**
* Split concave faces by connecting vertices to make them convex
*
* bpy.ops.mesh.vert_connect_concave
*/
vert_connect_concave: H.Operator<{}>;
/**
* Split non-planar faces that exceed the angle threshold
*
* bpy.ops.mesh.vert_connect_nonplanar
*/
vert_connect_nonplanar: H.Operator<{
/** Angle limit Default: 0.0872665. */
angle_limit?: H.In<number>;
}>;
/**
* Connect vertices by their selection order, creating edges, splitting faces
*
* bpy.ops.mesh.vert_connect_path
*/
vert_connect_path: H.Operator<{}>;
/**
* Flatten angles of selected vertices
*
* bpy.ops.mesh.vertices_smooth
*/
vertices_smooth: H.Operator<{
/** Smoothing factor Default: 0.0. */
factor?: H.In<number>;
/** Number of times to smooth the mesh Default: 1. */
repeat?: H.In<number>;
/** Smooth along the X axis Default: True. */
xaxis?: H.In<boolean>;
/** Smooth along the Y axis Default: True. */
yaxis?: H.In<boolean>;
/** Smooth along the Z axis Default: True. */
zaxis?: H.In<boolean>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
}>;
/**
* Laplacian smooth of selected vertices
*
* bpy.ops.mesh.vertices_smooth_laplacian
*/
vertices_smooth_laplacian: H.Operator<{
/** Number of iterations to smooth the mesh Default: 1. */
repeat?: H.In<number>;
/** Lambda factor Default: 1.0. */
lambda_factor?: H.In<number>;
/** Lambda factor in border Default: 5e-05. */
lambda_border?: H.In<number>;
/** Smooth object along X axis Default: True. */
use_x?: H.In<boolean>;
/** Smooth object along Y axis Default: True. */
use_y?: H.In<boolean>;
/** Smooth object along Z axis Default: True. */
use_z?: H.In<boolean>;
/** Apply volume preservation after smooth Default: True. */
preserve_volume?: H.In<boolean>;
}>;
/**
* Create a solid wireframe from faces
*
* bpy.ops.mesh.wireframe
*/
wireframe: H.Operator<{
/** Inset face boundaries Default: True. */
use_boundary?: H.In<boolean>;
/** Scale the offset to give more even thickness Default: True. */
use_even_offset?: H.In<boolean>;
/** Scale the offset by surrounding geometry Default: False. */
use_relative_offset?: H.In<boolean>;
/** Remove original faces Default: True. */
use_replace?: H.In<boolean>;
/** Thickness Default: 0.01. */
thickness?: H.In<number>;
/** Offset Default: 0.01. */
offset?: H.In<number>;
/** Crease hub edges for an improved subdivision surface Default: False. */
use_crease?: H.In<boolean>;
/** Crease Weight Default: 0.01. */
crease_weight?: H.In<number>;
}>;
}