fake-bpy-module 20240518__py3-none-any.whl → 20240520__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/action/__init__.pyi
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.ops.transform
|
|
3
4
|
import bpy.types
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
8
|
|
|
7
9
|
def bake_keys(
|
|
8
10
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -142,7 +144,7 @@ def easing_type(
|
|
|
142
144
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
143
145
|
execution_context: str | int | None = None,
|
|
144
146
|
undo: bool | None = None,
|
|
145
|
-
type: str |
|
|
147
|
+
type: str | None = "AUTO",
|
|
146
148
|
):
|
|
147
149
|
"""Set easing type for the F-Curve segments starting from the selected keyframes
|
|
148
150
|
|
|
@@ -150,7 +152,7 @@ def easing_type(
|
|
|
150
152
|
:type execution_context: str | int | None
|
|
151
153
|
:type undo: bool | None
|
|
152
154
|
:param type: Type
|
|
153
|
-
:type type: str |
|
|
155
|
+
:type type: str | None
|
|
154
156
|
"""
|
|
155
157
|
|
|
156
158
|
...
|
|
@@ -159,7 +161,7 @@ def extrapolation_type(
|
|
|
159
161
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
160
162
|
execution_context: str | int | None = None,
|
|
161
163
|
undo: bool | None = None,
|
|
162
|
-
type:
|
|
164
|
+
type: str | None = "CONSTANT",
|
|
163
165
|
):
|
|
164
166
|
"""Set extrapolation mode for selected F-Curves
|
|
165
167
|
|
|
@@ -179,7 +181,7 @@ def extrapolation_type(
|
|
|
179
181
|
|
|
180
182
|
CLEAR_CYCLIC
|
|
181
183
|
Clear Cyclic (F-Modifier) -- Remove Cycles F-Modifier if not needed anymore.
|
|
182
|
-
:type type:
|
|
184
|
+
:type type: str | None
|
|
183
185
|
"""
|
|
184
186
|
|
|
185
187
|
...
|
|
@@ -202,7 +204,7 @@ def handle_type(
|
|
|
202
204
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
203
205
|
execution_context: str | int | None = None,
|
|
204
206
|
undo: bool | None = None,
|
|
205
|
-
type: str |
|
|
207
|
+
type: str | None = "FREE",
|
|
206
208
|
):
|
|
207
209
|
"""Set type of handle for selected keyframes
|
|
208
210
|
|
|
@@ -210,7 +212,7 @@ def handle_type(
|
|
|
210
212
|
:type execution_context: str | int | None
|
|
211
213
|
:type undo: bool | None
|
|
212
214
|
:param type: Type
|
|
213
|
-
:type type: str |
|
|
215
|
+
:type type: str | None
|
|
214
216
|
"""
|
|
215
217
|
|
|
216
218
|
...
|
|
@@ -219,7 +221,7 @@ def interpolation_type(
|
|
|
219
221
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
220
222
|
execution_context: str | int | None = None,
|
|
221
223
|
undo: bool | None = None,
|
|
222
|
-
type: str |
|
|
224
|
+
type: str | None = "CONSTANT",
|
|
223
225
|
):
|
|
224
226
|
"""Set interpolation mode for the F-Curve segments starting from the selected keyframes
|
|
225
227
|
|
|
@@ -227,7 +229,7 @@ def interpolation_type(
|
|
|
227
229
|
:type execution_context: str | int | None
|
|
228
230
|
:type undo: bool | None
|
|
229
231
|
:param type: Type
|
|
230
|
-
:type type: str |
|
|
232
|
+
:type type: str | None
|
|
231
233
|
"""
|
|
232
234
|
|
|
233
235
|
...
|
|
@@ -236,7 +238,7 @@ def keyframe_insert(
|
|
|
236
238
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
237
239
|
execution_context: str | int | None = None,
|
|
238
240
|
undo: bool | None = None,
|
|
239
|
-
type:
|
|
241
|
+
type: str | None = "ALL",
|
|
240
242
|
):
|
|
241
243
|
"""Insert keyframes for the specified channels
|
|
242
244
|
|
|
@@ -244,7 +246,7 @@ def keyframe_insert(
|
|
|
244
246
|
:type execution_context: str | int | None
|
|
245
247
|
:type undo: bool | None
|
|
246
248
|
:param type: Type
|
|
247
|
-
:type type:
|
|
249
|
+
:type type: str | None
|
|
248
250
|
"""
|
|
249
251
|
|
|
250
252
|
...
|
|
@@ -253,7 +255,7 @@ def keyframe_type(
|
|
|
253
255
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
254
256
|
execution_context: str | int | None = None,
|
|
255
257
|
undo: bool | None = None,
|
|
256
|
-
type: str |
|
|
258
|
+
type: str | None = "KEYFRAME",
|
|
257
259
|
):
|
|
258
260
|
"""Set type of keyframe for the selected keyframes
|
|
259
261
|
|
|
@@ -261,7 +263,7 @@ def keyframe_type(
|
|
|
261
263
|
:type execution_context: str | int | None
|
|
262
264
|
:type undo: bool | None
|
|
263
265
|
:param type: Type
|
|
264
|
-
:type type: str |
|
|
266
|
+
:type type: str | None
|
|
265
267
|
"""
|
|
266
268
|
|
|
267
269
|
...
|
|
@@ -312,7 +314,7 @@ def mirror(
|
|
|
312
314
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
313
315
|
execution_context: str | int | None = None,
|
|
314
316
|
undo: bool | None = None,
|
|
315
|
-
type:
|
|
317
|
+
type: str | None = "CFRA",
|
|
316
318
|
):
|
|
317
319
|
"""Flip selected keyframes over the selected mirror line
|
|
318
320
|
|
|
@@ -329,7 +331,7 @@ def mirror(
|
|
|
329
331
|
|
|
330
332
|
MARKER
|
|
331
333
|
By Times Over First Selected Marker -- Flip times of selected keyframes using the first selected marker as the reference point.
|
|
332
|
-
:type type:
|
|
334
|
+
:type type: str | None
|
|
333
335
|
"""
|
|
334
336
|
|
|
335
337
|
...
|
|
@@ -352,8 +354,8 @@ def paste(
|
|
|
352
354
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
353
355
|
execution_context: str | int | None = None,
|
|
354
356
|
undo: bool | None = None,
|
|
355
|
-
offset: str |
|
|
356
|
-
merge: str |
|
|
357
|
+
offset: str | None = "START",
|
|
358
|
+
merge: str | None = "MIX",
|
|
357
359
|
flipped: bool | typing.Any | None = False,
|
|
358
360
|
):
|
|
359
361
|
"""Paste keyframes from the internal clipboard for the selected channels, starting on the current frame
|
|
@@ -362,9 +364,9 @@ def paste(
|
|
|
362
364
|
:type execution_context: str | int | None
|
|
363
365
|
:type undo: bool | None
|
|
364
366
|
:param offset: Offset, Paste time offset of keys
|
|
365
|
-
:type offset: str |
|
|
367
|
+
:type offset: str | None
|
|
366
368
|
:param merge: Type, Method of merging pasted keys and existing
|
|
367
|
-
:type merge: str |
|
|
369
|
+
:type merge: str | None
|
|
368
370
|
:param flipped: Flipped, Paste keyframes from mirrored bones if they exist
|
|
369
371
|
:type flipped: bool | typing.Any | None
|
|
370
372
|
"""
|
|
@@ -403,7 +405,7 @@ def select_all(
|
|
|
403
405
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
404
406
|
execution_context: str | int | None = None,
|
|
405
407
|
undo: bool | None = None,
|
|
406
|
-
action:
|
|
408
|
+
action: str | None = "TOGGLE",
|
|
407
409
|
):
|
|
408
410
|
"""Toggle selection of all keyframes
|
|
409
411
|
|
|
@@ -423,7 +425,7 @@ def select_all(
|
|
|
423
425
|
|
|
424
426
|
INVERT
|
|
425
427
|
Invert -- Invert selection of all elements.
|
|
426
|
-
:type action:
|
|
428
|
+
:type action: str | None
|
|
427
429
|
"""
|
|
428
430
|
|
|
429
431
|
...
|
|
@@ -438,7 +440,7 @@ def select_box(
|
|
|
438
440
|
ymin: typing.Any | None = 0,
|
|
439
441
|
ymax: typing.Any | None = 0,
|
|
440
442
|
wait_for_input: bool | typing.Any | None = True,
|
|
441
|
-
mode:
|
|
443
|
+
mode: str | None = "SET",
|
|
442
444
|
tweak: bool | typing.Any | None = False,
|
|
443
445
|
):
|
|
444
446
|
"""Select all keyframes within the specified region
|
|
@@ -468,7 +470,7 @@ def select_box(
|
|
|
468
470
|
|
|
469
471
|
SUB
|
|
470
472
|
Subtract -- Subtract existing selection.
|
|
471
|
-
:type mode:
|
|
473
|
+
:type mode: str | None
|
|
472
474
|
:param tweak: Tweak, Operator has been activated using a click-drag event
|
|
473
475
|
:type tweak: bool | typing.Any | None
|
|
474
476
|
"""
|
|
@@ -483,7 +485,7 @@ def select_circle(
|
|
|
483
485
|
y: typing.Any | None = 0,
|
|
484
486
|
radius: typing.Any | None = 25,
|
|
485
487
|
wait_for_input: bool | typing.Any | None = True,
|
|
486
|
-
mode:
|
|
488
|
+
mode: str | None = "SET",
|
|
487
489
|
):
|
|
488
490
|
"""Select keyframe points using circle selection
|
|
489
491
|
|
|
@@ -508,7 +510,7 @@ def select_circle(
|
|
|
508
510
|
|
|
509
511
|
SUB
|
|
510
512
|
Subtract -- Subtract existing selection.
|
|
511
|
-
:type mode:
|
|
513
|
+
:type mode: str | None
|
|
512
514
|
"""
|
|
513
515
|
|
|
514
516
|
...
|
|
@@ -517,7 +519,7 @@ def select_column(
|
|
|
517
519
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
518
520
|
execution_context: str | int | None = None,
|
|
519
521
|
undo: bool | None = None,
|
|
520
|
-
mode:
|
|
522
|
+
mode: str | None = "KEYS",
|
|
521
523
|
):
|
|
522
524
|
"""Select all keyframes on the specified frame(s)
|
|
523
525
|
|
|
@@ -525,7 +527,7 @@ def select_column(
|
|
|
525
527
|
:type execution_context: str | int | None
|
|
526
528
|
:type undo: bool | None
|
|
527
529
|
:param mode: Mode
|
|
528
|
-
:type mode:
|
|
530
|
+
:type mode: str | None
|
|
529
531
|
"""
|
|
530
532
|
|
|
531
533
|
...
|
|
@@ -535,7 +537,7 @@ def select_lasso(
|
|
|
535
537
|
execution_context: str | int | None = None,
|
|
536
538
|
undo: bool | None = None,
|
|
537
539
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
538
|
-
mode:
|
|
540
|
+
mode: str | None = "SET",
|
|
539
541
|
):
|
|
540
542
|
"""Select keyframe points using lasso selection
|
|
541
543
|
|
|
@@ -554,7 +556,7 @@ def select_lasso(
|
|
|
554
556
|
|
|
555
557
|
SUB
|
|
556
558
|
Subtract -- Subtract existing selection.
|
|
557
|
-
:type mode:
|
|
559
|
+
:type mode: str | None
|
|
558
560
|
"""
|
|
559
561
|
|
|
560
562
|
...
|
|
@@ -563,7 +565,7 @@ def select_leftright(
|
|
|
563
565
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
564
566
|
execution_context: str | int | None = None,
|
|
565
567
|
undo: bool | None = None,
|
|
566
|
-
mode:
|
|
568
|
+
mode: str | None = "CHECK",
|
|
567
569
|
extend: bool | typing.Any | None = False,
|
|
568
570
|
):
|
|
569
571
|
"""Select keyframes to the left or the right of the current frame
|
|
@@ -572,7 +574,7 @@ def select_leftright(
|
|
|
572
574
|
:type execution_context: str | int | None
|
|
573
575
|
:type undo: bool | None
|
|
574
576
|
:param mode: Mode
|
|
575
|
-
:type mode:
|
|
577
|
+
:type mode: str | None
|
|
576
578
|
:param extend: Extend Select
|
|
577
579
|
:type extend: bool | typing.Any | None
|
|
578
580
|
"""
|
|
@@ -625,7 +627,7 @@ def snap(
|
|
|
625
627
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
626
628
|
execution_context: str | int | None = None,
|
|
627
629
|
undo: bool | None = None,
|
|
628
|
-
type:
|
|
630
|
+
type: str | None = "CFRA",
|
|
629
631
|
):
|
|
630
632
|
"""Snap selected keyframes to the times specified
|
|
631
633
|
|
|
@@ -645,7 +647,7 @@ def snap(
|
|
|
645
647
|
|
|
646
648
|
NEAREST_MARKER
|
|
647
649
|
Selection to Nearest Marker -- Snap selected keyframes to the nearest marker.
|
|
648
|
-
:type type:
|
|
650
|
+
:type type: str | None
|
|
649
651
|
"""
|
|
650
652
|
|
|
651
653
|
...
|
bpy/ops/anim/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def binding_unassign_object(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -81,7 +83,7 @@ def channels_bake(
|
|
|
81
83
|
range: typing.Any | None = (0, 0),
|
|
82
84
|
step: typing.Any | None = 1.0,
|
|
83
85
|
remove_outside_range: bool | typing.Any | None = False,
|
|
84
|
-
interpolation_type:
|
|
86
|
+
interpolation_type: str | None = "BEZIER",
|
|
85
87
|
bake_modifiers: bool | typing.Any | None = True,
|
|
86
88
|
):
|
|
87
89
|
"""Create keyframes following the current shape of F-Curves of selected channels
|
|
@@ -105,7 +107,7 @@ def channels_bake(
|
|
|
105
107
|
|
|
106
108
|
CONST
|
|
107
109
|
Constant -- New keys will be constant.
|
|
108
|
-
:type interpolation_type:
|
|
110
|
+
:type interpolation_type: str | None
|
|
109
111
|
:param bake_modifiers: Bake Modifiers, Bake Modifiers into keyframes and delete them after
|
|
110
112
|
:type bake_modifiers: bool | typing.Any | None
|
|
111
113
|
"""
|
|
@@ -184,8 +186,8 @@ def channels_editable_toggle(
|
|
|
184
186
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
185
187
|
execution_context: str | int | None = None,
|
|
186
188
|
undo: bool | None = None,
|
|
187
|
-
mode:
|
|
188
|
-
type:
|
|
189
|
+
mode: str | None = "TOGGLE",
|
|
190
|
+
type: str | None = "PROTECT",
|
|
189
191
|
):
|
|
190
192
|
"""Toggle editability of selected channels
|
|
191
193
|
|
|
@@ -193,9 +195,9 @@ def channels_editable_toggle(
|
|
|
193
195
|
:type execution_context: str | int | None
|
|
194
196
|
:type undo: bool | None
|
|
195
197
|
:param mode: Mode
|
|
196
|
-
:type mode:
|
|
198
|
+
:type mode: str | None
|
|
197
199
|
:param type: Type
|
|
198
|
-
:type type:
|
|
200
|
+
:type type: str | None
|
|
199
201
|
"""
|
|
200
202
|
|
|
201
203
|
...
|
|
@@ -252,7 +254,7 @@ def channels_move(
|
|
|
252
254
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
253
255
|
execution_context: str | int | None = None,
|
|
254
256
|
undo: bool | None = None,
|
|
255
|
-
direction:
|
|
257
|
+
direction: str | None = "DOWN",
|
|
256
258
|
):
|
|
257
259
|
"""Rearrange selected animation channels
|
|
258
260
|
|
|
@@ -260,7 +262,7 @@ def channels_move(
|
|
|
260
262
|
:type execution_context: str | int | None
|
|
261
263
|
:type undo: bool | None
|
|
262
264
|
:param direction: Direction
|
|
263
|
-
:type direction:
|
|
265
|
+
:type direction: str | None
|
|
264
266
|
"""
|
|
265
267
|
|
|
266
268
|
...
|
|
@@ -283,7 +285,7 @@ def channels_select_all(
|
|
|
283
285
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
284
286
|
execution_context: str | int | None = None,
|
|
285
287
|
undo: bool | None = None,
|
|
286
|
-
action:
|
|
288
|
+
action: str | None = "TOGGLE",
|
|
287
289
|
):
|
|
288
290
|
"""Toggle selection of all animation channels
|
|
289
291
|
|
|
@@ -303,7 +305,7 @@ def channels_select_all(
|
|
|
303
305
|
|
|
304
306
|
INVERT
|
|
305
307
|
Invert -- Invert selection of all elements.
|
|
306
|
-
:type action:
|
|
308
|
+
:type action: str | None
|
|
307
309
|
"""
|
|
308
310
|
|
|
309
311
|
...
|
|
@@ -361,8 +363,8 @@ def channels_setting_disable(
|
|
|
361
363
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
362
364
|
execution_context: str | int | None = None,
|
|
363
365
|
undo: bool | None = None,
|
|
364
|
-
mode:
|
|
365
|
-
type:
|
|
366
|
+
mode: str | None = "DISABLE",
|
|
367
|
+
type: str | None = "PROTECT",
|
|
366
368
|
):
|
|
367
369
|
"""Disable specified setting on all selected animation channels
|
|
368
370
|
|
|
@@ -370,9 +372,9 @@ def channels_setting_disable(
|
|
|
370
372
|
:type execution_context: str | int | None
|
|
371
373
|
:type undo: bool | None
|
|
372
374
|
:param mode: Mode
|
|
373
|
-
:type mode:
|
|
375
|
+
:type mode: str | None
|
|
374
376
|
:param type: Type
|
|
375
|
-
:type type:
|
|
377
|
+
:type type: str | None
|
|
376
378
|
"""
|
|
377
379
|
|
|
378
380
|
...
|
|
@@ -381,8 +383,8 @@ def channels_setting_enable(
|
|
|
381
383
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
382
384
|
execution_context: str | int | None = None,
|
|
383
385
|
undo: bool | None = None,
|
|
384
|
-
mode:
|
|
385
|
-
type:
|
|
386
|
+
mode: str | None = "ENABLE",
|
|
387
|
+
type: str | None = "PROTECT",
|
|
386
388
|
):
|
|
387
389
|
"""Enable specified setting on all selected animation channels
|
|
388
390
|
|
|
@@ -390,9 +392,9 @@ def channels_setting_enable(
|
|
|
390
392
|
:type execution_context: str | int | None
|
|
391
393
|
:type undo: bool | None
|
|
392
394
|
:param mode: Mode
|
|
393
|
-
:type mode:
|
|
395
|
+
:type mode: str | None
|
|
394
396
|
:param type: Type
|
|
395
|
-
:type type:
|
|
397
|
+
:type type: str | None
|
|
396
398
|
"""
|
|
397
399
|
|
|
398
400
|
...
|
|
@@ -401,8 +403,8 @@ def channels_setting_toggle(
|
|
|
401
403
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
402
404
|
execution_context: str | int | None = None,
|
|
403
405
|
undo: bool | None = None,
|
|
404
|
-
mode:
|
|
405
|
-
type:
|
|
406
|
+
mode: str | None = "TOGGLE",
|
|
407
|
+
type: str | None = "PROTECT",
|
|
406
408
|
):
|
|
407
409
|
"""Toggle specified setting on all selected animation channels
|
|
408
410
|
|
|
@@ -410,9 +412,9 @@ def channels_setting_toggle(
|
|
|
410
412
|
:type execution_context: str | int | None
|
|
411
413
|
:type undo: bool | None
|
|
412
414
|
:param mode: Mode
|
|
413
|
-
:type mode:
|
|
415
|
+
:type mode: str | None
|
|
414
416
|
:param type: Type
|
|
415
|
-
:type type:
|
|
417
|
+
:type type: str | None
|
|
416
418
|
"""
|
|
417
419
|
|
|
418
420
|
...
|
|
@@ -579,7 +581,7 @@ def keyframe_delete(
|
|
|
579
581
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
580
582
|
execution_context: str | int | None = None,
|
|
581
583
|
undo: bool | None = None,
|
|
582
|
-
type: str |
|
|
584
|
+
type: str | None = "DEFAULT",
|
|
583
585
|
):
|
|
584
586
|
"""Delete keyframes on the current frame for all properties in the specified Keying Set
|
|
585
587
|
|
|
@@ -587,7 +589,7 @@ def keyframe_delete(
|
|
|
587
589
|
:type execution_context: str | int | None
|
|
588
590
|
:type undo: bool | None
|
|
589
591
|
:param type: Keying Set, The Keying Set to use
|
|
590
|
-
:type type: str |
|
|
592
|
+
:type type: str | None
|
|
591
593
|
"""
|
|
592
594
|
|
|
593
595
|
...
|
|
@@ -647,7 +649,7 @@ def keyframe_insert(
|
|
|
647
649
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
648
650
|
execution_context: str | int | None = None,
|
|
649
651
|
undo: bool | None = None,
|
|
650
|
-
type: str |
|
|
652
|
+
type: str | None = "DEFAULT",
|
|
651
653
|
):
|
|
652
654
|
"""Insert keyframes on the current frame using either the active keying set, or the user preferences if no keying set is active
|
|
653
655
|
|
|
@@ -655,7 +657,7 @@ def keyframe_insert(
|
|
|
655
657
|
:type execution_context: str | int | None
|
|
656
658
|
:type undo: bool | None
|
|
657
659
|
:param type: Keying Set, The Keying Set to use
|
|
658
|
-
:type type: str |
|
|
660
|
+
:type type: str | None
|
|
659
661
|
"""
|
|
660
662
|
|
|
661
663
|
...
|
|
@@ -698,7 +700,7 @@ def keyframe_insert_menu(
|
|
|
698
700
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
699
701
|
execution_context: str | int | None = None,
|
|
700
702
|
undo: bool | None = None,
|
|
701
|
-
type: str |
|
|
703
|
+
type: str | None = "DEFAULT",
|
|
702
704
|
always_prompt: bool | typing.Any | None = False,
|
|
703
705
|
):
|
|
704
706
|
"""Insert Keyframes for specified Keying Set, with menu of available Keying Sets if undefined
|
|
@@ -707,7 +709,7 @@ def keyframe_insert_menu(
|
|
|
707
709
|
:type execution_context: str | int | None
|
|
708
710
|
:type undo: bool | None
|
|
709
711
|
:param type: Keying Set, The Keying Set to use
|
|
710
|
-
:type type: str |
|
|
712
|
+
:type type: str | None
|
|
711
713
|
:param always_prompt: Always Show Menu
|
|
712
714
|
:type always_prompt: bool | typing.Any | None
|
|
713
715
|
"""
|
|
@@ -718,7 +720,7 @@ def keying_set_active_set(
|
|
|
718
720
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
719
721
|
execution_context: str | int | None = None,
|
|
720
722
|
undo: bool | None = None,
|
|
721
|
-
type: str |
|
|
723
|
+
type: str | None = "DEFAULT",
|
|
722
724
|
):
|
|
723
725
|
"""Set a new active keying set
|
|
724
726
|
|
|
@@ -726,7 +728,7 @@ def keying_set_active_set(
|
|
|
726
728
|
:type execution_context: str | int | None
|
|
727
729
|
:type undo: bool | None
|
|
728
730
|
:param type: Keying Set, The Keying Set to use
|
|
729
|
-
:type type: str |
|
|
731
|
+
:type type: str | None
|
|
730
732
|
"""
|
|
731
733
|
|
|
732
734
|
...
|
bpy/ops/armature/__init__.pyi
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.ops.transform
|
|
3
4
|
import bpy.types
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
8
|
|
|
7
9
|
def align(
|
|
8
10
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -42,7 +44,7 @@ def autoside_names(
|
|
|
42
44
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
43
45
|
execution_context: str | int | None = None,
|
|
44
46
|
undo: bool | None = None,
|
|
45
|
-
type:
|
|
47
|
+
type: str | None = "XAXIS",
|
|
46
48
|
):
|
|
47
49
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
48
50
|
|
|
@@ -59,7 +61,7 @@ def autoside_names(
|
|
|
59
61
|
|
|
60
62
|
ZAXIS
|
|
61
63
|
Z-Axis -- Top/Bottom.
|
|
62
|
-
:type type:
|
|
64
|
+
:type type: str | None
|
|
63
65
|
"""
|
|
64
66
|
|
|
65
67
|
...
|
|
@@ -85,7 +87,7 @@ def calculate_roll(
|
|
|
85
87
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
86
88
|
execution_context: str | int | None = None,
|
|
87
89
|
undo: bool | None = None,
|
|
88
|
-
type:
|
|
90
|
+
type: str | None = "POS_X",
|
|
89
91
|
axis_flip: bool | typing.Any | None = False,
|
|
90
92
|
axis_only: bool | typing.Any | None = False,
|
|
91
93
|
):
|
|
@@ -95,7 +97,7 @@ def calculate_roll(
|
|
|
95
97
|
:type execution_context: str | int | None
|
|
96
98
|
:type undo: bool | None
|
|
97
99
|
:param type: Type
|
|
98
|
-
:type type:
|
|
100
|
+
:type type: str | None
|
|
99
101
|
:param axis_flip: Flip Axis, Negate the alignment axis
|
|
100
102
|
:type axis_flip: bool | typing.Any | None
|
|
101
103
|
:param axis_only: Shortest Rotation, Ignore the axis direction, use the shortest rotation to align
|
|
@@ -184,7 +186,7 @@ def collection_move(
|
|
|
184
186
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
185
187
|
execution_context: str | int | None = None,
|
|
186
188
|
undo: bool | None = None,
|
|
187
|
-
direction:
|
|
189
|
+
direction: str | None = "UP",
|
|
188
190
|
):
|
|
189
191
|
"""Change position of active Bone Collection in list of Bone collections
|
|
190
192
|
|
|
@@ -192,7 +194,7 @@ def collection_move(
|
|
|
192
194
|
:type execution_context: str | int | None
|
|
193
195
|
:type undo: bool | None
|
|
194
196
|
:param direction: Direction, Direction to move the active Bone Collection towards
|
|
195
|
-
:type direction:
|
|
197
|
+
:type direction: str | None
|
|
196
198
|
"""
|
|
197
199
|
|
|
198
200
|
...
|
|
@@ -308,7 +310,7 @@ def copy_bone_color_to_selected(
|
|
|
308
310
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
309
311
|
execution_context: str | int | None = None,
|
|
310
312
|
undo: bool | None = None,
|
|
311
|
-
bone_type:
|
|
313
|
+
bone_type: str | None = "EDIT",
|
|
312
314
|
):
|
|
313
315
|
"""Copy the bone color of the active bone to all selected bones
|
|
314
316
|
|
|
@@ -322,7 +324,7 @@ def copy_bone_color_to_selected(
|
|
|
322
324
|
|
|
323
325
|
POSE
|
|
324
326
|
Pose Bone -- Copy Pose Bone colors from the active pose bone to all selected pose bones.
|
|
325
|
-
:type bone_type:
|
|
327
|
+
:type bone_type: str | None
|
|
326
328
|
"""
|
|
327
329
|
|
|
328
330
|
...
|
|
@@ -524,7 +526,7 @@ def parent_clear(
|
|
|
524
526
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
525
527
|
execution_context: str | int | None = None,
|
|
526
528
|
undo: bool | None = None,
|
|
527
|
-
type:
|
|
529
|
+
type: str | None = "CLEAR",
|
|
528
530
|
):
|
|
529
531
|
"""Remove the parent-child relationship between selected bones and their parents
|
|
530
532
|
|
|
@@ -532,7 +534,7 @@ def parent_clear(
|
|
|
532
534
|
:type execution_context: str | int | None
|
|
533
535
|
:type undo: bool | None
|
|
534
536
|
:param type: Clear Type, What way to clear parenting
|
|
535
|
-
:type type:
|
|
537
|
+
:type type: str | None
|
|
536
538
|
"""
|
|
537
539
|
|
|
538
540
|
...
|
|
@@ -541,7 +543,7 @@ def parent_set(
|
|
|
541
543
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
542
544
|
execution_context: str | int | None = None,
|
|
543
545
|
undo: bool | None = None,
|
|
544
|
-
type:
|
|
546
|
+
type: str | None = "CONNECTED",
|
|
545
547
|
):
|
|
546
548
|
"""Set the active bone as the parent of the selected bones
|
|
547
549
|
|
|
@@ -549,7 +551,7 @@ def parent_set(
|
|
|
549
551
|
:type execution_context: str | int | None
|
|
550
552
|
:type undo: bool | None
|
|
551
553
|
:param type: Parent Type, Type of parenting
|
|
552
|
-
:type type:
|
|
554
|
+
:type type: str | None
|
|
553
555
|
"""
|
|
554
556
|
|
|
555
557
|
...
|
|
@@ -592,7 +594,7 @@ def select_all(
|
|
|
592
594
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
593
595
|
execution_context: str | int | None = None,
|
|
594
596
|
undo: bool | None = None,
|
|
595
|
-
action:
|
|
597
|
+
action: str | None = "TOGGLE",
|
|
596
598
|
):
|
|
597
599
|
"""Toggle selection status of all bones
|
|
598
600
|
|
|
@@ -612,7 +614,7 @@ def select_all(
|
|
|
612
614
|
|
|
613
615
|
INVERT
|
|
614
616
|
Invert -- Invert selection of all elements.
|
|
615
|
-
:type action:
|
|
617
|
+
:type action: str | None
|
|
616
618
|
"""
|
|
617
619
|
|
|
618
620
|
...
|
|
@@ -621,7 +623,7 @@ def select_hierarchy(
|
|
|
621
623
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
622
624
|
execution_context: str | int | None = None,
|
|
623
625
|
undo: bool | None = None,
|
|
624
|
-
direction:
|
|
626
|
+
direction: str | None = "PARENT",
|
|
625
627
|
extend: bool | typing.Any | None = False,
|
|
626
628
|
):
|
|
627
629
|
"""Select immediate parent/children of selected bones
|
|
@@ -630,7 +632,7 @@ def select_hierarchy(
|
|
|
630
632
|
:type execution_context: str | int | None
|
|
631
633
|
:type undo: bool | None
|
|
632
634
|
:param direction: Direction
|
|
633
|
-
:type direction:
|
|
635
|
+
:type direction: str | None
|
|
634
636
|
:param extend: Extend, Extend the selection
|
|
635
637
|
:type extend: bool | typing.Any | None
|
|
636
638
|
"""
|
|
@@ -726,7 +728,7 @@ def select_similar(
|
|
|
726
728
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
727
729
|
execution_context: str | int | None = None,
|
|
728
730
|
undo: bool | None = None,
|
|
729
|
-
type:
|
|
731
|
+
type: str | None = "LENGTH",
|
|
730
732
|
threshold: typing.Any | None = 0.1,
|
|
731
733
|
):
|
|
732
734
|
"""Select similar bones by property types
|
|
@@ -735,7 +737,7 @@ def select_similar(
|
|
|
735
737
|
:type execution_context: str | int | None
|
|
736
738
|
:type undo: bool | None
|
|
737
739
|
:param type: Type
|
|
738
|
-
:type type:
|
|
740
|
+
:type type: str | None
|
|
739
741
|
:param threshold: Threshold
|
|
740
742
|
:type threshold: typing.Any | None
|
|
741
743
|
"""
|
|
@@ -819,7 +821,7 @@ def symmetrize(
|
|
|
819
821
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
820
822
|
execution_context: str | int | None = None,
|
|
821
823
|
undo: bool | None = None,
|
|
822
|
-
direction:
|
|
824
|
+
direction: str | None = "NEGATIVE_X",
|
|
823
825
|
):
|
|
824
826
|
"""Enforce symmetry, make copies of the selection or use existing
|
|
825
827
|
|
|
@@ -827,7 +829,7 @@ def symmetrize(
|
|
|
827
829
|
:type execution_context: str | int | None
|
|
828
830
|
:type undo: bool | None
|
|
829
831
|
:param direction: Direction, Which sides to copy from and to (when both are selected)
|
|
830
|
-
:type direction:
|
|
832
|
+
:type direction: str | None
|
|
831
833
|
"""
|
|
832
834
|
|
|
833
835
|
...
|