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/pose/__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 armature_apply(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -24,7 +26,7 @@ def autoside_names(
|
|
|
24
26
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
25
27
|
execution_context: str | int | None = None,
|
|
26
28
|
undo: bool | None = None,
|
|
27
|
-
axis:
|
|
29
|
+
axis: str | None = "XAXIS",
|
|
28
30
|
):
|
|
29
31
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
30
32
|
|
|
@@ -41,7 +43,7 @@ def autoside_names(
|
|
|
41
43
|
|
|
42
44
|
ZAXIS
|
|
43
45
|
Z-Axis -- Top/Bottom.
|
|
44
|
-
:type axis:
|
|
46
|
+
:type axis: str | None
|
|
45
47
|
"""
|
|
46
48
|
|
|
47
49
|
...
|
|
@@ -53,8 +55,8 @@ def blend_to_neighbor(
|
|
|
53
55
|
factor: typing.Any | None = 0.5,
|
|
54
56
|
prev_frame: typing.Any | None = 0,
|
|
55
57
|
next_frame: typing.Any | None = 0,
|
|
56
|
-
channels:
|
|
57
|
-
axis_lock:
|
|
58
|
+
channels: str | None = "ALL",
|
|
59
|
+
axis_lock: str | None = "FREE",
|
|
58
60
|
):
|
|
59
61
|
"""Blend from current position to previous or next keyframe
|
|
60
62
|
|
|
@@ -86,7 +88,7 @@ def blend_to_neighbor(
|
|
|
86
88
|
|
|
87
89
|
CUSTOM
|
|
88
90
|
Custom Properties -- Custom properties.
|
|
89
|
-
:type channels:
|
|
91
|
+
:type channels: str | None
|
|
90
92
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
91
93
|
|
|
92
94
|
FREE
|
|
@@ -100,7 +102,7 @@ def blend_to_neighbor(
|
|
|
100
102
|
|
|
101
103
|
Z
|
|
102
104
|
Z -- Only Z-axis transforms are affected.
|
|
103
|
-
:type axis_lock:
|
|
105
|
+
:type axis_lock: str | None
|
|
104
106
|
"""
|
|
105
107
|
|
|
106
108
|
...
|
|
@@ -112,8 +114,8 @@ def blend_with_rest(
|
|
|
112
114
|
factor: typing.Any | None = 0.5,
|
|
113
115
|
prev_frame: typing.Any | None = 0,
|
|
114
116
|
next_frame: typing.Any | None = 0,
|
|
115
|
-
channels:
|
|
116
|
-
axis_lock:
|
|
117
|
+
channels: str | None = "ALL",
|
|
118
|
+
axis_lock: str | None = "FREE",
|
|
117
119
|
):
|
|
118
120
|
"""Make the current pose more similar to, or further away from, the rest pose
|
|
119
121
|
|
|
@@ -145,7 +147,7 @@ def blend_with_rest(
|
|
|
145
147
|
|
|
146
148
|
CUSTOM
|
|
147
149
|
Custom Properties -- Custom properties.
|
|
148
|
-
:type channels:
|
|
150
|
+
:type channels: str | None
|
|
149
151
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
150
152
|
|
|
151
153
|
FREE
|
|
@@ -159,7 +161,7 @@ def blend_with_rest(
|
|
|
159
161
|
|
|
160
162
|
Z
|
|
161
163
|
Z -- Only Z-axis transforms are affected.
|
|
162
|
-
:type axis_lock:
|
|
164
|
+
:type axis_lock: str | None
|
|
163
165
|
"""
|
|
164
166
|
|
|
165
167
|
...
|
|
@@ -171,8 +173,8 @@ def breakdown(
|
|
|
171
173
|
factor: typing.Any | None = 0.5,
|
|
172
174
|
prev_frame: typing.Any | None = 0,
|
|
173
175
|
next_frame: typing.Any | None = 0,
|
|
174
|
-
channels:
|
|
175
|
-
axis_lock:
|
|
176
|
+
channels: str | None = "ALL",
|
|
177
|
+
axis_lock: str | None = "FREE",
|
|
176
178
|
):
|
|
177
179
|
"""Create a suitable breakdown pose on the current frame
|
|
178
180
|
|
|
@@ -204,7 +206,7 @@ def breakdown(
|
|
|
204
206
|
|
|
205
207
|
CUSTOM
|
|
206
208
|
Custom Properties -- Custom properties.
|
|
207
|
-
:type channels:
|
|
209
|
+
:type channels: str | None
|
|
208
210
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
209
211
|
|
|
210
212
|
FREE
|
|
@@ -218,7 +220,7 @@ def breakdown(
|
|
|
218
220
|
|
|
219
221
|
Z
|
|
220
222
|
Z -- Only Z-axis transforms are affected.
|
|
221
|
-
:type axis_lock:
|
|
223
|
+
:type axis_lock: str | None
|
|
222
224
|
"""
|
|
223
225
|
|
|
224
226
|
...
|
|
@@ -227,7 +229,7 @@ def constraint_add(
|
|
|
227
229
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
228
230
|
execution_context: str | int | None = None,
|
|
229
231
|
undo: bool | None = None,
|
|
230
|
-
type: str |
|
|
232
|
+
type: str | None = "",
|
|
231
233
|
):
|
|
232
234
|
"""Add a constraint to the active bone
|
|
233
235
|
|
|
@@ -235,7 +237,7 @@ def constraint_add(
|
|
|
235
237
|
:type execution_context: str | int | None
|
|
236
238
|
:type undo: bool | None
|
|
237
239
|
:param type: Type
|
|
238
|
-
:type type: str |
|
|
240
|
+
:type type: str | None
|
|
239
241
|
"""
|
|
240
242
|
|
|
241
243
|
...
|
|
@@ -244,7 +246,7 @@ def constraint_add_with_targets(
|
|
|
244
246
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
245
247
|
execution_context: str | int | None = None,
|
|
246
248
|
undo: bool | None = None,
|
|
247
|
-
type: str |
|
|
249
|
+
type: str | None = "",
|
|
248
250
|
):
|
|
249
251
|
"""Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
|
|
250
252
|
|
|
@@ -252,7 +254,7 @@ def constraint_add_with_targets(
|
|
|
252
254
|
:type execution_context: str | int | None
|
|
253
255
|
:type undo: bool | None
|
|
254
256
|
:param type: Type
|
|
255
|
-
:type type: str |
|
|
257
|
+
:type type: str | None
|
|
256
258
|
"""
|
|
257
259
|
|
|
258
260
|
...
|
|
@@ -402,9 +404,9 @@ def paths_calculate(
|
|
|
402
404
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
403
405
|
execution_context: str | int | None = None,
|
|
404
406
|
undo: bool | None = None,
|
|
405
|
-
display_type: str |
|
|
406
|
-
range: str |
|
|
407
|
-
bake_location: str |
|
|
407
|
+
display_type: str | None = "RANGE",
|
|
408
|
+
range: str | None = "SCENE",
|
|
409
|
+
bake_location: str | None = "HEADS",
|
|
408
410
|
):
|
|
409
411
|
"""Calculate paths for the selected bones
|
|
410
412
|
|
|
@@ -412,11 +414,11 @@ def paths_calculate(
|
|
|
412
414
|
:type execution_context: str | int | None
|
|
413
415
|
:type undo: bool | None
|
|
414
416
|
:param display_type: Display type
|
|
415
|
-
:type display_type: str |
|
|
417
|
+
:type display_type: str | None
|
|
416
418
|
:param range: Computation Range
|
|
417
|
-
:type range: str |
|
|
419
|
+
:type range: str | None
|
|
418
420
|
:param bake_location: Bake Location, Which point on the bones is used when calculating paths
|
|
419
|
-
:type bake_location: str |
|
|
421
|
+
:type bake_location: str | None
|
|
420
422
|
"""
|
|
421
423
|
|
|
422
424
|
...
|
|
@@ -470,7 +472,7 @@ def propagate(
|
|
|
470
472
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
471
473
|
execution_context: str | int | None = None,
|
|
472
474
|
undo: bool | None = None,
|
|
473
|
-
mode:
|
|
475
|
+
mode: str | None = "NEXT_KEY",
|
|
474
476
|
end_frame: typing.Any | None = 250.0,
|
|
475
477
|
):
|
|
476
478
|
"""Copy selected aspects of the current pose to subsequent poses already keyframed
|
|
@@ -497,7 +499,7 @@ def propagate(
|
|
|
497
499
|
|
|
498
500
|
SELECTED_MARKERS
|
|
499
501
|
On Selected Markers -- Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame.
|
|
500
|
-
:type mode:
|
|
502
|
+
:type mode: str | None
|
|
501
503
|
:param end_frame: End Frame, Frame to stop propagating frames to (for 'Before Frame' mode)
|
|
502
504
|
:type end_frame: typing.Any | None
|
|
503
505
|
"""
|
|
@@ -511,8 +513,8 @@ def push(
|
|
|
511
513
|
factor: typing.Any | None = 0.5,
|
|
512
514
|
prev_frame: typing.Any | None = 0,
|
|
513
515
|
next_frame: typing.Any | None = 0,
|
|
514
|
-
channels:
|
|
515
|
-
axis_lock:
|
|
516
|
+
channels: str | None = "ALL",
|
|
517
|
+
axis_lock: str | None = "FREE",
|
|
516
518
|
):
|
|
517
519
|
"""Exaggerate the current pose in regards to the breakdown pose
|
|
518
520
|
|
|
@@ -544,7 +546,7 @@ def push(
|
|
|
544
546
|
|
|
545
547
|
CUSTOM
|
|
546
548
|
Custom Properties -- Custom properties.
|
|
547
|
-
:type channels:
|
|
549
|
+
:type channels: str | None
|
|
548
550
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
549
551
|
|
|
550
552
|
FREE
|
|
@@ -558,7 +560,7 @@ def push(
|
|
|
558
560
|
|
|
559
561
|
Z
|
|
560
562
|
Z -- Only Z-axis transforms are affected.
|
|
561
|
-
:type axis_lock:
|
|
563
|
+
:type axis_lock: str | None
|
|
562
564
|
"""
|
|
563
565
|
|
|
564
566
|
...
|
|
@@ -584,8 +586,8 @@ def relax(
|
|
|
584
586
|
factor: typing.Any | None = 0.5,
|
|
585
587
|
prev_frame: typing.Any | None = 0,
|
|
586
588
|
next_frame: typing.Any | None = 0,
|
|
587
|
-
channels:
|
|
588
|
-
axis_lock:
|
|
589
|
+
channels: str | None = "ALL",
|
|
590
|
+
axis_lock: str | None = "FREE",
|
|
589
591
|
):
|
|
590
592
|
"""Make the current pose more similar to its breakdown pose
|
|
591
593
|
|
|
@@ -617,7 +619,7 @@ def relax(
|
|
|
617
619
|
|
|
618
620
|
CUSTOM
|
|
619
621
|
Custom Properties -- Custom properties.
|
|
620
|
-
:type channels:
|
|
622
|
+
:type channels: str | None
|
|
621
623
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
622
624
|
|
|
623
625
|
FREE
|
|
@@ -631,7 +633,7 @@ def relax(
|
|
|
631
633
|
|
|
632
634
|
Z
|
|
633
635
|
Z -- Only Z-axis transforms are affected.
|
|
634
|
-
:type axis_lock:
|
|
636
|
+
:type axis_lock: str | None
|
|
635
637
|
"""
|
|
636
638
|
|
|
637
639
|
...
|
|
@@ -671,7 +673,7 @@ def rotation_mode_set(
|
|
|
671
673
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
672
674
|
execution_context: str | int | None = None,
|
|
673
675
|
undo: bool | None = None,
|
|
674
|
-
type: str |
|
|
676
|
+
type: str | None = "QUATERNION",
|
|
675
677
|
):
|
|
676
678
|
"""Set the rotation representation used by selected bones
|
|
677
679
|
|
|
@@ -679,7 +681,7 @@ def rotation_mode_set(
|
|
|
679
681
|
:type execution_context: str | int | None
|
|
680
682
|
:type undo: bool | None
|
|
681
683
|
:param type: Rotation Mode
|
|
682
|
-
:type type: str |
|
|
684
|
+
:type type: str | None
|
|
683
685
|
"""
|
|
684
686
|
|
|
685
687
|
...
|
|
@@ -702,7 +704,7 @@ def select_all(
|
|
|
702
704
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
703
705
|
execution_context: str | int | None = None,
|
|
704
706
|
undo: bool | None = None,
|
|
705
|
-
action:
|
|
707
|
+
action: str | None = "TOGGLE",
|
|
706
708
|
):
|
|
707
709
|
"""Toggle selection status of all bones
|
|
708
710
|
|
|
@@ -722,7 +724,7 @@ def select_all(
|
|
|
722
724
|
|
|
723
725
|
INVERT
|
|
724
726
|
Invert -- Invert selection of all elements.
|
|
725
|
-
:type action:
|
|
727
|
+
:type action: str | None
|
|
726
728
|
"""
|
|
727
729
|
|
|
728
730
|
...
|
|
@@ -746,7 +748,7 @@ def select_grouped(
|
|
|
746
748
|
execution_context: str | int | None = None,
|
|
747
749
|
undo: bool | None = None,
|
|
748
750
|
extend: bool | typing.Any | None = False,
|
|
749
|
-
type:
|
|
751
|
+
type: str | None = "COLLECTION",
|
|
750
752
|
):
|
|
751
753
|
"""Select all visible bones grouped by similar properties
|
|
752
754
|
|
|
@@ -765,7 +767,7 @@ def select_grouped(
|
|
|
765
767
|
|
|
766
768
|
KEYINGSET
|
|
767
769
|
Keying Set -- All bones affected by active Keying Set.
|
|
768
|
-
:type type:
|
|
770
|
+
:type type: str | None
|
|
769
771
|
"""
|
|
770
772
|
|
|
771
773
|
...
|
|
@@ -774,7 +776,7 @@ def select_hierarchy(
|
|
|
774
776
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
775
777
|
execution_context: str | int | None = None,
|
|
776
778
|
undo: bool | None = None,
|
|
777
|
-
direction:
|
|
779
|
+
direction: str | None = "PARENT",
|
|
778
780
|
extend: bool | typing.Any | None = False,
|
|
779
781
|
):
|
|
780
782
|
"""Select immediate parent/children of selected bones
|
|
@@ -783,7 +785,7 @@ def select_hierarchy(
|
|
|
783
785
|
:type execution_context: str | int | None
|
|
784
786
|
:type undo: bool | None
|
|
785
787
|
:param direction: Direction
|
|
786
|
-
:type direction:
|
|
788
|
+
:type direction: str | None
|
|
787
789
|
:param extend: Extend, Extend the selection
|
|
788
790
|
:type extend: bool | typing.Any | None
|
|
789
791
|
"""
|
bpy/ops/poselib/__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 apply_pose_asset(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/preferences/__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 addon_disable(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -59,7 +61,7 @@ def addon_install(
|
|
|
59
61
|
execution_context: str | int | None = None,
|
|
60
62
|
undo: bool | None = None,
|
|
61
63
|
overwrite: bool | typing.Any | None = True,
|
|
62
|
-
target: str |
|
|
64
|
+
target: str | None = "",
|
|
63
65
|
filepath: str | typing.Any = "",
|
|
64
66
|
filter_folder: bool | typing.Any | None = True,
|
|
65
67
|
filter_python: bool | typing.Any | None = True,
|
|
@@ -73,7 +75,7 @@ def addon_install(
|
|
|
73
75
|
:param overwrite: Overwrite, Remove existing add-ons with the same ID
|
|
74
76
|
:type overwrite: bool | typing.Any | None
|
|
75
77
|
:param target: Target Path
|
|
76
|
-
:type target: str |
|
|
78
|
+
:type target: str | None
|
|
77
79
|
:param filepath: filepath
|
|
78
80
|
:type filepath: str | typing.Any
|
|
79
81
|
:param filter_folder: Filter folders
|
|
@@ -185,8 +187,8 @@ def asset_library_add(
|
|
|
185
187
|
filter_folder: bool | typing.Any | None = True,
|
|
186
188
|
filter_blenlib: bool | typing.Any | None = False,
|
|
187
189
|
filemode: typing.Any | None = 9,
|
|
188
|
-
display_type:
|
|
189
|
-
sort_method: str |
|
|
190
|
+
display_type: str | None = "DEFAULT",
|
|
191
|
+
sort_method: str | None = "",
|
|
190
192
|
):
|
|
191
193
|
"""Add a directory to be used by the Asset Browser as source of assets
|
|
192
194
|
|
|
@@ -248,9 +250,9 @@ def asset_library_add(
|
|
|
248
250
|
|
|
249
251
|
THUMBNAIL
|
|
250
252
|
Thumbnails -- Display files as thumbnails.
|
|
251
|
-
:type display_type:
|
|
253
|
+
:type display_type: str | None
|
|
252
254
|
:param sort_method: File sorting mode
|
|
253
|
-
:type sort_method: str |
|
|
255
|
+
:type sort_method: str | None
|
|
254
256
|
"""
|
|
255
257
|
|
|
256
258
|
...
|
|
@@ -340,7 +342,7 @@ def extension_repo_add(
|
|
|
340
342
|
use_sync_on_startup: bool | typing.Any | None = False,
|
|
341
343
|
use_custom_directory: bool | typing.Any | None = False,
|
|
342
344
|
custom_directory: str | typing.Any = "",
|
|
343
|
-
type:
|
|
345
|
+
type: str | None = "REMOTE",
|
|
344
346
|
):
|
|
345
347
|
"""Add a new repository used to store extensions
|
|
346
348
|
|
|
@@ -364,7 +366,7 @@ def extension_repo_add(
|
|
|
364
366
|
|
|
365
367
|
LOCAL
|
|
366
368
|
Add Local Repository -- Add a repository managed manually without referencing an external repository.
|
|
367
|
-
:type type:
|
|
369
|
+
:type type: str | None
|
|
368
370
|
"""
|
|
369
371
|
|
|
370
372
|
...
|
|
@@ -374,7 +376,7 @@ def extension_repo_remove(
|
|
|
374
376
|
execution_context: str | int | None = None,
|
|
375
377
|
undo: bool | None = None,
|
|
376
378
|
index: typing.Any | None = 0,
|
|
377
|
-
type:
|
|
379
|
+
type: str | None = "REPO_ONLY",
|
|
378
380
|
):
|
|
379
381
|
"""Remove an extension repository
|
|
380
382
|
|
|
@@ -390,7 +392,7 @@ def extension_repo_remove(
|
|
|
390
392
|
|
|
391
393
|
REPO_AND_DIRECTORY
|
|
392
394
|
Remove Repository & Files -- Delete all associated local files when removing.
|
|
393
|
-
:type type:
|
|
395
|
+
:type type: str | None
|
|
394
396
|
"""
|
|
395
397
|
|
|
396
398
|
...
|
|
@@ -685,7 +687,7 @@ def studiolight_install(
|
|
|
685
687
|
directory: str | typing.Any = "",
|
|
686
688
|
filter_folder: bool | typing.Any | None = True,
|
|
687
689
|
filter_glob: str | typing.Any = "*.png;*.jpg;*.hdr;*.exr",
|
|
688
|
-
type:
|
|
690
|
+
type: str | None = "MATCAP",
|
|
689
691
|
):
|
|
690
692
|
"""Install a user defined light
|
|
691
693
|
|
|
@@ -710,7 +712,7 @@ def studiolight_install(
|
|
|
710
712
|
|
|
711
713
|
STUDIO
|
|
712
714
|
Studio -- Install custom Studio Lights.
|
|
713
|
-
:type type:
|
|
715
|
+
:type type: str | None
|
|
714
716
|
"""
|
|
715
717
|
|
|
716
718
|
...
|
bpy/ops/ptcache/__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 add(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/render/__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 cycles_integrator_preset_add(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -217,7 +219,7 @@ def shutter_curve_preset(
|
|
|
217
219
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
218
220
|
execution_context: str | int | None = None,
|
|
219
221
|
undo: bool | None = None,
|
|
220
|
-
shape:
|
|
222
|
+
shape: str | None = "SMOOTH",
|
|
221
223
|
):
|
|
222
224
|
"""Set shutter curve
|
|
223
225
|
|
|
@@ -225,7 +227,7 @@ def shutter_curve_preset(
|
|
|
225
227
|
:type execution_context: str | int | None
|
|
226
228
|
:type undo: bool | None
|
|
227
229
|
:param shape: Mode
|
|
228
|
-
:type shape:
|
|
230
|
+
:type shape: str | None
|
|
229
231
|
"""
|
|
230
232
|
|
|
231
233
|
...
|
bpy/ops/rigidbody/__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 bake_to_keyframes(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -30,9 +32,9 @@ def connect(
|
|
|
30
32
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
31
33
|
execution_context: str | int | None = None,
|
|
32
34
|
undo: bool | None = None,
|
|
33
|
-
con_type:
|
|
34
|
-
pivot_type:
|
|
35
|
-
connection_pattern:
|
|
35
|
+
con_type: str | None = "FIXED",
|
|
36
|
+
pivot_type: str | None = "CENTER",
|
|
37
|
+
connection_pattern: str | None = "SELECTED_TO_ACTIVE",
|
|
36
38
|
):
|
|
37
39
|
"""Create rigid body constraints between selected rigid bodies
|
|
38
40
|
|
|
@@ -64,7 +66,7 @@ def connect(
|
|
|
64
66
|
|
|
65
67
|
MOTOR
|
|
66
68
|
Motor -- Drive rigid body around or along an axis.
|
|
67
|
-
:type con_type:
|
|
69
|
+
:type con_type: str | None
|
|
68
70
|
:param pivot_type: Location, Constraint pivot location
|
|
69
71
|
|
|
70
72
|
CENTER
|
|
@@ -75,7 +77,7 @@ def connect(
|
|
|
75
77
|
|
|
76
78
|
SELECTED
|
|
77
79
|
Selected -- Pivot location is at the selected object position.
|
|
78
|
-
:type pivot_type:
|
|
80
|
+
:type pivot_type: str | None
|
|
79
81
|
:param connection_pattern: Connection Pattern, Pattern used to connect objects
|
|
80
82
|
|
|
81
83
|
SELECTED_TO_ACTIVE
|
|
@@ -83,7 +85,7 @@ def connect(
|
|
|
83
85
|
|
|
84
86
|
CHAIN_DISTANCE
|
|
85
87
|
Chain by Distance -- Connect objects as a chain based on distance, starting at the active object.
|
|
86
|
-
:type connection_pattern:
|
|
88
|
+
:type connection_pattern: str | None
|
|
87
89
|
"""
|
|
88
90
|
|
|
89
91
|
...
|
|
@@ -92,7 +94,7 @@ def constraint_add(
|
|
|
92
94
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
93
95
|
execution_context: str | int | None = None,
|
|
94
96
|
undo: bool | None = None,
|
|
95
|
-
type: str |
|
|
97
|
+
type: str | None = "FIXED",
|
|
96
98
|
):
|
|
97
99
|
"""Add Rigid Body Constraint to active object
|
|
98
100
|
|
|
@@ -100,7 +102,7 @@ def constraint_add(
|
|
|
100
102
|
:type execution_context: str | int | None
|
|
101
103
|
:type undo: bool | None
|
|
102
104
|
:param type: Rigid Body Constraint Type
|
|
103
|
-
:type type: str |
|
|
105
|
+
:type type: str | None
|
|
104
106
|
"""
|
|
105
107
|
|
|
106
108
|
...
|
|
@@ -123,7 +125,7 @@ def mass_calculate(
|
|
|
123
125
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
124
126
|
execution_context: str | int | None = None,
|
|
125
127
|
undo: bool | None = None,
|
|
126
|
-
material: str |
|
|
128
|
+
material: str | None = "DEFAULT",
|
|
127
129
|
density: typing.Any | None = 1.0,
|
|
128
130
|
):
|
|
129
131
|
"""Automatically calculate mass values for Rigid Body Objects based on volume
|
|
@@ -132,7 +134,7 @@ def mass_calculate(
|
|
|
132
134
|
:type execution_context: str | int | None
|
|
133
135
|
:type undo: bool | None
|
|
134
136
|
:param material: Material Preset, Type of material that objects are made of (determines material density)
|
|
135
|
-
:type material: str |
|
|
137
|
+
:type material: str | None
|
|
136
138
|
:param density: Density, Density value (kg/m^3), allows custom value if the 'Custom' preset is used
|
|
137
139
|
:type density: typing.Any | None
|
|
138
140
|
"""
|
|
@@ -143,7 +145,7 @@ def object_add(
|
|
|
143
145
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
144
146
|
execution_context: str | int | None = None,
|
|
145
147
|
undo: bool | None = None,
|
|
146
|
-
type: str |
|
|
148
|
+
type: str | None = "ACTIVE",
|
|
147
149
|
):
|
|
148
150
|
"""Add active object as Rigid Body
|
|
149
151
|
|
|
@@ -151,7 +153,7 @@ def object_add(
|
|
|
151
153
|
:type execution_context: str | int | None
|
|
152
154
|
:type undo: bool | None
|
|
153
155
|
:param type: Rigid Body Type
|
|
154
|
-
:type type: str |
|
|
156
|
+
:type type: str | None
|
|
155
157
|
"""
|
|
156
158
|
|
|
157
159
|
...
|
|
@@ -188,7 +190,7 @@ def objects_add(
|
|
|
188
190
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
189
191
|
execution_context: str | int | None = None,
|
|
190
192
|
undo: bool | None = None,
|
|
191
|
-
type: str |
|
|
193
|
+
type: str | None = "ACTIVE",
|
|
192
194
|
):
|
|
193
195
|
"""Add selected objects as Rigid Bodies
|
|
194
196
|
|
|
@@ -196,7 +198,7 @@ def objects_add(
|
|
|
196
198
|
:type execution_context: str | int | None
|
|
197
199
|
:type undo: bool | None
|
|
198
200
|
:param type: Rigid Body Type
|
|
199
|
-
:type type: str |
|
|
201
|
+
:type type: str | None
|
|
200
202
|
"""
|
|
201
203
|
|
|
202
204
|
...
|
|
@@ -219,7 +221,7 @@ def shape_change(
|
|
|
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 = "MESH",
|
|
223
225
|
):
|
|
224
226
|
"""Change collision shapes for selected Rigid Body Objects
|
|
225
227
|
|
|
@@ -227,7 +229,7 @@ def shape_change(
|
|
|
227
229
|
:type execution_context: str | int | None
|
|
228
230
|
:type undo: bool | None
|
|
229
231
|
:param type: Rigid Body Shape
|
|
230
|
-
:type type: str |
|
|
232
|
+
:type type: str | None
|
|
231
233
|
"""
|
|
232
234
|
|
|
233
235
|
...
|