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.pose */
export interface Ops {
/**
* Apply the current pose as the new rest pose
*
* bpy.ops.pose.armature_apply
*/
armature_apply: H.Operator<{
/** Only apply the selected bones (with propagation to children) Default: False. */
selected?: H.In<boolean>;
}>;
/**
* Automatically renames the selected bones according to which side of the target axis they fall on
*
* bpy.ops.pose.autoside_names
*/
autoside_names: H.Operator<{
/**
* Axis to tag names with Default: 'XAXIS'.
* - `XAXIS`: X-Axis (Left/Right)
* - `YAXIS`: Y-Axis (Front/Back)
* - `ZAXIS`: Z-Axis (Top/Bottom)
*/
axis?: H.In<"XAXIS" | "YAXIS" | "ZAXIS">;
}>;
/**
* Blend from current position to previous or next keyframe
*
* bpy.ops.pose.blend_to_neighbor
*/
blend_to_neighbor: H.Operator<{
/** Weighting factor for which keyframe is favored more Default: 0.5. */
factor?: H.In<number>;
/** Frame number of keyframe immediately before the current frame Default: 0. */
prev_frame?: H.In<number>;
/** Frame number of keyframe immediately after the current frame Default: 0. */
next_frame?: H.In<number>;
/**
* Set of properties that are affected Default: 'ALL'.
* - `ALL`: All Properties (All properties, including transforms, bendy bone shape, and custom properties)
* - `LOC`: Location (Location only)
* - `ROT`: Rotation (Rotation only)
* - `SIZE`: Scale (Scale only)
* - `BBONE`: Bendy Bone (Bendy Bone shape properties)
* - `CUSTOM`: Custom Properties (Custom properties)
*/
channels?: H.In<"ALL" | "LOC" | "ROT" | "SIZE" | "BBONE" | "CUSTOM">;
/**
* Transform axis to restrict effects to Default: 'FREE'.
* - `FREE`: Free (All axes are affected)
* - `X`: X (Only X-axis transforms are affected)
* - `Y`: Y (Only Y-axis transforms are affected)
* - `Z`: Z (Only Z-axis transforms are affected)
*/
axis_lock?: H.In<"FREE" | "X" | "Y" | "Z">;
}>;
/**
* Make the current pose more similar to, or further away from, the rest pose
*
* bpy.ops.pose.blend_with_rest
*/
blend_with_rest: H.Operator<{
/** Weighting factor for which keyframe is favored more Default: 0.5. */
factor?: H.In<number>;
/** Frame number of keyframe immediately before the current frame Default: 0. */
prev_frame?: H.In<number>;
/** Frame number of keyframe immediately after the current frame Default: 0. */
next_frame?: H.In<number>;
/**
* Set of properties that are affected Default: 'ALL'.
* - `ALL`: All Properties (All properties, including transforms, bendy bone shape, and custom properties)
* - `LOC`: Location (Location only)
* - `ROT`: Rotation (Rotation only)
* - `SIZE`: Scale (Scale only)
* - `BBONE`: Bendy Bone (Bendy Bone shape properties)
* - `CUSTOM`: Custom Properties (Custom properties)
*/
channels?: H.In<"ALL" | "LOC" | "ROT" | "SIZE" | "BBONE" | "CUSTOM">;
/**
* Transform axis to restrict effects to Default: 'FREE'.
* - `FREE`: Free (All axes are affected)
* - `X`: X (Only X-axis transforms are affected)
* - `Y`: Y (Only Y-axis transforms are affected)
* - `Z`: Z (Only Z-axis transforms are affected)
*/
axis_lock?: H.In<"FREE" | "X" | "Y" | "Z">;
}>;
/**
* Create a suitable breakdown pose on the current frame
*
* bpy.ops.pose.breakdown
*/
breakdown: H.Operator<{
/** Weighting factor for which keyframe is favored more Default: 0.5. */
factor?: H.In<number>;
/** Frame number of keyframe immediately before the current frame Default: 0. */
prev_frame?: H.In<number>;
/** Frame number of keyframe immediately after the current frame Default: 0. */
next_frame?: H.In<number>;
/**
* Set of properties that are affected Default: 'ALL'.
* - `ALL`: All Properties (All properties, including transforms, bendy bone shape, and custom properties)
* - `LOC`: Location (Location only)
* - `ROT`: Rotation (Rotation only)
* - `SIZE`: Scale (Scale only)
* - `BBONE`: Bendy Bone (Bendy Bone shape properties)
* - `CUSTOM`: Custom Properties (Custom properties)
*/
channels?: H.In<"ALL" | "LOC" | "ROT" | "SIZE" | "BBONE" | "CUSTOM">;
/**
* Transform axis to restrict effects to Default: 'FREE'.
* - `FREE`: Free (All axes are affected)
* - `X`: X (Only X-axis transforms are affected)
* - `Y`: Y (Only Y-axis transforms are affected)
* - `Z`: Z (Only Z-axis transforms are affected)
*/
axis_lock?: H.In<"FREE" | "X" | "Y" | "Z">;
}>;
/**
* Add a constraint to the active bone
*
* bpy.ops.pose.constraint_add
*/
constraint_add: H.Operator<{
/** Type Default: 'CHILD_OF'. */
type?: H.In<E.ConstraintType>;
}>;
/**
* Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
*
* bpy.ops.pose.constraint_add_with_targets
*/
constraint_add_with_targets: H.Operator<{
/** Type Default: 'CHILD_OF'. */
type?: H.In<E.ConstraintType>;
}>;
/**
* Clear all constraints from the selected bones
*
* bpy.ops.pose.constraints_clear
*/
constraints_clear: H.Operator<{}>;
/**
* Copy constraints to other selected bones
*
* bpy.ops.pose.constraints_copy
*/
constraints_copy: H.Operator<{}>;
/**
* Copy the current pose of the selected bones to the internal clipboard
*
* bpy.ops.pose.copy
*/
copy: H.Operator<{}>;
/**
* Flips (and corrects) the axis suffixes of the names of selected bones
*
* bpy.ops.pose.flip_names
*/
flip_names: H.Operator<{
/**
* Try to remove right-most dot-number from flipped names.
* Warning: May result in incoherent naming in some cases Default: False.
*/
do_strip_numbers?: H.In<boolean>;
}>;
/**
* Tag selected bones to not be visible in Pose Mode
*
* bpy.ops.pose.hide
*/
hide: H.Operator<{
/** Unselected Default: False. */
unselected?: H.In<boolean>;
}>;
/**
* Add an IK Constraint to the active Bone. The target can be a selected bone or object
*
* bpy.ops.pose.ik_add
*/
ik_add: H.Operator<{
/** Assign IK Constraint with targets derived from the select bones/objects Default: True. */
with_targets?: H.In<boolean>;
}>;
/**
* Remove all IK Constraints from selected bones
*
* bpy.ops.pose.ik_clear
*/
ik_clear: H.Operator<{}>;
/**
* Reset locations of selected bones to their default values
*
* bpy.ops.pose.loc_clear
*/
loc_clear: H.Operator<{}>;
/**
* Paste the stored pose on to the current pose
*
* bpy.ops.pose.paste
*/
paste: H.Operator<{
/** Paste the stored pose flipped on to current pose Default: False. */
flipped?: H.In<boolean>;
/** Only paste the stored pose on to selected bones in the current pose Default: False. */
selected_mask?: H.In<boolean>;
}>;
/**
* Calculate paths for the selected bones
*
* bpy.ops.pose.paths_calculate
*/
paths_calculate: H.Operator<{
/**
* Display Type Default: 'RANGE'.
* - `CURRENT_FRAME`: Around Frame (Display Paths of poses within a fixed number of frames around the current frame)
* - `RANGE`: In Range (Display Paths of poses within specified range)
*/
display_type?: H.In<"CURRENT_FRAME" | "RANGE">;
/**
* Computation Range Default: 'SCENE'.
* - `KEYS_ALL`: All Keys (From the first keyframe to the last)
* - `KEYS_SELECTED`: Selected Keys (From the first selected keyframe to the last)
* - `SCENE`: Scene Frame Range (The entire Scene / Preview range)
* - `MANUAL`: Manual Range (Manually determined frame range)
*/
range?: H.In<"KEYS_ALL" | "KEYS_SELECTED" | "SCENE" | "MANUAL">;
/**
* Which point on the bones is used when calculating paths Default: 'HEADS'.
* - `HEADS`: Heads (Calculate bone paths from heads)
* - `TAILS`: Tails (Calculate bone paths from tails)
*/
bake_location?: H.In<"HEADS" | "TAILS">;
}>;
/**
* (undocumented operator)
*
* bpy.ops.pose.paths_clear
*/
paths_clear: H.Operator<{
/** Only clear motion paths of selected bones Default: False. */
only_selected?: H.In<boolean>;
}>;
/**
* Update frame range for motion paths from the Scene's current frame range
*
* bpy.ops.pose.paths_range_update
*/
paths_range_update: H.Operator<{}>;
/**
* Recalculate paths for bones that already have them
*
* bpy.ops.pose.paths_update
*/
paths_update: H.Operator<{}>;
/**
* Copy selected aspects of the current pose to subsequent poses already keyframed
*
* bpy.ops.pose.propagate
*/
propagate: H.Operator<{
/**
* Method used to determine when to stop propagating pose to keyframes Default: 'NEXT_KEY'.
* - `NEXT_KEY`: To Next Keyframe (Propagate pose to first keyframe following the current frame only)
* - `LAST_KEY`: To Last Keyframe (Propagate pose to the last keyframe only (i.e. making action cyclic))
* - `BEFORE_FRAME`: Before Frame (Propagate pose to all keyframes between current frame and 'Frame' property)
* - `BEFORE_END`: Before Last Keyframe (Propagate pose to all keyframes from current frame until no more are found)
* - `SELECTED_KEYS`: On Selected Keyframes (Propagate pose to all selected keyframes)
* - `SELECTED_MARKERS`: On Selected Markers (Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame)
*/
mode?: H.In<"NEXT_KEY" | "LAST_KEY" | "BEFORE_FRAME" | "BEFORE_END" | "SELECTED_KEYS" | "SELECTED_MARKERS">;
/** Frame to stop propagating frames to (for 'Before Frame' mode) Default: 250.0. */
end_frame?: H.In<number>;
}>;
/**
* Exaggerate the current pose in regards to the breakdown pose
*
* bpy.ops.pose.push
*/
push: H.Operator<{
/** Weighting factor for which keyframe is favored more Default: 0.5. */
factor?: H.In<number>;
/** Frame number of keyframe immediately before the current frame Default: 0. */
prev_frame?: H.In<number>;
/** Frame number of keyframe immediately after the current frame Default: 0. */
next_frame?: H.In<number>;
/**
* Set of properties that are affected Default: 'ALL'.
* - `ALL`: All Properties (All properties, including transforms, bendy bone shape, and custom properties)
* - `LOC`: Location (Location only)
* - `ROT`: Rotation (Rotation only)
* - `SIZE`: Scale (Scale only)
* - `BBONE`: Bendy Bone (Bendy Bone shape properties)
* - `CUSTOM`: Custom Properties (Custom properties)
*/
channels?: H.In<"ALL" | "LOC" | "ROT" | "SIZE" | "BBONE" | "CUSTOM">;
/**
* Transform axis to restrict effects to Default: 'FREE'.
* - `FREE`: Free (All axes are affected)
* - `X`: X (Only X-axis transforms are affected)
* - `Y`: Y (Only Y-axis transforms are affected)
* - `Z`: Z (Only Z-axis transforms are affected)
*/
axis_lock?: H.In<"FREE" | "X" | "Y" | "Z">;
}>;
/**
* Flip quaternion values to achieve desired rotations, while maintaining the same orientations
*
* bpy.ops.pose.quaternions_flip
*/
quaternions_flip: H.Operator<{}>;
/**
* Make the current pose more similar to its breakdown pose
*
* bpy.ops.pose.relax
*/
relax: H.Operator<{
/** Weighting factor for which keyframe is favored more Default: 0.5. */
factor?: H.In<number>;
/** Frame number of keyframe immediately before the current frame Default: 0. */
prev_frame?: H.In<number>;
/** Frame number of keyframe immediately after the current frame Default: 0. */
next_frame?: H.In<number>;
/**
* Set of properties that are affected Default: 'ALL'.
* - `ALL`: All Properties (All properties, including transforms, bendy bone shape, and custom properties)
* - `LOC`: Location (Location only)
* - `ROT`: Rotation (Rotation only)
* - `SIZE`: Scale (Scale only)
* - `BBONE`: Bendy Bone (Bendy Bone shape properties)
* - `CUSTOM`: Custom Properties (Custom properties)
*/
channels?: H.In<"ALL" | "LOC" | "ROT" | "SIZE" | "BBONE" | "CUSTOM">;
/**
* Transform axis to restrict effects to Default: 'FREE'.
* - `FREE`: Free (All axes are affected)
* - `X`: X (Only X-axis transforms are affected)
* - `Y`: Y (Only Y-axis transforms are affected)
* - `Z`: Z (Only Z-axis transforms are affected)
*/
axis_lock?: H.In<"FREE" | "X" | "Y" | "Z">;
}>;
/**
* Reveal all bones hidden in Pose Mode
*
* bpy.ops.pose.reveal
*/
reveal: H.Operator<{
/** Select Default: True. */
select?: H.In<boolean>;
}>;
/**
* Reset rotations of selected bones to their default values
*
* bpy.ops.pose.rot_clear
*/
rot_clear: H.Operator<{}>;
/**
* Set the rotation representation used by selected bones
*
* bpy.ops.pose.rotation_mode_set
*/
rotation_mode_set: H.Operator<{
/** Rotation Mode Default: 'QUATERNION'. */
type?: H.In<E.ObjectRotationMode>;
}>;
/**
* Reset scaling of selected bones to their default values
*
* bpy.ops.pose.scale_clear
*/
scale_clear: H.Operator<{}>;
/**
* Toggle selection status of all bones
*
* bpy.ops.pose.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 bones used as targets for the currently selected bones
*
* bpy.ops.pose.select_constraint_target
*/
select_constraint_target: H.Operator<{}>;
/**
* Select all visible bones grouped by similar properties
*
* bpy.ops.pose.select_grouped
*/
select_grouped: H.Operator<{
/** Extend selection instead of deselecting everything first Default: False. */
extend?: H.In<boolean>;
/** Type Default: 'COLLECTION'. */
type?: H.In<E.PoseSelectGroupedType>;
}>;
/**
* Select immediate parent/children of selected bones
*
* bpy.ops.pose.select_hierarchy
*/
select_hierarchy: H.Operator<{
/**
* Direction Default: 'PARENT'.
* - `PARENT`: Select Parent
* - `CHILD`: Select Child
*/
direction?: H.In<"PARENT" | "CHILD">;
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Select all bones linked by connected parent/child relationships from the current selection
*
* bpy.ops.pose.select_linked
*/
select_linked: H.Operator<{}>;
/**
* Select bones linked by connected parent/child relationships under the mouse cursor
*
* bpy.ops.pose.select_linked_pick
*/
select_linked_pick: H.Operator<{
/** Extend selection instead of deselecting everything first Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Mirror the bone selection
*
* bpy.ops.pose.select_mirror
*/
select_mirror: H.Operator<{
/** Only operate on the active bone Default: False. */
only_active?: H.In<boolean>;
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Select bones that are parents of the currently selected bones
*
* bpy.ops.pose.select_parent
*/
select_parent: H.Operator<{}>;
/**
* Create a new empty Selection Set
*
* bpy.ops.pose.selection_set_add
*/
selection_set_add: H.Operator<{}>;
/**
* Create a new Selection Set with the currently selected bones
*
* bpy.ops.pose.selection_set_add_and_assign
*/
selection_set_add_and_assign: H.Operator<{}>;
/**
* Add selected bones to Selection Set
*
* bpy.ops.pose.selection_set_assign
*/
selection_set_assign: H.Operator<{}>;
/**
* Copy the selected Selection Set(s) to the clipboard
*
* bpy.ops.pose.selection_set_copy
*/
selection_set_copy: H.Operator<{}>;
/**
* Remove all Selection Sets from this Armature
*
* bpy.ops.pose.selection_set_delete_all
*/
selection_set_delete_all: H.Operator<{}>;
/**
* Remove Selection Set bones from current selection
*
* bpy.ops.pose.selection_set_deselect
*/
selection_set_deselect: H.Operator<{}>;
/**
* Move the active Selection Set up/down the list of sets
*
* bpy.ops.pose.selection_set_move
*/
selection_set_move: H.Operator<{
/**
* Direction to move the active Selection Set: UP (default) or DOWN Default: 'UP'.
* - `UP`: Up
* - `DOWN`: Down
*/
direction?: H.In<"UP" | "DOWN">;
}>;
/**
* Add new Selection Set(s) from the clipboard
*
* bpy.ops.pose.selection_set_paste
*/
selection_set_paste: H.Operator<{}>;
/**
* Remove a Selection Set from this Armature
*
* bpy.ops.pose.selection_set_remove
*/
selection_set_remove: H.Operator<{}>;
/**
* Remove the selected bones from all Selection Sets
*
* bpy.ops.pose.selection_set_remove_bones
*/
selection_set_remove_bones: H.Operator<{}>;
/**
* Select the bones from this Selection Set
*
* bpy.ops.pose.selection_set_select
*/
selection_set_select: H.Operator<{
/** Which Selection Set to select; -1 uses the active Selection Set Default: -1. */
selection_set_index?: H.In<number>;
}>;
/**
* Remove selected bones from Selection Set
*
* bpy.ops.pose.selection_set_unassign
*/
selection_set_unassign: H.Operator<{}>;
/**
* Reset location, rotation, and scaling of selected bones to their default values
*
* bpy.ops.pose.transforms_clear
*/
transforms_clear: H.Operator<{}>;
/**
* Reset pose bone transforms to keyframed state
*
* bpy.ops.pose.user_transforms_clear
*/
user_transforms_clear: H.Operator<{
/** Only visible/selected bones Default: True. */
only_selected?: H.In<boolean>;
}>;
/**
* Apply final constrained position of pose bones to their transform
*
* bpy.ops.pose.visual_transform_apply
*/
visual_transform_apply: H.Operator<{}>;
}