fake-bpy-module 20250603__py3-none-any.whl → 20250606__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/addons/cli/__init__.pyi +1 -1
- _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
- _bpy_internal/freedesktop/__init__.pyi +16 -16
- _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
- addon_utils/__init__.pyi +12 -12
- animsys_refactor/__init__.pyi +6 -6
- aud/__init__.pyi +11 -11
- bgl/__init__.pyi +272 -252
- bl_app_override/__init__.pyi +3 -3
- bl_app_override/helpers/__init__.pyi +2 -2
- bl_app_template_utils/__init__.pyi +4 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
- bl_i18n_utils/merge_po/__init__.pyi +1 -1
- bl_i18n_utils/settings/__init__.pyi +6 -6
- bl_i18n_utils/utils/__init__.pyi +48 -46
- bl_i18n_utils/utils_cli/__init__.pyi +6 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
- bl_keymap_utils/io/__init__.pyi +9 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_keymap_utils/versioning/__init__.pyi +1 -1
- bl_operators/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +6 -6
- bl_operators/anim/__init__.pyi +24 -24
- bl_operators/assets/__init__.pyi +9 -9
- bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
- bl_operators/bone_selection_sets/__init__.pyi +18 -18
- bl_operators/clip/__init__.pyi +26 -26
- bl_operators/connect_to_output/__init__.pyi +17 -15
- bl_operators/console/__init__.pyi +10 -10
- bl_operators/constraint/__init__.pyi +8 -8
- bl_operators/file/__init__.pyi +6 -6
- bl_operators/freestyle/__init__.pyi +9 -9
- bl_operators/geometry_nodes/__init__.pyi +24 -24
- bl_operators/grease_pencil/__init__.pyi +2 -2
- bl_operators/image/__init__.pyi +7 -7
- bl_operators/image_as_planes/__init__.pyi +32 -32
- bl_operators/mesh/__init__.pyi +7 -7
- bl_operators/node/__init__.pyi +31 -31
- bl_operators/node_editor/node_functions/__init__.pyi +9 -9
- bl_operators/object/__init__.pyi +31 -31
- bl_operators/object_align/__init__.pyi +5 -5
- bl_operators/object_quick_effects/__init__.pyi +9 -9
- bl_operators/object_randomize_transform/__init__.pyi +3 -3
- bl_operators/presets/__init__.pyi +18 -18
- bl_operators/rigidbody/__init__.pyi +7 -7
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
- bl_operators/sequencer/__init__.pyi +19 -19
- bl_operators/spreadsheet/__init__.pyi +4 -4
- bl_operators/userpref/__init__.pyi +42 -42
- bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
- bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
- bl_operators/uvcalc_transform/__init__.pyi +20 -20
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
- bl_operators/view3d/__init__.pyi +21 -19
- bl_operators/wm/__init__.pyi +88 -88
- bl_operators/world/__init__.pyi +2 -2
- bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/external_editor/__init__.pyi +1 -1
- bl_ui/__init__.pyi +10 -10
- bl_ui/anim/__init__.pyi +2 -2
- bl_ui/asset_shelf/__init__.pyi +2 -2
- bl_ui/generic_ui_list/__init__.pyi +6 -6
- bl_ui/node_add_menu/__init__.pyi +15 -13
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
- bl_ui/node_add_menu_shader/__init__.pyi +16 -16
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +10 -8
- bl_ui/properties_constraint/__init__.pyi +125 -125
- bl_ui/properties_data_armature/__init__.pyi +22 -22
- bl_ui/properties_data_bone/__init__.pyi +20 -20
- bl_ui/properties_data_camera/__init__.pyi +19 -19
- bl_ui/properties_data_curve/__init__.pyi +23 -23
- bl_ui/properties_data_curves/__init__.pyi +9 -9
- bl_ui/properties_data_empty/__init__.pyi +4 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
- bl_ui/properties_data_lattice/__init__.pyi +4 -4
- bl_ui/properties_data_light/__init__.pyi +14 -14
- bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +26 -26
- bl_ui/properties_data_metaball/__init__.pyi +6 -6
- bl_ui/properties_data_modifier/__init__.pyi +12 -12
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
- bl_ui/properties_data_speaker/__init__.pyi +5 -5
- bl_ui/properties_data_volume/__init__.pyi +9 -9
- bl_ui/properties_freestyle/__init__.pyi +51 -51
- bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
- bl_ui/properties_mask_common/__init__.pyi +24 -24
- bl_ui/properties_material/__init__.pyi +27 -27
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +29 -29
- bl_ui/properties_output/__init__.pyi +29 -29
- bl_ui/properties_paint_common/__init__.pyi +59 -49
- bl_ui/properties_particle/__init__.pyi +101 -101
- bl_ui/properties_physics_cloth/__init__.pyi +20 -20
- bl_ui/properties_physics_common/__init__.pyi +8 -8
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
- bl_ui/properties_physics_field/__init__.pyi +23 -23
- bl_ui/properties_physics_fluid/__init__.pyi +76 -76
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
- bl_ui/properties_physics_softbody/__init__.pyi +21 -21
- bl_ui/properties_render/__init__.pyi +81 -81
- bl_ui/properties_scene/__init__.pyi +22 -22
- bl_ui/properties_texture/__init__.pyi +39 -39
- bl_ui/properties_view_layer/__init__.pyi +12 -12
- bl_ui/properties_workspace/__init__.pyi +5 -5
- bl_ui/properties_world/__init__.pyi +18 -18
- bl_ui/space_clip/__init__.pyi +81 -81
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +32 -32
- bl_ui/space_filebrowser/__init__.pyi +45 -45
- bl_ui/space_graph/__init__.pyi +21 -21
- bl_ui/space_image/__init__.pyi +73 -73
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +18 -18
- bl_ui/space_node/__init__.pyi +42 -42
- bl_ui/space_outliner/__init__.pyi +21 -21
- bl_ui/space_properties/__init__.pyi +6 -6
- bl_ui/space_sequencer/__init__.pyi +133 -133
- bl_ui/space_spreadsheet/__init__.pyi +4 -4
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +17 -17
- bl_ui/space_time/__init__.pyi +12 -12
- bl_ui/space_toolsystem_common/__init__.pyi +28 -26
- bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
- bl_ui/space_topbar/__init__.pyi +32 -32
- bl_ui/space_userpref/__init__.pyi +132 -132
- bl_ui/space_view3d/__init__.pyi +297 -297
- bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
- bl_ui/utils/__init__.pyi +5 -5
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +2 -2
- blf/__init__.pyi +15 -15
- bmesh/__init__.pyi +1 -1
- bmesh/ops/__init__.pyi +366 -357
- bmesh/types/__init__.pyi +59 -57
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/__init__.pyi +5 -5
- bpy/app/icons/__init__.pyi +1 -1
- bpy/app/timers/__init__.pyi +2 -2
- bpy/app/translations/__init__.pyi +9 -9
- bpy/msgbus/__init__.pyi +3 -3
- bpy/ops/action/__init__.pyi +62 -38
- bpy/ops/anim/__init__.pyi +63 -61
- bpy/ops/armature/__init__.pyi +58 -48
- bpy/ops/asset/__init__.pyi +31 -17
- bpy/ops/boid/__init__.pyi +18 -8
- bpy/ops/brush/__init__.pyi +19 -13
- bpy/ops/buttons/__init__.pyi +14 -6
- bpy/ops/cachefile/__init__.pyi +9 -5
- bpy/ops/camera/__init__.pyi +2 -2
- bpy/ops/clip/__init__.pyi +112 -92
- bpy/ops/cloth/__init__.pyi +1 -1
- bpy/ops/collection/__init__.pyi +11 -9
- bpy/ops/console/__init__.pyi +37 -21
- bpy/ops/constraint/__init__.pyi +20 -18
- bpy/ops/curve/__init__.pyi +81 -51
- bpy/ops/curves/__init__.pyi +50 -30
- bpy/ops/cycles/__init__.pyi +3 -3
- bpy/ops/dpaint/__init__.pyi +5 -5
- bpy/ops/ed/__init__.pyi +19 -13
- bpy/ops/export_anim/__init__.pyi +1 -1
- bpy/ops/export_scene/__init__.pyi +2 -2
- bpy/ops/extensions/__init__.pyi +38 -32
- bpy/ops/file/__init__.pyi +72 -40
- bpy/ops/fluid/__init__.pyi +36 -14
- bpy/ops/font/__init__.pyi +41 -23
- bpy/ops/geometry/__init__.pyi +10 -10
- bpy/ops/gizmogroup/__init__.pyi +4 -2
- bpy/ops/gpencil/__init__.pyi +12 -8
- bpy/ops/graph/__init__.pyi +81 -65
- bpy/ops/grease_pencil/__init__.pyi +159 -115
- bpy/ops/image/__init__.pyi +63 -49
- bpy/ops/import_anim/__init__.pyi +1 -1
- bpy/ops/import_curve/__init__.pyi +1 -1
- bpy/ops/import_scene/__init__.pyi +2 -2
- bpy/ops/info/__init__.pyi +13 -7
- bpy/ops/lattice/__init__.pyi +14 -8
- bpy/ops/marker/__init__.pyi +13 -11
- bpy/ops/mask/__init__.pyi +59 -39
- bpy/ops/material/__init__.pyi +3 -3
- bpy/ops/mball/__init__.pyi +8 -8
- bpy/ops/mesh/__init__.pyi +182 -164
- bpy/ops/nla/__init__.pyi +65 -39
- bpy/ops/node/__init__.pyi +181 -147
- bpy/ops/object/__init__.pyi +262 -242
- bpy/ops/outliner/__init__.pyi +98 -72
- bpy/ops/paint/__init__.pyi +58 -54
- bpy/ops/paintcurve/__init__.pyi +12 -8
- bpy/ops/palette/__init__.pyi +11 -7
- bpy/ops/particle/__init__.pyi +58 -36
- bpy/ops/pointcloud/__init__.pyi +13 -7
- bpy/ops/pose/__init__.pyi +65 -51
- bpy/ops/poselib/__init__.pyi +17 -11
- bpy/ops/preferences/__init__.pyi +41 -35
- bpy/ops/ptcache/__init__.pyi +13 -7
- bpy/ops/render/__init__.pyi +17 -13
- bpy/ops/rigidbody/__init__.pyi +19 -13
- bpy/ops/scene/__init__.pyi +39 -37
- bpy/ops/screen/__init__.pyi +59 -39
- bpy/ops/script/__init__.pyi +5 -3
- bpy/ops/sculpt/__init__.pyi +44 -40
- bpy/ops/sculpt_curves/__init__.pyi +4 -4
- bpy/ops/sequencer/__init__.pyi +142 -100
- bpy/ops/sound/__init__.pyi +7 -7
- bpy/ops/spreadsheet/__init__.pyi +13 -7
- bpy/ops/surface/__init__.pyi +6 -6
- bpy/ops/text/__init__.pyi +73 -43
- bpy/ops/text_editor/__init__.pyi +1 -1
- bpy/ops/texture/__init__.pyi +8 -4
- bpy/ops/transform/__init__.pyi +29 -27
- bpy/ops/ui/__init__.pyi +42 -34
- bpy/ops/uilist/__init__.pyi +3 -3
- bpy/ops/uv/__init__.pyi +59 -49
- bpy/ops/view2d/__init__.pyi +14 -14
- bpy/ops/view3d/__init__.pyi +87 -67
- bpy/ops/wm/__init__.pyi +138 -116
- bpy/ops/workspace/__init__.pyi +11 -7
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +16 -13
- bpy/types/__init__.pyi +1220 -1157
- bpy/utils/__init__.pyi +23 -23
- bpy/utils/previews/__init__.pyi +3 -3
- bpy_extras/anim_utils/__init__.pyi +7 -7
- bpy_extras/bmesh_utils/__init__.pyi +1 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/io_utils/__init__.pyi +14 -12
- bpy_extras/keyconfig_utils/__init__.pyi +3 -3
- bpy_extras/mesh_utils/__init__.pyi +2 -2
- bpy_extras/node_shader_utils/__init__.pyi +63 -63
- bpy_extras/node_utils/__init__.pyi +3 -3
- bpy_extras/object_utils/__init__.pyi +4 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
- bpy_types/__init__.pyi +4 -4
- console_python/__init__.pyi +7 -7
- console_shell/__init__.pyi +5 -5
- {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/METADATA +1 -1
- fake_bpy_module-20250606.dist-info/RECORD +367 -0
- freestyle/chainingiterators/__init__.pyi +35 -33
- freestyle/functions/__init__.pyi +55 -55
- freestyle/predicates/__init__.pyi +8 -8
- freestyle/shaders/__init__.pyi +79 -75
- freestyle/types/__init__.pyi +146 -142
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +25 -25
- gpu/matrix/__init__.pyi +14 -14
- gpu/select/__init__.pyi +1 -1
- gpu/shader/__init__.pyi +1 -1
- gpu/state/__init__.pyi +19 -19
- gpu/types/__init__.pyi +50 -44
- gpu_extras/presets/__init__.pyi +2 -2
- graphviz_export/__init__.pyi +2 -2
- idprop/types/__init__.pyi +9 -9
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -3
- keyingsets_builtins/__init__.pyi +26 -26
- keyingsets_utils/__init__.pyi +14 -14
- mathutils/__init__.pyi +61 -53
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/kdtree/__init__.pyi +3 -3
- mathutils/noise/__init__.pyi +1 -1
- nodeitems_builtins/__init__.pyi +4 -4
- nodeitems_utils/__init__.pyi +9 -9
- rna_info/__init__.pyi +25 -25
- rna_keymap_ui/__init__.pyi +6 -6
- rna_prop_ui/__init__.pyi +12 -12
- rna_xml/__init__.pyi +6 -6
- fake_bpy_module-20250603.dist-info/RECORD +0 -367
- {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/top_level.txt +0 -0
bpy/ops/object/__init__.pyi
CHANGED
|
@@ -27,7 +27,7 @@ def add(
|
|
|
27
27
|
0.0,
|
|
28
28
|
),
|
|
29
29
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
30
|
-
):
|
|
30
|
+
) -> None:
|
|
31
31
|
"""Add an object to the scene
|
|
32
32
|
|
|
33
33
|
:type execution_context: int | str | None
|
|
@@ -59,7 +59,7 @@ def add(
|
|
|
59
59
|
|
|
60
60
|
def add_modifier_menu(
|
|
61
61
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
62
|
-
):
|
|
62
|
+
) -> None:
|
|
63
63
|
"""Undocumented, consider contributing.
|
|
64
64
|
|
|
65
65
|
:type execution_context: int | str | None
|
|
@@ -84,7 +84,7 @@ def add_named(
|
|
|
84
84
|
),
|
|
85
85
|
drop_x: int | None = 0,
|
|
86
86
|
drop_y: int | None = 0,
|
|
87
|
-
):
|
|
87
|
+
) -> None:
|
|
88
88
|
"""Add named object
|
|
89
89
|
|
|
90
90
|
:type execution_context: int | str | None
|
|
@@ -112,7 +112,7 @@ def align(
|
|
|
112
112
|
align_mode: typing.Literal["OPT_1", "OPT_2", "OPT_3"] | None = "OPT_2",
|
|
113
113
|
relative_to: typing.Literal["OPT_1", "OPT_2", "OPT_3", "OPT_4"] | None = "OPT_4",
|
|
114
114
|
align_axis: set[typing.Literal["X", "Y", "Z"]] | None = {},
|
|
115
|
-
):
|
|
115
|
+
) -> None:
|
|
116
116
|
"""Align objects
|
|
117
117
|
|
|
118
118
|
:type execution_context: int | str | None
|
|
@@ -141,7 +141,7 @@ def align(
|
|
|
141
141
|
|
|
142
142
|
def anim_transforms_to_deltas(
|
|
143
143
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
144
|
-
):
|
|
144
|
+
) -> None:
|
|
145
145
|
"""Convert object animation for normal transforms to delta transforms
|
|
146
146
|
|
|
147
147
|
:type execution_context: int | str | None
|
|
@@ -167,7 +167,7 @@ def armature_add(
|
|
|
167
167
|
0.0,
|
|
168
168
|
),
|
|
169
169
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
170
|
-
):
|
|
170
|
+
) -> None:
|
|
171
171
|
"""Add an armature object to the scene
|
|
172
172
|
|
|
173
173
|
:type execution_context: int | str | None
|
|
@@ -202,7 +202,7 @@ def assign_property_defaults(
|
|
|
202
202
|
*,
|
|
203
203
|
process_data: bool | None = True,
|
|
204
204
|
process_bones: bool | None = True,
|
|
205
|
-
):
|
|
205
|
+
) -> None:
|
|
206
206
|
"""Assign the current values of custom properties as their defaults, for use as part of the rest pose state in NLA track mixing
|
|
207
207
|
|
|
208
208
|
:type execution_context: int | str | None
|
|
@@ -240,7 +240,7 @@ def bake(
|
|
|
240
240
|
use_split_materials: bool | None = False,
|
|
241
241
|
use_automatic_name: bool | None = False,
|
|
242
242
|
uv_layer: str = "",
|
|
243
|
-
):
|
|
243
|
+
) -> None:
|
|
244
244
|
"""Bake image textures of selected objects
|
|
245
245
|
|
|
246
246
|
:type execution_context: int | str | None
|
|
@@ -291,7 +291,9 @@ def bake(
|
|
|
291
291
|
:type uv_layer: str
|
|
292
292
|
"""
|
|
293
293
|
|
|
294
|
-
def bake_image(
|
|
294
|
+
def bake_image(
|
|
295
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
296
|
+
) -> None:
|
|
295
297
|
"""Bake image textures of selected objects
|
|
296
298
|
|
|
297
299
|
:type execution_context: int | str | None
|
|
@@ -316,7 +318,7 @@ def camera_add(
|
|
|
316
318
|
0.0,
|
|
317
319
|
),
|
|
318
320
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
319
|
-
):
|
|
321
|
+
) -> None:
|
|
320
322
|
"""Add a camera object to the scene
|
|
321
323
|
|
|
322
324
|
:type execution_context: int | str | None
|
|
@@ -344,7 +346,7 @@ def camera_add(
|
|
|
344
346
|
|
|
345
347
|
def camera_custom_update(
|
|
346
348
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
347
|
-
):
|
|
349
|
+
) -> None:
|
|
348
350
|
"""Update custom camera with new parameters from the shader
|
|
349
351
|
|
|
350
352
|
:type execution_context: int | str | None
|
|
@@ -353,7 +355,7 @@ def camera_custom_update(
|
|
|
353
355
|
|
|
354
356
|
def clear_override_library(
|
|
355
357
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
356
|
-
):
|
|
358
|
+
) -> None:
|
|
357
359
|
"""Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable
|
|
358
360
|
|
|
359
361
|
:type execution_context: int | str | None
|
|
@@ -362,7 +364,7 @@ def clear_override_library(
|
|
|
362
364
|
|
|
363
365
|
def collection_add(
|
|
364
366
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
365
|
-
):
|
|
367
|
+
) -> None:
|
|
366
368
|
"""Add an object to a new collection
|
|
367
369
|
|
|
368
370
|
:type execution_context: int | str | None
|
|
@@ -391,7 +393,7 @@ def collection_external_asset_drop(
|
|
|
391
393
|
drop_x: int | None = 0,
|
|
392
394
|
drop_y: int | None = 0,
|
|
393
395
|
collection: str | None = "",
|
|
394
|
-
):
|
|
396
|
+
) -> None:
|
|
395
397
|
"""Add the dragged collection to the scene
|
|
396
398
|
|
|
397
399
|
:type execution_context: int | str | None
|
|
@@ -447,7 +449,7 @@ def collection_instance_add(
|
|
|
447
449
|
session_uid: int | None = 0,
|
|
448
450
|
drop_x: int | None = 0,
|
|
449
451
|
drop_y: int | None = 0,
|
|
450
|
-
):
|
|
452
|
+
) -> None:
|
|
451
453
|
"""Add a collection instance
|
|
452
454
|
|
|
453
455
|
:type execution_context: int | str | None
|
|
@@ -487,7 +489,7 @@ def collection_link(
|
|
|
487
489
|
/,
|
|
488
490
|
*,
|
|
489
491
|
collection: str | None = "",
|
|
490
|
-
):
|
|
492
|
+
) -> None:
|
|
491
493
|
"""Add an object to an existing collection
|
|
492
494
|
|
|
493
495
|
:type execution_context: int | str | None
|
|
@@ -498,7 +500,7 @@ def collection_link(
|
|
|
498
500
|
|
|
499
501
|
def collection_objects_select(
|
|
500
502
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
501
|
-
):
|
|
503
|
+
) -> None:
|
|
502
504
|
"""Select all objects in collection
|
|
503
505
|
|
|
504
506
|
:type execution_context: int | str | None
|
|
@@ -507,7 +509,7 @@ def collection_objects_select(
|
|
|
507
509
|
|
|
508
510
|
def collection_remove(
|
|
509
511
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
510
|
-
):
|
|
512
|
+
) -> None:
|
|
511
513
|
"""Remove the active object from this collection
|
|
512
514
|
|
|
513
515
|
:type execution_context: int | str | None
|
|
@@ -516,7 +518,7 @@ def collection_remove(
|
|
|
516
518
|
|
|
517
519
|
def collection_unlink(
|
|
518
520
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
519
|
-
):
|
|
521
|
+
) -> None:
|
|
520
522
|
"""Unlink the collection from all objects
|
|
521
523
|
|
|
522
524
|
:type execution_context: int | str | None
|
|
@@ -529,7 +531,7 @@ def constraint_add(
|
|
|
529
531
|
/,
|
|
530
532
|
*,
|
|
531
533
|
type: str | None = "",
|
|
532
|
-
):
|
|
534
|
+
) -> None:
|
|
533
535
|
"""Add a constraint to the active object
|
|
534
536
|
|
|
535
537
|
:type execution_context: int | str | None
|
|
@@ -544,7 +546,7 @@ def constraint_add_with_targets(
|
|
|
544
546
|
/,
|
|
545
547
|
*,
|
|
546
548
|
type: str | None = "",
|
|
547
|
-
):
|
|
549
|
+
) -> None:
|
|
548
550
|
"""Add a constraint to the active object, with target (where applicable) set to the selected objects/bones
|
|
549
551
|
|
|
550
552
|
:type execution_context: int | str | None
|
|
@@ -555,7 +557,7 @@ def constraint_add_with_targets(
|
|
|
555
557
|
|
|
556
558
|
def constraints_clear(
|
|
557
559
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
558
|
-
):
|
|
560
|
+
) -> None:
|
|
559
561
|
"""Clear all constraints from the selected objects
|
|
560
562
|
|
|
561
563
|
:type execution_context: int | str | None
|
|
@@ -564,7 +566,7 @@ def constraints_clear(
|
|
|
564
566
|
|
|
565
567
|
def constraints_copy(
|
|
566
568
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
567
|
-
):
|
|
569
|
+
) -> None:
|
|
568
570
|
"""Copy constraints to other selected objects
|
|
569
571
|
|
|
570
572
|
:type execution_context: int | str | None
|
|
@@ -583,7 +585,7 @@ def convert(
|
|
|
583
585
|
thickness: int | None = 5,
|
|
584
586
|
faces: bool | None = True,
|
|
585
587
|
offset: float | None = 0.01,
|
|
586
|
-
):
|
|
588
|
+
) -> None:
|
|
587
589
|
"""Convert selected objects to another type
|
|
588
590
|
|
|
589
591
|
:type execution_context: int | str | None
|
|
@@ -623,7 +625,7 @@ def correctivesmooth_bind(
|
|
|
623
625
|
/,
|
|
624
626
|
*,
|
|
625
627
|
modifier: str = "",
|
|
626
|
-
):
|
|
628
|
+
) -> None:
|
|
627
629
|
"""Bind base pose in Corrective Smooth modifier
|
|
628
630
|
|
|
629
631
|
:type execution_context: int | str | None
|
|
@@ -649,7 +651,7 @@ def curves_empty_hair_add(
|
|
|
649
651
|
0.0,
|
|
650
652
|
),
|
|
651
653
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
652
|
-
):
|
|
654
|
+
) -> None:
|
|
653
655
|
"""Add an empty curve object to the scene with the selected mesh as surface
|
|
654
656
|
|
|
655
657
|
:type execution_context: int | str | None
|
|
@@ -690,7 +692,7 @@ def curves_random_add(
|
|
|
690
692
|
0.0,
|
|
691
693
|
),
|
|
692
694
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
693
|
-
):
|
|
695
|
+
) -> None:
|
|
694
696
|
"""Add a curves object with random curves to the scene
|
|
695
697
|
|
|
696
698
|
:type execution_context: int | str | None
|
|
@@ -736,7 +738,7 @@ def data_instance_add(
|
|
|
736
738
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
737
739
|
drop_x: int | None = 0,
|
|
738
740
|
drop_y: int | None = 0,
|
|
739
|
-
):
|
|
741
|
+
) -> None:
|
|
740
742
|
"""Add an object data instance
|
|
741
743
|
|
|
742
744
|
:type execution_context: int | str | None
|
|
@@ -811,7 +813,7 @@ def data_transfer(
|
|
|
811
813
|
| None = "ACTIVE",
|
|
812
814
|
mix_mode: bpy.stub_internal.rna_enums.DtMixModeItems | None = "REPLACE",
|
|
813
815
|
mix_factor: float | None = 1.0,
|
|
814
|
-
):
|
|
816
|
+
) -> None:
|
|
815
817
|
"""Transfer data layer(s) (weights, edge sharp, etc.) from active to selected meshes
|
|
816
818
|
|
|
817
819
|
:type execution_context: int | str | None
|
|
@@ -920,7 +922,7 @@ def datalayout_transfer(
|
|
|
920
922
|
| None = "ACTIVE",
|
|
921
923
|
layers_select_dst: bpy.stub_internal.rna_enums.DtLayersSelectDstItems
|
|
922
924
|
| None = "ACTIVE",
|
|
923
|
-
):
|
|
925
|
+
) -> None:
|
|
924
926
|
"""Transfer layout of data layer(s) from active to selected meshes
|
|
925
927
|
|
|
926
928
|
:type execution_context: int | str | None
|
|
@@ -983,7 +985,7 @@ def delete(
|
|
|
983
985
|
*,
|
|
984
986
|
use_global: bool | None = False,
|
|
985
987
|
confirm: bool | None = True,
|
|
986
|
-
):
|
|
988
|
+
) -> None:
|
|
987
989
|
"""Delete selected objects
|
|
988
990
|
|
|
989
991
|
:type execution_context: int | str | None
|
|
@@ -1001,7 +1003,7 @@ def drop_geometry_nodes(
|
|
|
1001
1003
|
*,
|
|
1002
1004
|
session_uid: int | None = 0,
|
|
1003
1005
|
show_datablock_in_modifier: bool | None = True,
|
|
1004
|
-
):
|
|
1006
|
+
) -> None:
|
|
1005
1007
|
"""Undocumented, consider contributing.
|
|
1006
1008
|
|
|
1007
1009
|
:type execution_context: int | str | None
|
|
@@ -1019,7 +1021,7 @@ def drop_named_material(
|
|
|
1019
1021
|
*,
|
|
1020
1022
|
name: str = "",
|
|
1021
1023
|
session_uid: int | None = 0,
|
|
1022
|
-
):
|
|
1024
|
+
) -> None:
|
|
1023
1025
|
"""Undocumented, consider contributing.
|
|
1024
1026
|
|
|
1025
1027
|
:type execution_context: int | str | None
|
|
@@ -1037,7 +1039,7 @@ def duplicate(
|
|
|
1037
1039
|
*,
|
|
1038
1040
|
linked: bool | None = False,
|
|
1039
1041
|
mode: bpy.stub_internal.rna_enums.TransformModeTypeItems | None = "TRANSLATION",
|
|
1040
|
-
):
|
|
1042
|
+
) -> None:
|
|
1041
1043
|
"""Duplicate selected objects
|
|
1042
1044
|
|
|
1043
1045
|
:type execution_context: int | str | None
|
|
@@ -1055,7 +1057,7 @@ def duplicate_move(
|
|
|
1055
1057
|
*,
|
|
1056
1058
|
OBJECT_OT_duplicate: duplicate | None = None,
|
|
1057
1059
|
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
1058
|
-
):
|
|
1060
|
+
) -> None:
|
|
1059
1061
|
"""Duplicate the selected objects and move them
|
|
1060
1062
|
|
|
1061
1063
|
:type execution_context: int | str | None
|
|
@@ -1073,7 +1075,7 @@ def duplicate_move_linked(
|
|
|
1073
1075
|
*,
|
|
1074
1076
|
OBJECT_OT_duplicate: duplicate | None = None,
|
|
1075
1077
|
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
1076
|
-
):
|
|
1078
|
+
) -> None:
|
|
1077
1079
|
"""Duplicate the selected objects, but not their object data, and move them
|
|
1078
1080
|
|
|
1079
1081
|
:type execution_context: int | str | None
|
|
@@ -1091,7 +1093,7 @@ def duplicates_make_real(
|
|
|
1091
1093
|
*,
|
|
1092
1094
|
use_base_parent: bool | None = False,
|
|
1093
1095
|
use_hierarchy: bool | None = False,
|
|
1094
|
-
):
|
|
1096
|
+
) -> None:
|
|
1095
1097
|
"""Make instanced objects attached to this object real
|
|
1096
1098
|
|
|
1097
1099
|
:type execution_context: int | str | None
|
|
@@ -1104,7 +1106,7 @@ def duplicates_make_real(
|
|
|
1104
1106
|
|
|
1105
1107
|
def editmode_toggle(
|
|
1106
1108
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1107
|
-
):
|
|
1109
|
+
) -> None:
|
|
1108
1110
|
"""Toggle object's edit mode
|
|
1109
1111
|
|
|
1110
1112
|
:type execution_context: int | str | None
|
|
@@ -1146,7 +1148,7 @@ def effector_add(
|
|
|
1146
1148
|
0.0,
|
|
1147
1149
|
),
|
|
1148
1150
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1149
|
-
):
|
|
1151
|
+
) -> None:
|
|
1150
1152
|
"""Add an empty object with a physics effector to the scene
|
|
1151
1153
|
|
|
1152
1154
|
:type execution_context: int | str | None
|
|
@@ -1195,7 +1197,7 @@ def empty_add(
|
|
|
1195
1197
|
0.0,
|
|
1196
1198
|
),
|
|
1197
1199
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1198
|
-
):
|
|
1200
|
+
) -> None:
|
|
1199
1201
|
"""Add an empty object to the scene
|
|
1200
1202
|
|
|
1201
1203
|
:type execution_context: int | str | None
|
|
@@ -1280,7 +1282,7 @@ def empty_image_add(
|
|
|
1280
1282
|
),
|
|
1281
1283
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1282
1284
|
background: bool | None = False,
|
|
1283
|
-
):
|
|
1285
|
+
) -> None:
|
|
1284
1286
|
"""Add an empty image type to scene with data
|
|
1285
1287
|
|
|
1286
1288
|
:type execution_context: int | str | None
|
|
@@ -1398,7 +1400,7 @@ def explode_refresh(
|
|
|
1398
1400
|
/,
|
|
1399
1401
|
*,
|
|
1400
1402
|
modifier: str = "",
|
|
1401
|
-
):
|
|
1403
|
+
) -> None:
|
|
1402
1404
|
"""Refresh data in the Explode modifier
|
|
1403
1405
|
|
|
1404
1406
|
:type execution_context: int | str | None
|
|
@@ -1409,7 +1411,7 @@ def explode_refresh(
|
|
|
1409
1411
|
|
|
1410
1412
|
def forcefield_toggle(
|
|
1411
1413
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1412
|
-
):
|
|
1414
|
+
) -> None:
|
|
1413
1415
|
"""Toggle object's force field
|
|
1414
1416
|
|
|
1415
1417
|
:type execution_context: int | str | None
|
|
@@ -1424,7 +1426,7 @@ def geometry_node_bake_delete_single(
|
|
|
1424
1426
|
session_uid: int | None = 0,
|
|
1425
1427
|
modifier_name: str = "",
|
|
1426
1428
|
bake_id: int | None = 0,
|
|
1427
|
-
):
|
|
1429
|
+
) -> None:
|
|
1428
1430
|
"""Delete baked data of a single bake node or simulation
|
|
1429
1431
|
|
|
1430
1432
|
:type execution_context: int | str | None
|
|
@@ -1445,7 +1447,7 @@ def geometry_node_bake_pack_single(
|
|
|
1445
1447
|
session_uid: int | None = 0,
|
|
1446
1448
|
modifier_name: str = "",
|
|
1447
1449
|
bake_id: int | None = 0,
|
|
1448
|
-
):
|
|
1450
|
+
) -> None:
|
|
1449
1451
|
"""Pack baked data from disk into the .blend file
|
|
1450
1452
|
|
|
1451
1453
|
:type execution_context: int | str | None
|
|
@@ -1466,7 +1468,7 @@ def geometry_node_bake_single(
|
|
|
1466
1468
|
session_uid: int | None = 0,
|
|
1467
1469
|
modifier_name: str = "",
|
|
1468
1470
|
bake_id: int | None = 0,
|
|
1469
|
-
):
|
|
1471
|
+
) -> None:
|
|
1470
1472
|
"""Bake a single bake node or simulation
|
|
1471
1473
|
|
|
1472
1474
|
:type execution_context: int | str | None
|
|
@@ -1489,7 +1491,7 @@ def geometry_node_bake_unpack_single(
|
|
|
1489
1491
|
bake_id: int | None = 0,
|
|
1490
1492
|
method: typing.Literal["USE_LOCAL", "WRITE_LOCAL", "USE_ORIGINAL", "WRITE_ORIGINAL"]
|
|
1491
1493
|
| None = "USE_LOCAL",
|
|
1492
|
-
):
|
|
1494
|
+
) -> None:
|
|
1493
1495
|
"""Unpack baked data from the .blend file to disk
|
|
1494
1496
|
|
|
1495
1497
|
:type execution_context: int | str | None
|
|
@@ -1506,7 +1508,7 @@ def geometry_node_bake_unpack_single(
|
|
|
1506
1508
|
|
|
1507
1509
|
def geometry_node_tree_copy_assign(
|
|
1508
1510
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1509
|
-
):
|
|
1511
|
+
) -> None:
|
|
1510
1512
|
"""Copy the active geometry node group and assign it to the active modifier
|
|
1511
1513
|
|
|
1512
1514
|
:type execution_context: int | str | None
|
|
@@ -1520,7 +1522,7 @@ def geometry_nodes_input_attribute_toggle(
|
|
|
1520
1522
|
*,
|
|
1521
1523
|
input_name: str = "",
|
|
1522
1524
|
modifier_name: str = "",
|
|
1523
|
-
):
|
|
1525
|
+
) -> None:
|
|
1524
1526
|
"""Switch between an attribute and a single value to define the data for every element
|
|
1525
1527
|
|
|
1526
1528
|
:type execution_context: int | str | None
|
|
@@ -1537,7 +1539,7 @@ def geometry_nodes_move_to_nodes(
|
|
|
1537
1539
|
/,
|
|
1538
1540
|
*,
|
|
1539
1541
|
use_selected_objects: bool | None = False,
|
|
1540
|
-
):
|
|
1542
|
+
) -> None:
|
|
1541
1543
|
"""Move inputs and outputs from in the modifier to a new node group
|
|
1542
1544
|
|
|
1543
1545
|
:type execution_context: int | str | None
|
|
@@ -1569,7 +1571,7 @@ def grease_pencil_add(
|
|
|
1569
1571
|
0.0,
|
|
1570
1572
|
),
|
|
1571
1573
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1572
|
-
):
|
|
1574
|
+
) -> None:
|
|
1573
1575
|
"""Add a Grease Pencil object to the scene
|
|
1574
1576
|
|
|
1575
1577
|
:type execution_context: int | str | None
|
|
@@ -1617,7 +1619,7 @@ def grease_pencil_dash_modifier_segment_add(
|
|
|
1617
1619
|
/,
|
|
1618
1620
|
*,
|
|
1619
1621
|
modifier: str = "",
|
|
1620
|
-
):
|
|
1622
|
+
) -> None:
|
|
1621
1623
|
"""Add a segment to the dash modifier
|
|
1622
1624
|
|
|
1623
1625
|
:type execution_context: int | str | None
|
|
@@ -1633,7 +1635,7 @@ def grease_pencil_dash_modifier_segment_move(
|
|
|
1633
1635
|
*,
|
|
1634
1636
|
modifier: str = "",
|
|
1635
1637
|
type: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
1636
|
-
):
|
|
1638
|
+
) -> None:
|
|
1637
1639
|
"""Move the active dash segment up or down
|
|
1638
1640
|
|
|
1639
1641
|
:type execution_context: int | str | None
|
|
@@ -1651,7 +1653,7 @@ def grease_pencil_dash_modifier_segment_remove(
|
|
|
1651
1653
|
*,
|
|
1652
1654
|
modifier: str = "",
|
|
1653
1655
|
index: int | None = 0,
|
|
1654
|
-
):
|
|
1656
|
+
) -> None:
|
|
1655
1657
|
"""Remove the active segment from the dash modifier
|
|
1656
1658
|
|
|
1657
1659
|
:type execution_context: int | str | None
|
|
@@ -1668,7 +1670,7 @@ def grease_pencil_time_modifier_segment_add(
|
|
|
1668
1670
|
/,
|
|
1669
1671
|
*,
|
|
1670
1672
|
modifier: str = "",
|
|
1671
|
-
):
|
|
1673
|
+
) -> None:
|
|
1672
1674
|
"""Add a segment to the time modifier
|
|
1673
1675
|
|
|
1674
1676
|
:type execution_context: int | str | None
|
|
@@ -1684,7 +1686,7 @@ def grease_pencil_time_modifier_segment_move(
|
|
|
1684
1686
|
*,
|
|
1685
1687
|
modifier: str = "",
|
|
1686
1688
|
type: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
1687
|
-
):
|
|
1689
|
+
) -> None:
|
|
1688
1690
|
"""Move the active time segment up or down
|
|
1689
1691
|
|
|
1690
1692
|
:type execution_context: int | str | None
|
|
@@ -1702,7 +1704,7 @@ def grease_pencil_time_modifier_segment_remove(
|
|
|
1702
1704
|
*,
|
|
1703
1705
|
modifier: str = "",
|
|
1704
1706
|
index: int | None = 0,
|
|
1705
|
-
):
|
|
1707
|
+
) -> None:
|
|
1706
1708
|
"""Remove the active segment from the time modifier
|
|
1707
1709
|
|
|
1708
1710
|
:type execution_context: int | str | None
|
|
@@ -1721,7 +1723,7 @@ def hide_collection(
|
|
|
1721
1723
|
collection_index: int | None = -1,
|
|
1722
1724
|
toggle: bool | None = False,
|
|
1723
1725
|
extend: bool | None = False,
|
|
1724
|
-
):
|
|
1726
|
+
) -> None:
|
|
1725
1727
|
"""Show only objects in collection (Shift to extend)
|
|
1726
1728
|
|
|
1727
1729
|
:type execution_context: int | str | None
|
|
@@ -1736,7 +1738,7 @@ def hide_collection(
|
|
|
1736
1738
|
|
|
1737
1739
|
def hide_render_clear_all(
|
|
1738
1740
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1739
|
-
):
|
|
1741
|
+
) -> None:
|
|
1740
1742
|
"""Reveal all render objects by setting the hide render flag
|
|
1741
1743
|
|
|
1742
1744
|
:type execution_context: int | str | None
|
|
@@ -1749,7 +1751,7 @@ def hide_view_clear(
|
|
|
1749
1751
|
/,
|
|
1750
1752
|
*,
|
|
1751
1753
|
select: bool | None = True,
|
|
1752
|
-
):
|
|
1754
|
+
) -> None:
|
|
1753
1755
|
"""Reveal temporarily hidden objects
|
|
1754
1756
|
|
|
1755
1757
|
:type execution_context: int | str | None
|
|
@@ -1764,7 +1766,7 @@ def hide_view_set(
|
|
|
1764
1766
|
/,
|
|
1765
1767
|
*,
|
|
1766
1768
|
unselected: bool | None = False,
|
|
1767
|
-
):
|
|
1769
|
+
) -> None:
|
|
1768
1770
|
"""Temporarily hide objects from the viewport
|
|
1769
1771
|
|
|
1770
1772
|
:type execution_context: int | str | None
|
|
@@ -1775,7 +1777,7 @@ def hide_view_set(
|
|
|
1775
1777
|
|
|
1776
1778
|
def hook_add_newob(
|
|
1777
1779
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1778
|
-
):
|
|
1780
|
+
) -> None:
|
|
1779
1781
|
"""Hook selected vertices to a newly created object
|
|
1780
1782
|
|
|
1781
1783
|
:type execution_context: int | str | None
|
|
@@ -1788,7 +1790,7 @@ def hook_add_selob(
|
|
|
1788
1790
|
/,
|
|
1789
1791
|
*,
|
|
1790
1792
|
use_bone: bool | None = False,
|
|
1791
|
-
):
|
|
1793
|
+
) -> None:
|
|
1792
1794
|
"""Hook selected vertices to the first selected object
|
|
1793
1795
|
|
|
1794
1796
|
:type execution_context: int | str | None
|
|
@@ -1803,7 +1805,7 @@ def hook_assign(
|
|
|
1803
1805
|
/,
|
|
1804
1806
|
*,
|
|
1805
1807
|
modifier: str | None = "",
|
|
1806
|
-
):
|
|
1808
|
+
) -> None:
|
|
1807
1809
|
"""Assign the selected vertices to a hook
|
|
1808
1810
|
|
|
1809
1811
|
:type execution_context: int | str | None
|
|
@@ -1818,7 +1820,7 @@ def hook_recenter(
|
|
|
1818
1820
|
/,
|
|
1819
1821
|
*,
|
|
1820
1822
|
modifier: str | None = "",
|
|
1821
|
-
):
|
|
1823
|
+
) -> None:
|
|
1822
1824
|
"""Set hook center to cursor position
|
|
1823
1825
|
|
|
1824
1826
|
:type execution_context: int | str | None
|
|
@@ -1833,7 +1835,7 @@ def hook_remove(
|
|
|
1833
1835
|
/,
|
|
1834
1836
|
*,
|
|
1835
1837
|
modifier: str | None = "",
|
|
1836
|
-
):
|
|
1838
|
+
) -> None:
|
|
1837
1839
|
"""Remove a hook from the active object
|
|
1838
1840
|
|
|
1839
1841
|
:type execution_context: int | str | None
|
|
@@ -1848,7 +1850,7 @@ def hook_reset(
|
|
|
1848
1850
|
/,
|
|
1849
1851
|
*,
|
|
1850
1852
|
modifier: str | None = "",
|
|
1851
|
-
):
|
|
1853
|
+
) -> None:
|
|
1852
1854
|
"""Recalculate and clear offset transformation
|
|
1853
1855
|
|
|
1854
1856
|
:type execution_context: int | str | None
|
|
@@ -1863,7 +1865,7 @@ def hook_select(
|
|
|
1863
1865
|
/,
|
|
1864
1866
|
*,
|
|
1865
1867
|
modifier: str | None = "",
|
|
1866
|
-
):
|
|
1868
|
+
) -> None:
|
|
1867
1869
|
"""Select affected vertices on mesh
|
|
1868
1870
|
|
|
1869
1871
|
:type execution_context: int | str | None
|
|
@@ -1874,7 +1876,7 @@ def hook_select(
|
|
|
1874
1876
|
|
|
1875
1877
|
def instance_offset_from_cursor(
|
|
1876
1878
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1877
|
-
):
|
|
1879
|
+
) -> None:
|
|
1878
1880
|
"""Set offset used for collection instances based on cursor position
|
|
1879
1881
|
|
|
1880
1882
|
:type execution_context: int | str | None
|
|
@@ -1883,7 +1885,7 @@ def instance_offset_from_cursor(
|
|
|
1883
1885
|
|
|
1884
1886
|
def instance_offset_from_object(
|
|
1885
1887
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1886
|
-
):
|
|
1888
|
+
) -> None:
|
|
1887
1889
|
"""Set offset used for collection instances based on the active object position
|
|
1888
1890
|
|
|
1889
1891
|
:type execution_context: int | str | None
|
|
@@ -1892,7 +1894,7 @@ def instance_offset_from_object(
|
|
|
1892
1894
|
|
|
1893
1895
|
def instance_offset_to_cursor(
|
|
1894
1896
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1895
|
-
):
|
|
1897
|
+
) -> None:
|
|
1896
1898
|
"""Set cursor position to the offset used for collection instances
|
|
1897
1899
|
|
|
1898
1900
|
:type execution_context: int | str | None
|
|
@@ -1901,28 +1903,32 @@ def instance_offset_to_cursor(
|
|
|
1901
1903
|
|
|
1902
1904
|
def isolate_type_render(
|
|
1903
1905
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1904
|
-
):
|
|
1906
|
+
) -> None:
|
|
1905
1907
|
"""Hide unselected render objects of same type as active by setting the hide render flag
|
|
1906
1908
|
|
|
1907
1909
|
:type execution_context: int | str | None
|
|
1908
1910
|
:type undo: bool | None
|
|
1909
1911
|
"""
|
|
1910
1912
|
|
|
1911
|
-
def join(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1913
|
+
def join(execution_context: int | str | None = None, undo: bool | None = None) -> None:
|
|
1912
1914
|
"""Join selected objects into active object
|
|
1913
1915
|
|
|
1914
1916
|
:type execution_context: int | str | None
|
|
1915
1917
|
:type undo: bool | None
|
|
1916
1918
|
"""
|
|
1917
1919
|
|
|
1918
|
-
def join_shapes(
|
|
1920
|
+
def join_shapes(
|
|
1921
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1922
|
+
) -> None:
|
|
1919
1923
|
"""Add the vertex positions of selected objects as shape keys or update existing shape keys with matching names
|
|
1920
1924
|
|
|
1921
1925
|
:type execution_context: int | str | None
|
|
1922
1926
|
:type undo: bool | None
|
|
1923
1927
|
"""
|
|
1924
1928
|
|
|
1925
|
-
def join_uvs(
|
|
1929
|
+
def join_uvs(
|
|
1930
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1931
|
+
) -> None:
|
|
1926
1932
|
"""Transfer UV Maps from active to selected objects (needs matching geometry)
|
|
1927
1933
|
|
|
1928
1934
|
:type execution_context: int | str | None
|
|
@@ -1935,7 +1941,7 @@ def laplaciandeform_bind(
|
|
|
1935
1941
|
/,
|
|
1936
1942
|
*,
|
|
1937
1943
|
modifier: str = "",
|
|
1938
|
-
):
|
|
1944
|
+
) -> None:
|
|
1939
1945
|
"""Bind mesh to system in laplacian deform modifier
|
|
1940
1946
|
|
|
1941
1947
|
:type execution_context: int | str | None
|
|
@@ -1963,7 +1969,7 @@ def light_add(
|
|
|
1963
1969
|
0.0,
|
|
1964
1970
|
),
|
|
1965
1971
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1966
|
-
):
|
|
1972
|
+
) -> None:
|
|
1967
1973
|
"""Add a light object to the scene
|
|
1968
1974
|
|
|
1969
1975
|
:type execution_context: int | str | None
|
|
@@ -1993,7 +1999,7 @@ def light_add(
|
|
|
1993
1999
|
|
|
1994
2000
|
def light_linking_blocker_collection_new(
|
|
1995
2001
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1996
|
-
):
|
|
2002
|
+
) -> None:
|
|
1997
2003
|
"""Create new light linking collection used by the active emitter
|
|
1998
2004
|
|
|
1999
2005
|
:type execution_context: int | str | None
|
|
@@ -2006,7 +2012,7 @@ def light_linking_blockers_link(
|
|
|
2006
2012
|
/,
|
|
2007
2013
|
*,
|
|
2008
2014
|
link_state: typing.Literal["INCLUDE", "EXCLUDE"] | None = "INCLUDE",
|
|
2009
|
-
):
|
|
2015
|
+
) -> None:
|
|
2010
2016
|
"""Light link selected blockers to the active emitter object
|
|
2011
2017
|
|
|
2012
2018
|
:type execution_context: int | str | None
|
|
@@ -2023,7 +2029,7 @@ def light_linking_blockers_link(
|
|
|
2023
2029
|
|
|
2024
2030
|
def light_linking_blockers_select(
|
|
2025
2031
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2026
|
-
):
|
|
2032
|
+
) -> None:
|
|
2027
2033
|
"""Select all objects which block light from this emitter
|
|
2028
2034
|
|
|
2029
2035
|
:type execution_context: int | str | None
|
|
@@ -2032,7 +2038,7 @@ def light_linking_blockers_select(
|
|
|
2032
2038
|
|
|
2033
2039
|
def light_linking_receiver_collection_new(
|
|
2034
2040
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2035
|
-
):
|
|
2041
|
+
) -> None:
|
|
2036
2042
|
"""Create new light linking collection used by the active emitter
|
|
2037
2043
|
|
|
2038
2044
|
:type execution_context: int | str | None
|
|
@@ -2045,7 +2051,7 @@ def light_linking_receivers_link(
|
|
|
2045
2051
|
/,
|
|
2046
2052
|
*,
|
|
2047
2053
|
link_state: typing.Literal["INCLUDE", "EXCLUDE"] | None = "INCLUDE",
|
|
2048
|
-
):
|
|
2054
|
+
) -> None:
|
|
2049
2055
|
"""Light link selected receivers to the active emitter object
|
|
2050
2056
|
|
|
2051
2057
|
:type execution_context: int | str | None
|
|
@@ -2062,7 +2068,7 @@ def light_linking_receivers_link(
|
|
|
2062
2068
|
|
|
2063
2069
|
def light_linking_receivers_select(
|
|
2064
2070
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2065
|
-
):
|
|
2071
|
+
) -> None:
|
|
2066
2072
|
"""Select all objects which receive light from this emitter
|
|
2067
2073
|
|
|
2068
2074
|
:type execution_context: int | str | None
|
|
@@ -2071,7 +2077,7 @@ def light_linking_receivers_select(
|
|
|
2071
2077
|
|
|
2072
2078
|
def light_linking_unlink_from_collection(
|
|
2073
2079
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2074
|
-
):
|
|
2080
|
+
) -> None:
|
|
2075
2081
|
"""Remove this object or collection from the light linking collection
|
|
2076
2082
|
|
|
2077
2083
|
:type execution_context: int | str | None
|
|
@@ -2098,7 +2104,7 @@ def lightprobe_add(
|
|
|
2098
2104
|
0.0,
|
|
2099
2105
|
),
|
|
2100
2106
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2101
|
-
):
|
|
2107
|
+
) -> None:
|
|
2102
2108
|
"""Add a light probe object
|
|
2103
2109
|
|
|
2104
2110
|
:type execution_context: int | str | None
|
|
@@ -2143,7 +2149,7 @@ def lightprobe_cache_bake(
|
|
|
2143
2149
|
/,
|
|
2144
2150
|
*,
|
|
2145
2151
|
subset: typing.Literal["ALL", "SELECTED", "ACTIVE"] | None = "ALL",
|
|
2146
|
-
):
|
|
2152
|
+
) -> None:
|
|
2147
2153
|
"""Bake irradiance volume light cache
|
|
2148
2154
|
|
|
2149
2155
|
:type execution_context: int | str | None
|
|
@@ -2167,7 +2173,7 @@ def lightprobe_cache_free(
|
|
|
2167
2173
|
/,
|
|
2168
2174
|
*,
|
|
2169
2175
|
subset: typing.Literal["ALL", "SELECTED", "ACTIVE"] | None = "SELECTED",
|
|
2170
|
-
):
|
|
2176
|
+
) -> None:
|
|
2171
2177
|
"""Delete cached indirect lighting
|
|
2172
2178
|
|
|
2173
2179
|
:type execution_context: int | str | None
|
|
@@ -2191,7 +2197,7 @@ def lineart_bake_strokes(
|
|
|
2191
2197
|
/,
|
|
2192
2198
|
*,
|
|
2193
2199
|
bake_all: bool | None = False,
|
|
2194
|
-
):
|
|
2200
|
+
) -> None:
|
|
2195
2201
|
"""Bake Line Art for current Grease Pencil object
|
|
2196
2202
|
|
|
2197
2203
|
:type execution_context: int | str | None
|
|
@@ -2206,7 +2212,7 @@ def lineart_clear(
|
|
|
2206
2212
|
/,
|
|
2207
2213
|
*,
|
|
2208
2214
|
clear_all: bool | None = False,
|
|
2209
|
-
):
|
|
2215
|
+
) -> None:
|
|
2210
2216
|
"""Clear all strokes in current Grease Pencil object
|
|
2211
2217
|
|
|
2212
2218
|
:type execution_context: int | str | None
|
|
@@ -2223,7 +2229,7 @@ def link_to_collection(
|
|
|
2223
2229
|
collection_index: int | None = -1,
|
|
2224
2230
|
is_new: bool | None = False,
|
|
2225
2231
|
new_collection_name: str = "",
|
|
2226
|
-
):
|
|
2232
|
+
) -> None:
|
|
2227
2233
|
"""Link objects to a collection
|
|
2228
2234
|
|
|
2229
2235
|
:type execution_context: int | str | None
|
|
@@ -2242,7 +2248,7 @@ def location_clear(
|
|
|
2242
2248
|
/,
|
|
2243
2249
|
*,
|
|
2244
2250
|
clear_delta: bool | None = False,
|
|
2245
|
-
):
|
|
2251
|
+
) -> None:
|
|
2246
2252
|
"""Clear the object's location
|
|
2247
2253
|
|
|
2248
2254
|
:type execution_context: int | str | None
|
|
@@ -2253,7 +2259,7 @@ def location_clear(
|
|
|
2253
2259
|
|
|
2254
2260
|
def make_dupli_face(
|
|
2255
2261
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2256
|
-
):
|
|
2262
|
+
) -> None:
|
|
2257
2263
|
"""Convert objects into instanced faces
|
|
2258
2264
|
|
|
2259
2265
|
:type execution_context: int | str | None
|
|
@@ -2276,7 +2282,7 @@ def make_links_data(
|
|
|
2276
2282
|
"EFFECTS",
|
|
2277
2283
|
]
|
|
2278
2284
|
| None = "OBDATA",
|
|
2279
|
-
):
|
|
2285
|
+
) -> None:
|
|
2280
2286
|
"""Transfer data from active object to selected objects
|
|
2281
2287
|
|
|
2282
2288
|
:type execution_context: int | str | None
|
|
@@ -2315,7 +2321,7 @@ def make_links_scene(
|
|
|
2315
2321
|
/,
|
|
2316
2322
|
*,
|
|
2317
2323
|
scene: str | None = "",
|
|
2318
|
-
):
|
|
2324
|
+
) -> None:
|
|
2319
2325
|
"""Link selection to another scene
|
|
2320
2326
|
|
|
2321
2327
|
:type execution_context: int | str | None
|
|
@@ -2333,7 +2339,7 @@ def make_local(
|
|
|
2333
2339
|
"SELECT_OBJECT", "SELECT_OBDATA", "SELECT_OBDATA_MATERIAL", "ALL"
|
|
2334
2340
|
]
|
|
2335
2341
|
| None = "SELECT_OBJECT",
|
|
2336
|
-
):
|
|
2342
|
+
) -> None:
|
|
2337
2343
|
"""Make library linked data-blocks local to this file
|
|
2338
2344
|
|
|
2339
2345
|
:type execution_context: int | str | None
|
|
@@ -2348,7 +2354,7 @@ def make_override_library(
|
|
|
2348
2354
|
/,
|
|
2349
2355
|
*,
|
|
2350
2356
|
collection: int | None = 0,
|
|
2351
|
-
):
|
|
2357
|
+
) -> None:
|
|
2352
2358
|
"""Create a local override of the selected linked objects, and their hierarchy of dependencies
|
|
2353
2359
|
|
|
2354
2360
|
:type execution_context: int | str | None
|
|
@@ -2368,7 +2374,7 @@ def make_single_user(
|
|
|
2368
2374
|
material: bool | None = False,
|
|
2369
2375
|
animation: bool | None = False,
|
|
2370
2376
|
obdata_animation: bool | None = False,
|
|
2371
|
-
):
|
|
2377
|
+
) -> None:
|
|
2372
2378
|
"""Make linked data local to each object
|
|
2373
2379
|
|
|
2374
2380
|
:type execution_context: int | str | None
|
|
@@ -2389,7 +2395,7 @@ def make_single_user(
|
|
|
2389
2395
|
|
|
2390
2396
|
def material_slot_add(
|
|
2391
2397
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2392
|
-
):
|
|
2398
|
+
) -> None:
|
|
2393
2399
|
"""Add a new material slot
|
|
2394
2400
|
|
|
2395
2401
|
:type execution_context: int | str | None
|
|
@@ -2398,7 +2404,7 @@ def material_slot_add(
|
|
|
2398
2404
|
|
|
2399
2405
|
def material_slot_assign(
|
|
2400
2406
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2401
|
-
):
|
|
2407
|
+
) -> None:
|
|
2402
2408
|
"""Assign active material slot to selection
|
|
2403
2409
|
|
|
2404
2410
|
:type execution_context: int | str | None
|
|
@@ -2407,7 +2413,7 @@ def material_slot_assign(
|
|
|
2407
2413
|
|
|
2408
2414
|
def material_slot_copy(
|
|
2409
2415
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2410
|
-
):
|
|
2416
|
+
) -> None:
|
|
2411
2417
|
"""Copy material to selected objects
|
|
2412
2418
|
|
|
2413
2419
|
:type execution_context: int | str | None
|
|
@@ -2416,7 +2422,7 @@ def material_slot_copy(
|
|
|
2416
2422
|
|
|
2417
2423
|
def material_slot_deselect(
|
|
2418
2424
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2419
|
-
):
|
|
2425
|
+
) -> None:
|
|
2420
2426
|
"""Deselect by active material slot
|
|
2421
2427
|
|
|
2422
2428
|
:type execution_context: int | str | None
|
|
@@ -2429,7 +2435,7 @@ def material_slot_move(
|
|
|
2429
2435
|
/,
|
|
2430
2436
|
*,
|
|
2431
2437
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
2432
|
-
):
|
|
2438
|
+
) -> None:
|
|
2433
2439
|
"""Move the active material up/down in the list
|
|
2434
2440
|
|
|
2435
2441
|
:type execution_context: int | str | None
|
|
@@ -2440,7 +2446,7 @@ def material_slot_move(
|
|
|
2440
2446
|
|
|
2441
2447
|
def material_slot_remove(
|
|
2442
2448
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2443
|
-
):
|
|
2449
|
+
) -> None:
|
|
2444
2450
|
"""Remove the selected material slot
|
|
2445
2451
|
|
|
2446
2452
|
:type execution_context: int | str | None
|
|
@@ -2449,7 +2455,7 @@ def material_slot_remove(
|
|
|
2449
2455
|
|
|
2450
2456
|
def material_slot_remove_all(
|
|
2451
2457
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2452
|
-
):
|
|
2458
|
+
) -> None:
|
|
2453
2459
|
"""Remove all materials
|
|
2454
2460
|
|
|
2455
2461
|
:type execution_context: int | str | None
|
|
@@ -2458,7 +2464,7 @@ def material_slot_remove_all(
|
|
|
2458
2464
|
|
|
2459
2465
|
def material_slot_remove_unused(
|
|
2460
2466
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2461
|
-
):
|
|
2467
|
+
) -> None:
|
|
2462
2468
|
"""Remove unused material slots
|
|
2463
2469
|
|
|
2464
2470
|
:type execution_context: int | str | None
|
|
@@ -2467,7 +2473,7 @@ def material_slot_remove_unused(
|
|
|
2467
2473
|
|
|
2468
2474
|
def material_slot_select(
|
|
2469
2475
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2470
|
-
):
|
|
2476
|
+
) -> None:
|
|
2471
2477
|
"""Select by active material slot
|
|
2472
2478
|
|
|
2473
2479
|
:type execution_context: int | str | None
|
|
@@ -2480,7 +2486,7 @@ def meshdeform_bind(
|
|
|
2480
2486
|
/,
|
|
2481
2487
|
*,
|
|
2482
2488
|
modifier: str = "",
|
|
2483
|
-
):
|
|
2489
|
+
) -> None:
|
|
2484
2490
|
"""Bind mesh to cage in mesh deform modifier
|
|
2485
2491
|
|
|
2486
2492
|
:type execution_context: int | str | None
|
|
@@ -2509,7 +2515,7 @@ def metaball_add(
|
|
|
2509
2515
|
0.0,
|
|
2510
2516
|
),
|
|
2511
2517
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2512
|
-
):
|
|
2518
|
+
) -> None:
|
|
2513
2519
|
"""Add an metaball object to the scene
|
|
2514
2520
|
|
|
2515
2521
|
:type execution_context: int | str | None
|
|
@@ -2546,7 +2552,7 @@ def mode_set(
|
|
|
2546
2552
|
*,
|
|
2547
2553
|
mode: bpy.stub_internal.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2548
2554
|
toggle: bool | None = False,
|
|
2549
|
-
):
|
|
2555
|
+
) -> None:
|
|
2550
2556
|
"""Sets the object interaction mode
|
|
2551
2557
|
|
|
2552
2558
|
:type execution_context: int | str | None
|
|
@@ -2565,7 +2571,7 @@ def mode_set_with_submode(
|
|
|
2565
2571
|
mode: bpy.stub_internal.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2566
2572
|
toggle: bool | None = False,
|
|
2567
2573
|
mesh_select_mode: set[bpy.stub_internal.rna_enums.MeshSelectModeItems] | None = {},
|
|
2568
|
-
):
|
|
2574
|
+
) -> None:
|
|
2569
2575
|
"""Sets the object interaction mode
|
|
2570
2576
|
|
|
2571
2577
|
:type execution_context: int | str | None
|
|
@@ -2585,7 +2591,7 @@ def modifier_add(
|
|
|
2585
2591
|
*,
|
|
2586
2592
|
type: bpy.stub_internal.rna_enums.ObjectModifierTypeItems | None = "SUBSURF",
|
|
2587
2593
|
use_selected_objects: bool | None = False,
|
|
2588
|
-
):
|
|
2594
|
+
) -> None:
|
|
2589
2595
|
"""Add a procedural operation/effect to the active object
|
|
2590
2596
|
|
|
2591
2597
|
:type execution_context: int | str | None
|
|
@@ -2607,7 +2613,7 @@ def modifier_add_node_group(
|
|
|
2607
2613
|
relative_asset_identifier: str = "",
|
|
2608
2614
|
session_uid: int | None = 0,
|
|
2609
2615
|
use_selected_objects: bool | None = False,
|
|
2610
|
-
):
|
|
2616
|
+
) -> None:
|
|
2611
2617
|
"""Add a procedural operation/effect to the active object
|
|
2612
2618
|
|
|
2613
2619
|
:type execution_context: int | str | None
|
|
@@ -2635,7 +2641,7 @@ def modifier_apply(
|
|
|
2635
2641
|
single_user: bool | None = False,
|
|
2636
2642
|
all_keyframes: bool | None = False,
|
|
2637
2643
|
use_selected_objects: bool | None = False,
|
|
2638
|
-
):
|
|
2644
|
+
) -> None:
|
|
2639
2645
|
"""Apply modifier and remove from the stack
|
|
2640
2646
|
|
|
2641
2647
|
:type execution_context: int | str | None
|
|
@@ -2663,7 +2669,7 @@ def modifier_apply_as_shapekey(
|
|
|
2663
2669
|
modifier: str = "",
|
|
2664
2670
|
report: bool | None = False,
|
|
2665
2671
|
use_selected_objects: bool | None = False,
|
|
2666
|
-
):
|
|
2672
|
+
) -> None:
|
|
2667
2673
|
"""Apply modifier as a new shape key and remove from the stack
|
|
2668
2674
|
|
|
2669
2675
|
:type execution_context: int | str | None
|
|
@@ -2684,7 +2690,7 @@ def modifier_convert(
|
|
|
2684
2690
|
/,
|
|
2685
2691
|
*,
|
|
2686
2692
|
modifier: str = "",
|
|
2687
|
-
):
|
|
2693
|
+
) -> None:
|
|
2688
2694
|
"""Convert particles to a mesh object
|
|
2689
2695
|
|
|
2690
2696
|
:type execution_context: int | str | None
|
|
@@ -2700,7 +2706,7 @@ def modifier_copy(
|
|
|
2700
2706
|
*,
|
|
2701
2707
|
modifier: str = "",
|
|
2702
2708
|
use_selected_objects: bool | None = False,
|
|
2703
|
-
):
|
|
2709
|
+
) -> None:
|
|
2704
2710
|
"""Duplicate modifier at the same position in the stack
|
|
2705
2711
|
|
|
2706
2712
|
:type execution_context: int | str | None
|
|
@@ -2717,7 +2723,7 @@ def modifier_copy_to_selected(
|
|
|
2717
2723
|
/,
|
|
2718
2724
|
*,
|
|
2719
2725
|
modifier: str = "",
|
|
2720
|
-
):
|
|
2726
|
+
) -> None:
|
|
2721
2727
|
"""Copy the modifier from the active object to all selected objects
|
|
2722
2728
|
|
|
2723
2729
|
:type execution_context: int | str | None
|
|
@@ -2732,7 +2738,7 @@ def modifier_move_down(
|
|
|
2732
2738
|
/,
|
|
2733
2739
|
*,
|
|
2734
2740
|
modifier: str = "",
|
|
2735
|
-
):
|
|
2741
|
+
) -> None:
|
|
2736
2742
|
"""Move modifier down in the stack
|
|
2737
2743
|
|
|
2738
2744
|
:type execution_context: int | str | None
|
|
@@ -2749,7 +2755,7 @@ def modifier_move_to_index(
|
|
|
2749
2755
|
modifier: str = "",
|
|
2750
2756
|
index: int | None = 0,
|
|
2751
2757
|
use_selected_objects: bool | None = False,
|
|
2752
|
-
):
|
|
2758
|
+
) -> None:
|
|
2753
2759
|
"""Change the modifier's index in the stack so it evaluates after the set number of others
|
|
2754
2760
|
|
|
2755
2761
|
:type execution_context: int | str | None
|
|
@@ -2768,7 +2774,7 @@ def modifier_move_up(
|
|
|
2768
2774
|
/,
|
|
2769
2775
|
*,
|
|
2770
2776
|
modifier: str = "",
|
|
2771
|
-
):
|
|
2777
|
+
) -> None:
|
|
2772
2778
|
"""Move modifier up in the stack
|
|
2773
2779
|
|
|
2774
2780
|
:type execution_context: int | str | None
|
|
@@ -2785,7 +2791,7 @@ def modifier_remove(
|
|
|
2785
2791
|
modifier: str = "",
|
|
2786
2792
|
report: bool | None = False,
|
|
2787
2793
|
use_selected_objects: bool | None = False,
|
|
2788
|
-
):
|
|
2794
|
+
) -> None:
|
|
2789
2795
|
"""Remove a modifier from the active object
|
|
2790
2796
|
|
|
2791
2797
|
:type execution_context: int | str | None
|
|
@@ -2804,7 +2810,7 @@ def modifier_set_active(
|
|
|
2804
2810
|
/,
|
|
2805
2811
|
*,
|
|
2806
2812
|
modifier: str = "",
|
|
2807
|
-
):
|
|
2813
|
+
) -> None:
|
|
2808
2814
|
"""Activate the modifier to use as the context
|
|
2809
2815
|
|
|
2810
2816
|
:type execution_context: int | str | None
|
|
@@ -2815,7 +2821,7 @@ def modifier_set_active(
|
|
|
2815
2821
|
|
|
2816
2822
|
def modifiers_clear(
|
|
2817
2823
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2818
|
-
):
|
|
2824
|
+
) -> None:
|
|
2819
2825
|
"""Clear all modifiers from the selected objects
|
|
2820
2826
|
|
|
2821
2827
|
:type execution_context: int | str | None
|
|
@@ -2824,7 +2830,7 @@ def modifiers_clear(
|
|
|
2824
2830
|
|
|
2825
2831
|
def modifiers_copy_to_selected(
|
|
2826
2832
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2827
|
-
):
|
|
2833
|
+
) -> None:
|
|
2828
2834
|
"""Copy modifiers to other selected objects
|
|
2829
2835
|
|
|
2830
2836
|
:type execution_context: int | str | None
|
|
@@ -2839,7 +2845,7 @@ def move_to_collection(
|
|
|
2839
2845
|
collection_index: int | None = -1,
|
|
2840
2846
|
is_new: bool | None = False,
|
|
2841
2847
|
new_collection_name: str = "",
|
|
2842
|
-
):
|
|
2848
|
+
) -> None:
|
|
2843
2849
|
"""Move objects to a collection
|
|
2844
2850
|
|
|
2845
2851
|
:type execution_context: int | str | None
|
|
@@ -2858,7 +2864,7 @@ def multires_base_apply(
|
|
|
2858
2864
|
/,
|
|
2859
2865
|
*,
|
|
2860
2866
|
modifier: str = "",
|
|
2861
|
-
):
|
|
2867
|
+
) -> None:
|
|
2862
2868
|
"""Modify the base mesh to conform to the displaced mesh
|
|
2863
2869
|
|
|
2864
2870
|
:type execution_context: int | str | None
|
|
@@ -2869,7 +2875,7 @@ def multires_base_apply(
|
|
|
2869
2875
|
|
|
2870
2876
|
def multires_external_pack(
|
|
2871
2877
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2872
|
-
):
|
|
2878
|
+
) -> None:
|
|
2873
2879
|
"""Pack displacements from an external file
|
|
2874
2880
|
|
|
2875
2881
|
:type execution_context: int | str | None
|
|
@@ -2909,7 +2915,7 @@ def multires_external_save(
|
|
|
2909
2915
|
| None = "DEFAULT",
|
|
2910
2916
|
sort_method: str | None = "",
|
|
2911
2917
|
modifier: str = "",
|
|
2912
|
-
):
|
|
2918
|
+
) -> None:
|
|
2913
2919
|
"""Save displacements to an external file
|
|
2914
2920
|
|
|
2915
2921
|
:type execution_context: int | str | None
|
|
@@ -2984,7 +2990,7 @@ def multires_higher_levels_delete(
|
|
|
2984
2990
|
/,
|
|
2985
2991
|
*,
|
|
2986
2992
|
modifier: str = "",
|
|
2987
|
-
):
|
|
2993
|
+
) -> None:
|
|
2988
2994
|
"""Deletes the higher resolution mesh, potential loss of detail
|
|
2989
2995
|
|
|
2990
2996
|
:type execution_context: int | str | None
|
|
@@ -2999,7 +3005,7 @@ def multires_rebuild_subdiv(
|
|
|
2999
3005
|
/,
|
|
3000
3006
|
*,
|
|
3001
3007
|
modifier: str = "",
|
|
3002
|
-
):
|
|
3008
|
+
) -> None:
|
|
3003
3009
|
"""Rebuilds all possible subdivisions levels to generate a lower resolution base mesh
|
|
3004
3010
|
|
|
3005
3011
|
:type execution_context: int | str | None
|
|
@@ -3014,7 +3020,7 @@ def multires_reshape(
|
|
|
3014
3020
|
/,
|
|
3015
3021
|
*,
|
|
3016
3022
|
modifier: str = "",
|
|
3017
|
-
):
|
|
3023
|
+
) -> None:
|
|
3018
3024
|
"""Copy vertex coordinates from other object
|
|
3019
3025
|
|
|
3020
3026
|
:type execution_context: int | str | None
|
|
@@ -3030,7 +3036,7 @@ def multires_subdivide(
|
|
|
3030
3036
|
*,
|
|
3031
3037
|
modifier: str = "",
|
|
3032
3038
|
mode: typing.Literal["CATMULL_CLARK", "SIMPLE", "LINEAR"] | None = "CATMULL_CLARK",
|
|
3033
|
-
):
|
|
3039
|
+
) -> None:
|
|
3034
3040
|
"""Add a new level of subdivision
|
|
3035
3041
|
|
|
3036
3042
|
:type execution_context: int | str | None
|
|
@@ -3056,7 +3062,7 @@ def multires_unsubdivide(
|
|
|
3056
3062
|
/,
|
|
3057
3063
|
*,
|
|
3058
3064
|
modifier: str = "",
|
|
3059
|
-
):
|
|
3065
|
+
) -> None:
|
|
3060
3066
|
"""Rebuild a lower subdivision level of the current base mesh
|
|
3061
3067
|
|
|
3062
3068
|
:type execution_context: int | str | None
|
|
@@ -3072,7 +3078,7 @@ def ocean_bake(
|
|
|
3072
3078
|
*,
|
|
3073
3079
|
modifier: str = "",
|
|
3074
3080
|
free: bool | None = False,
|
|
3075
|
-
):
|
|
3081
|
+
) -> None:
|
|
3076
3082
|
"""Bake an image sequence of ocean data
|
|
3077
3083
|
|
|
3078
3084
|
:type execution_context: int | str | None
|
|
@@ -3083,7 +3089,9 @@ def ocean_bake(
|
|
|
3083
3089
|
:type free: bool | None
|
|
3084
3090
|
"""
|
|
3085
3091
|
|
|
3086
|
-
def origin_clear(
|
|
3092
|
+
def origin_clear(
|
|
3093
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3094
|
+
) -> None:
|
|
3087
3095
|
"""Clear the object's origin
|
|
3088
3096
|
|
|
3089
3097
|
:type execution_context: int | str | None
|
|
@@ -3104,7 +3112,7 @@ def origin_set(
|
|
|
3104
3112
|
]
|
|
3105
3113
|
| None = "GEOMETRY_ORIGIN",
|
|
3106
3114
|
center: typing.Literal["MEDIAN", "BOUNDS"] | None = "MEDIAN",
|
|
3107
|
-
):
|
|
3115
|
+
) -> None:
|
|
3108
3116
|
"""Set the object's origin, by either moving the data, or set to center of data, or use 3D cursor
|
|
3109
3117
|
|
|
3110
3118
|
:type execution_context: int | str | None
|
|
@@ -3137,7 +3145,7 @@ def parent_clear(
|
|
|
3137
3145
|
*,
|
|
3138
3146
|
type: typing.Literal["CLEAR", "CLEAR_KEEP_TRANSFORM", "CLEAR_INVERSE"]
|
|
3139
3147
|
| None = "CLEAR",
|
|
3140
|
-
):
|
|
3148
|
+
) -> None:
|
|
3141
3149
|
"""Clear the object's parenting
|
|
3142
3150
|
|
|
3143
3151
|
:type execution_context: int | str | None
|
|
@@ -3157,7 +3165,7 @@ def parent_clear(
|
|
|
3157
3165
|
|
|
3158
3166
|
def parent_inverse_apply(
|
|
3159
3167
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3160
|
-
):
|
|
3168
|
+
) -> None:
|
|
3161
3169
|
"""Apply the object's parent inverse to its data
|
|
3162
3170
|
|
|
3163
3171
|
:type execution_context: int | str | None
|
|
@@ -3170,7 +3178,7 @@ def parent_no_inverse_set(
|
|
|
3170
3178
|
/,
|
|
3171
3179
|
*,
|
|
3172
3180
|
keep_transform: bool | None = False,
|
|
3173
|
-
):
|
|
3181
|
+
) -> None:
|
|
3174
3182
|
"""Set the object's parenting without setting the inverse parent correction
|
|
3175
3183
|
|
|
3176
3184
|
:type execution_context: int | str | None
|
|
@@ -3202,7 +3210,7 @@ def parent_set(
|
|
|
3202
3210
|
| None = "OBJECT",
|
|
3203
3211
|
xmirror: bool | None = False,
|
|
3204
3212
|
keep_transform: bool | None = False,
|
|
3205
|
-
):
|
|
3213
|
+
) -> None:
|
|
3206
3214
|
"""Set the object's parenting
|
|
3207
3215
|
|
|
3208
3216
|
:type execution_context: int | str | None
|
|
@@ -3217,7 +3225,7 @@ def parent_set(
|
|
|
3217
3225
|
|
|
3218
3226
|
def particle_system_add(
|
|
3219
3227
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3220
|
-
):
|
|
3228
|
+
) -> None:
|
|
3221
3229
|
"""Add a particle system
|
|
3222
3230
|
|
|
3223
3231
|
:type execution_context: int | str | None
|
|
@@ -3226,7 +3234,7 @@ def particle_system_add(
|
|
|
3226
3234
|
|
|
3227
3235
|
def particle_system_remove(
|
|
3228
3236
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3229
|
-
):
|
|
3237
|
+
) -> None:
|
|
3230
3238
|
"""Remove the selected particle system
|
|
3231
3239
|
|
|
3232
3240
|
:type execution_context: int | str | None
|
|
@@ -3241,7 +3249,7 @@ def paths_calculate(
|
|
|
3241
3249
|
display_type: bpy.stub_internal.rna_enums.MotionpathDisplayTypeItems
|
|
3242
3250
|
| None = "RANGE",
|
|
3243
3251
|
range: bpy.stub_internal.rna_enums.MotionpathRangeItems | None = "SCENE",
|
|
3244
|
-
):
|
|
3252
|
+
) -> None:
|
|
3245
3253
|
"""Generate motion paths for the selected objects
|
|
3246
3254
|
|
|
3247
3255
|
:type execution_context: int | str | None
|
|
@@ -3258,7 +3266,7 @@ def paths_clear(
|
|
|
3258
3266
|
/,
|
|
3259
3267
|
*,
|
|
3260
3268
|
only_selected: bool | None = False,
|
|
3261
|
-
):
|
|
3269
|
+
) -> None:
|
|
3262
3270
|
"""Undocumented, consider contributing.
|
|
3263
3271
|
|
|
3264
3272
|
:type execution_context: int | str | None
|
|
@@ -3267,7 +3275,9 @@ def paths_clear(
|
|
|
3267
3275
|
:type only_selected: bool | None
|
|
3268
3276
|
"""
|
|
3269
3277
|
|
|
3270
|
-
def paths_update(
|
|
3278
|
+
def paths_update(
|
|
3279
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3280
|
+
) -> None:
|
|
3271
3281
|
"""Recalculate motion paths for selected objects
|
|
3272
3282
|
|
|
3273
3283
|
:type execution_context: int | str | None
|
|
@@ -3276,7 +3286,7 @@ def paths_update(execution_context: int | str | None = None, undo: bool | None =
|
|
|
3276
3286
|
|
|
3277
3287
|
def paths_update_visible(
|
|
3278
3288
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3279
|
-
):
|
|
3289
|
+
) -> None:
|
|
3280
3290
|
"""Recalculate all visible motion paths for objects and poses
|
|
3281
3291
|
|
|
3282
3292
|
:type execution_context: int | str | None
|
|
@@ -3300,7 +3310,7 @@ def pointcloud_random_add(
|
|
|
3300
3310
|
0.0,
|
|
3301
3311
|
),
|
|
3302
3312
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
3303
|
-
):
|
|
3313
|
+
) -> None:
|
|
3304
3314
|
"""Add a point cloud object to the scene
|
|
3305
3315
|
|
|
3306
3316
|
:type execution_context: int | str | None
|
|
@@ -3326,7 +3336,7 @@ def pointcloud_random_add(
|
|
|
3326
3336
|
|
|
3327
3337
|
def posemode_toggle(
|
|
3328
3338
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3329
|
-
):
|
|
3339
|
+
) -> None:
|
|
3330
3340
|
"""Enable or disable posing/selecting bones
|
|
3331
3341
|
|
|
3332
3342
|
:type execution_context: int | str | None
|
|
@@ -3349,7 +3359,7 @@ def quadriflow_remesh(
|
|
|
3349
3359
|
target_faces: int | None = 4000,
|
|
3350
3360
|
mesh_area: float | None = -1.0,
|
|
3351
3361
|
seed: int | None = 0,
|
|
3352
|
-
):
|
|
3362
|
+
) -> None:
|
|
3353
3363
|
"""Create a new quad based mesh using the surface data of the current mesh. All data layers will be lost
|
|
3354
3364
|
|
|
3355
3365
|
:type execution_context: int | str | None
|
|
@@ -3399,7 +3409,7 @@ def quick_explode(
|
|
|
3399
3409
|
frame_end: int | None = 10,
|
|
3400
3410
|
velocity: float | None = 1.0,
|
|
3401
3411
|
fade: bool | None = True,
|
|
3402
|
-
):
|
|
3412
|
+
) -> None:
|
|
3403
3413
|
"""Make selected objects explode
|
|
3404
3414
|
|
|
3405
3415
|
:type execution_context: int | str | None
|
|
@@ -3432,7 +3442,7 @@ def quick_fur(
|
|
|
3432
3442
|
apply_hair_guides: bool | None = True,
|
|
3433
3443
|
use_noise: bool | None = True,
|
|
3434
3444
|
use_frizz: bool | None = True,
|
|
3435
|
-
):
|
|
3445
|
+
) -> None:
|
|
3436
3446
|
"""Add a fur setup to the selected objects
|
|
3437
3447
|
|
|
3438
3448
|
:type execution_context: int | str | None
|
|
@@ -3459,7 +3469,7 @@ def quick_liquid(
|
|
|
3459
3469
|
/,
|
|
3460
3470
|
*,
|
|
3461
3471
|
show_flows: bool | None = False,
|
|
3462
|
-
):
|
|
3472
|
+
) -> None:
|
|
3463
3473
|
"""Make selected objects liquid
|
|
3464
3474
|
|
|
3465
3475
|
:type execution_context: int | str | None
|
|
@@ -3475,7 +3485,7 @@ def quick_smoke(
|
|
|
3475
3485
|
*,
|
|
3476
3486
|
style: typing.Literal["SMOKE", "FIRE", "BOTH"] | None = "SMOKE",
|
|
3477
3487
|
show_flows: bool | None = False,
|
|
3478
|
-
):
|
|
3488
|
+
) -> None:
|
|
3479
3489
|
"""Use selected objects as smoke emitters
|
|
3480
3490
|
|
|
3481
3491
|
:type execution_context: int | str | None
|
|
@@ -3500,7 +3510,7 @@ def randomize_transform(
|
|
|
3500
3510
|
use_scale: bool | None = True,
|
|
3501
3511
|
scale_even: bool | None = False,
|
|
3502
3512
|
scale: collections.abc.Iterable[float] | None = (1.0, 1.0, 1.0),
|
|
3503
|
-
):
|
|
3513
|
+
) -> None:
|
|
3504
3514
|
"""Randomize objects location, rotation, and scale
|
|
3505
3515
|
|
|
3506
3516
|
:type execution_context: int | str | None
|
|
@@ -3527,7 +3537,7 @@ def randomize_transform(
|
|
|
3527
3537
|
|
|
3528
3538
|
def reset_override_library(
|
|
3529
3539
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3530
|
-
):
|
|
3540
|
+
) -> None:
|
|
3531
3541
|
"""Reset the selected local overrides to their linked references values
|
|
3532
3542
|
|
|
3533
3543
|
:type execution_context: int | str | None
|
|
@@ -3540,7 +3550,7 @@ def rotation_clear(
|
|
|
3540
3550
|
/,
|
|
3541
3551
|
*,
|
|
3542
3552
|
clear_delta: bool | None = False,
|
|
3543
|
-
):
|
|
3553
|
+
) -> None:
|
|
3544
3554
|
"""Clear the object's rotation
|
|
3545
3555
|
|
|
3546
3556
|
:type execution_context: int | str | None
|
|
@@ -3555,7 +3565,7 @@ def scale_clear(
|
|
|
3555
3565
|
/,
|
|
3556
3566
|
*,
|
|
3557
3567
|
clear_delta: bool | None = False,
|
|
3558
|
-
):
|
|
3568
|
+
) -> None:
|
|
3559
3569
|
"""Clear the object's scale
|
|
3560
3570
|
|
|
3561
3571
|
:type execution_context: int | str | None
|
|
@@ -3570,7 +3580,7 @@ def select_all(
|
|
|
3570
3580
|
/,
|
|
3571
3581
|
*,
|
|
3572
3582
|
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
3573
|
-
):
|
|
3583
|
+
) -> None:
|
|
3574
3584
|
"""Change selection of all visible objects in scene
|
|
3575
3585
|
|
|
3576
3586
|
:type execution_context: int | str | None
|
|
@@ -3598,7 +3608,7 @@ def select_by_type(
|
|
|
3598
3608
|
*,
|
|
3599
3609
|
extend: bool | None = False,
|
|
3600
3610
|
type: bpy.stub_internal.rna_enums.ObjectTypeItems | None = "MESH",
|
|
3601
|
-
):
|
|
3611
|
+
) -> None:
|
|
3602
3612
|
"""Select all visible objects that are of a type
|
|
3603
3613
|
|
|
3604
3614
|
:type execution_context: int | str | None
|
|
@@ -3615,7 +3625,7 @@ def select_camera(
|
|
|
3615
3625
|
/,
|
|
3616
3626
|
*,
|
|
3617
3627
|
extend: bool | None = False,
|
|
3618
|
-
):
|
|
3628
|
+
) -> None:
|
|
3619
3629
|
"""Select the active camera
|
|
3620
3630
|
|
|
3621
3631
|
:type execution_context: int | str | None
|
|
@@ -3644,7 +3654,7 @@ def select_grouped(
|
|
|
3644
3654
|
"LIGHT_TYPE",
|
|
3645
3655
|
]
|
|
3646
3656
|
| None = "CHILDREN_RECURSIVE",
|
|
3647
|
-
):
|
|
3657
|
+
) -> None:
|
|
3648
3658
|
"""Select all visible objects grouped by various properties
|
|
3649
3659
|
|
|
3650
3660
|
:type execution_context: int | str | None
|
|
@@ -3695,7 +3705,7 @@ def select_hierarchy(
|
|
|
3695
3705
|
*,
|
|
3696
3706
|
direction: typing.Literal["PARENT", "CHILD"] | None = "PARENT",
|
|
3697
3707
|
extend: bool | None = False,
|
|
3698
|
-
):
|
|
3708
|
+
) -> None:
|
|
3699
3709
|
"""Select object relative to the active object's position in the hierarchy
|
|
3700
3710
|
|
|
3701
3711
|
:type execution_context: int | str | None
|
|
@@ -3706,7 +3716,9 @@ def select_hierarchy(
|
|
|
3706
3716
|
:type extend: bool | None
|
|
3707
3717
|
"""
|
|
3708
3718
|
|
|
3709
|
-
def select_less(
|
|
3719
|
+
def select_less(
|
|
3720
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3721
|
+
) -> None:
|
|
3710
3722
|
"""Deselect objects at the boundaries of parent/child relationships
|
|
3711
3723
|
|
|
3712
3724
|
:type execution_context: int | str | None
|
|
@@ -3723,7 +3735,7 @@ def select_linked(
|
|
|
3723
3735
|
"OBDATA", "MATERIAL", "DUPGROUP", "PARTICLE", "LIBRARY", "LIBRARY_OBDATA"
|
|
3724
3736
|
]
|
|
3725
3737
|
| None = "OBDATA",
|
|
3726
|
-
):
|
|
3738
|
+
) -> None:
|
|
3727
3739
|
"""Select all visible objects that are linked
|
|
3728
3740
|
|
|
3729
3741
|
:type execution_context: int | str | None
|
|
@@ -3740,7 +3752,7 @@ def select_mirror(
|
|
|
3740
3752
|
/,
|
|
3741
3753
|
*,
|
|
3742
3754
|
extend: bool | None = False,
|
|
3743
|
-
):
|
|
3755
|
+
) -> None:
|
|
3744
3756
|
"""Select the mirror objects of the selected object e.g. "L.sword" and "R.sword"
|
|
3745
3757
|
|
|
3746
3758
|
:type execution_context: int | str | None
|
|
@@ -3749,7 +3761,9 @@ def select_mirror(
|
|
|
3749
3761
|
:type extend: bool | None
|
|
3750
3762
|
"""
|
|
3751
3763
|
|
|
3752
|
-
def select_more(
|
|
3764
|
+
def select_more(
|
|
3765
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3766
|
+
) -> None:
|
|
3753
3767
|
"""Select connected parent/child objects
|
|
3754
3768
|
|
|
3755
3769
|
:type execution_context: int | str | None
|
|
@@ -3764,7 +3778,7 @@ def select_pattern(
|
|
|
3764
3778
|
pattern: str = "*",
|
|
3765
3779
|
case_sensitive: bool | None = False,
|
|
3766
3780
|
extend: bool | None = True,
|
|
3767
|
-
):
|
|
3781
|
+
) -> None:
|
|
3768
3782
|
"""Select objects matching a naming pattern
|
|
3769
3783
|
|
|
3770
3784
|
:type execution_context: int | str | None
|
|
@@ -3785,7 +3799,7 @@ def select_random(
|
|
|
3785
3799
|
ratio: float | None = 0.5,
|
|
3786
3800
|
seed: int | None = 0,
|
|
3787
3801
|
action: typing.Literal["SELECT", "DESELECT"] | None = "SELECT",
|
|
3788
|
-
):
|
|
3802
|
+
) -> None:
|
|
3789
3803
|
"""Select or deselect random visible objects
|
|
3790
3804
|
|
|
3791
3805
|
:type execution_context: int | str | None
|
|
@@ -3810,7 +3824,7 @@ def select_same_collection(
|
|
|
3810
3824
|
/,
|
|
3811
3825
|
*,
|
|
3812
3826
|
collection: str = "",
|
|
3813
|
-
):
|
|
3827
|
+
) -> None:
|
|
3814
3828
|
"""Select object in the same collection
|
|
3815
3829
|
|
|
3816
3830
|
:type execution_context: int | str | None
|
|
@@ -3826,7 +3840,7 @@ def shade_auto_smooth(
|
|
|
3826
3840
|
*,
|
|
3827
3841
|
use_auto_smooth: bool | None = True,
|
|
3828
3842
|
angle: float | None = 0.523599,
|
|
3829
|
-
):
|
|
3843
|
+
) -> None:
|
|
3830
3844
|
"""Add modifier to automatically set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
3831
3845
|
|
|
3832
3846
|
:type execution_context: int | str | None
|
|
@@ -3843,7 +3857,7 @@ def shade_flat(
|
|
|
3843
3857
|
/,
|
|
3844
3858
|
*,
|
|
3845
3859
|
keep_sharp_edges: bool | None = True,
|
|
3846
|
-
):
|
|
3860
|
+
) -> None:
|
|
3847
3861
|
"""Render and display faces uniform, using face normals
|
|
3848
3862
|
|
|
3849
3863
|
:type execution_context: int | str | None
|
|
@@ -3858,7 +3872,7 @@ def shade_smooth(
|
|
|
3858
3872
|
/,
|
|
3859
3873
|
*,
|
|
3860
3874
|
keep_sharp_edges: bool | None = True,
|
|
3861
|
-
):
|
|
3875
|
+
) -> None:
|
|
3862
3876
|
"""Render and display faces smooth, using interpolated vertex normals
|
|
3863
3877
|
|
|
3864
3878
|
:type execution_context: int | str | None
|
|
@@ -3874,7 +3888,7 @@ def shade_smooth_by_angle(
|
|
|
3874
3888
|
*,
|
|
3875
3889
|
angle: float | None = 0.523599,
|
|
3876
3890
|
keep_sharp_edges: bool | None = True,
|
|
3877
|
-
):
|
|
3891
|
+
) -> None:
|
|
3878
3892
|
"""Set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
3879
3893
|
|
|
3880
3894
|
:type execution_context: int | str | None
|
|
@@ -3891,7 +3905,7 @@ def shaderfx_add(
|
|
|
3891
3905
|
/,
|
|
3892
3906
|
*,
|
|
3893
3907
|
type: bpy.stub_internal.rna_enums.ObjectShaderfxTypeItems | None = "FX_BLUR",
|
|
3894
|
-
):
|
|
3908
|
+
) -> None:
|
|
3895
3909
|
"""Add a visual effect to the active object
|
|
3896
3910
|
|
|
3897
3911
|
:type execution_context: int | str | None
|
|
@@ -3906,7 +3920,7 @@ def shaderfx_copy(
|
|
|
3906
3920
|
/,
|
|
3907
3921
|
*,
|
|
3908
3922
|
shaderfx: str = "",
|
|
3909
|
-
):
|
|
3923
|
+
) -> None:
|
|
3910
3924
|
"""Duplicate effect at the same position in the stack
|
|
3911
3925
|
|
|
3912
3926
|
:type execution_context: int | str | None
|
|
@@ -3921,7 +3935,7 @@ def shaderfx_move_down(
|
|
|
3921
3935
|
/,
|
|
3922
3936
|
*,
|
|
3923
3937
|
shaderfx: str = "",
|
|
3924
|
-
):
|
|
3938
|
+
) -> None:
|
|
3925
3939
|
"""Move effect down in the stack
|
|
3926
3940
|
|
|
3927
3941
|
:type execution_context: int | str | None
|
|
@@ -3937,7 +3951,7 @@ def shaderfx_move_to_index(
|
|
|
3937
3951
|
*,
|
|
3938
3952
|
shaderfx: str = "",
|
|
3939
3953
|
index: int | None = 0,
|
|
3940
|
-
):
|
|
3954
|
+
) -> None:
|
|
3941
3955
|
"""Change the effect's position in the list so it evaluates after the set number of others
|
|
3942
3956
|
|
|
3943
3957
|
:type execution_context: int | str | None
|
|
@@ -3954,7 +3968,7 @@ def shaderfx_move_up(
|
|
|
3954
3968
|
/,
|
|
3955
3969
|
*,
|
|
3956
3970
|
shaderfx: str = "",
|
|
3957
|
-
):
|
|
3971
|
+
) -> None:
|
|
3958
3972
|
"""Move effect up in the stack
|
|
3959
3973
|
|
|
3960
3974
|
:type execution_context: int | str | None
|
|
@@ -3970,7 +3984,7 @@ def shaderfx_remove(
|
|
|
3970
3984
|
*,
|
|
3971
3985
|
shaderfx: str = "",
|
|
3972
3986
|
report: bool | None = False,
|
|
3973
|
-
):
|
|
3987
|
+
) -> None:
|
|
3974
3988
|
"""Remove a effect from the active Grease Pencil object
|
|
3975
3989
|
|
|
3976
3990
|
:type execution_context: int | str | None
|
|
@@ -3987,7 +4001,7 @@ def shape_key_add(
|
|
|
3987
4001
|
/,
|
|
3988
4002
|
*,
|
|
3989
4003
|
from_mix: bool | None = True,
|
|
3990
|
-
):
|
|
4004
|
+
) -> None:
|
|
3991
4005
|
"""Add shape key to the object
|
|
3992
4006
|
|
|
3993
4007
|
:type execution_context: int | str | None
|
|
@@ -3998,7 +4012,7 @@ def shape_key_add(
|
|
|
3998
4012
|
|
|
3999
4013
|
def shape_key_clear(
|
|
4000
4014
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4001
|
-
):
|
|
4015
|
+
) -> None:
|
|
4002
4016
|
"""Reset the weights of all shape keys to 0 or to the closest value respecting the limits
|
|
4003
4017
|
|
|
4004
4018
|
:type execution_context: int | str | None
|
|
@@ -4007,7 +4021,7 @@ def shape_key_clear(
|
|
|
4007
4021
|
|
|
4008
4022
|
def shape_key_copy(
|
|
4009
4023
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4010
|
-
):
|
|
4024
|
+
) -> None:
|
|
4011
4025
|
"""Duplicate the active shape key
|
|
4012
4026
|
|
|
4013
4027
|
:type execution_context: int | str | None
|
|
@@ -4020,7 +4034,7 @@ def shape_key_lock(
|
|
|
4020
4034
|
/,
|
|
4021
4035
|
*,
|
|
4022
4036
|
action: typing.Literal["LOCK", "UNLOCK"] | None = "LOCK",
|
|
4023
|
-
):
|
|
4037
|
+
) -> None:
|
|
4024
4038
|
"""Change the lock state of all shape keys of active object
|
|
4025
4039
|
|
|
4026
4040
|
:type execution_context: int | str | None
|
|
@@ -4041,7 +4055,7 @@ def shape_key_mirror(
|
|
|
4041
4055
|
/,
|
|
4042
4056
|
*,
|
|
4043
4057
|
use_topology: bool | None = False,
|
|
4044
|
-
):
|
|
4058
|
+
) -> None:
|
|
4045
4059
|
"""Mirror the current shape key along the local X axis
|
|
4046
4060
|
|
|
4047
4061
|
:type execution_context: int | str | None
|
|
@@ -4056,7 +4070,7 @@ def shape_key_move(
|
|
|
4056
4070
|
/,
|
|
4057
4071
|
*,
|
|
4058
4072
|
type: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
|
|
4059
|
-
):
|
|
4073
|
+
) -> None:
|
|
4060
4074
|
"""Move the active shape key up/down in the list
|
|
4061
4075
|
|
|
4062
4076
|
:type execution_context: int | str | None
|
|
@@ -4084,7 +4098,7 @@ def shape_key_remove(
|
|
|
4084
4098
|
*,
|
|
4085
4099
|
all: bool | None = False,
|
|
4086
4100
|
apply_mix: bool | None = False,
|
|
4087
|
-
):
|
|
4101
|
+
) -> None:
|
|
4088
4102
|
"""Remove shape key from the object
|
|
4089
4103
|
|
|
4090
4104
|
:type execution_context: int | str | None
|
|
@@ -4097,7 +4111,7 @@ def shape_key_remove(
|
|
|
4097
4111
|
|
|
4098
4112
|
def shape_key_retime(
|
|
4099
4113
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4100
|
-
):
|
|
4114
|
+
) -> None:
|
|
4101
4115
|
"""Resets the timing for absolute shape keys
|
|
4102
4116
|
|
|
4103
4117
|
:type execution_context: int | str | None
|
|
@@ -4111,7 +4125,7 @@ def shape_key_transfer(
|
|
|
4111
4125
|
*,
|
|
4112
4126
|
mode: typing.Literal["OFFSET", "RELATIVE_FACE", "RELATIVE_EDGE"] | None = "OFFSET",
|
|
4113
4127
|
use_clamp: bool | None = False,
|
|
4114
|
-
):
|
|
4128
|
+
) -> None:
|
|
4115
4129
|
"""Copy the active shape key of another selected object to this one
|
|
4116
4130
|
|
|
4117
4131
|
:type execution_context: int | str | None
|
|
@@ -4137,7 +4151,7 @@ def simulation_nodes_cache_bake(
|
|
|
4137
4151
|
/,
|
|
4138
4152
|
*,
|
|
4139
4153
|
selected: bool | None = False,
|
|
4140
|
-
):
|
|
4154
|
+
) -> None:
|
|
4141
4155
|
"""Bake simulations in geometry nodes modifiers
|
|
4142
4156
|
|
|
4143
4157
|
:type execution_context: int | str | None
|
|
@@ -4152,7 +4166,7 @@ def simulation_nodes_cache_calculate_to_frame(
|
|
|
4152
4166
|
/,
|
|
4153
4167
|
*,
|
|
4154
4168
|
selected: bool | None = False,
|
|
4155
|
-
):
|
|
4169
|
+
) -> None:
|
|
4156
4170
|
"""Calculate simulations in geometry nodes modifiers from the start to current frame
|
|
4157
4171
|
|
|
4158
4172
|
:type execution_context: int | str | None
|
|
@@ -4167,7 +4181,7 @@ def simulation_nodes_cache_delete(
|
|
|
4167
4181
|
/,
|
|
4168
4182
|
*,
|
|
4169
4183
|
selected: bool | None = False,
|
|
4170
|
-
):
|
|
4184
|
+
) -> None:
|
|
4171
4185
|
"""Delete cached/baked simulations in geometry nodes modifiers
|
|
4172
4186
|
|
|
4173
4187
|
:type execution_context: int | str | None
|
|
@@ -4182,7 +4196,7 @@ def skin_armature_create(
|
|
|
4182
4196
|
/,
|
|
4183
4197
|
*,
|
|
4184
4198
|
modifier: str = "",
|
|
4185
|
-
):
|
|
4199
|
+
) -> None:
|
|
4186
4200
|
"""Create an armature that parallels the skin layout
|
|
4187
4201
|
|
|
4188
4202
|
:type execution_context: int | str | None
|
|
@@ -4197,7 +4211,7 @@ def skin_loose_mark_clear(
|
|
|
4197
4211
|
/,
|
|
4198
4212
|
*,
|
|
4199
4213
|
action: typing.Literal["MARK", "CLEAR"] | None = "MARK",
|
|
4200
|
-
):
|
|
4214
|
+
) -> None:
|
|
4201
4215
|
"""Mark/clear selected vertices as loose
|
|
4202
4216
|
|
|
4203
4217
|
:type execution_context: int | str | None
|
|
@@ -4214,7 +4228,7 @@ def skin_loose_mark_clear(
|
|
|
4214
4228
|
|
|
4215
4229
|
def skin_radii_equalize(
|
|
4216
4230
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4217
|
-
):
|
|
4231
|
+
) -> None:
|
|
4218
4232
|
"""Make skin radii of selected vertices equal on each axis
|
|
4219
4233
|
|
|
4220
4234
|
:type execution_context: int | str | None
|
|
@@ -4223,7 +4237,7 @@ def skin_radii_equalize(
|
|
|
4223
4237
|
|
|
4224
4238
|
def skin_root_mark(
|
|
4225
4239
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4226
|
-
):
|
|
4240
|
+
) -> None:
|
|
4227
4241
|
"""Mark selected vertices as roots
|
|
4228
4242
|
|
|
4229
4243
|
:type execution_context: int | str | None
|
|
@@ -4248,7 +4262,7 @@ def speaker_add(
|
|
|
4248
4262
|
0.0,
|
|
4249
4263
|
),
|
|
4250
4264
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4251
|
-
):
|
|
4265
|
+
) -> None:
|
|
4252
4266
|
"""Add a speaker object to the scene
|
|
4253
4267
|
|
|
4254
4268
|
:type execution_context: int | str | None
|
|
@@ -4281,7 +4295,7 @@ def subdivision_set(
|
|
|
4281
4295
|
*,
|
|
4282
4296
|
level: int | None = 1,
|
|
4283
4297
|
relative: bool | None = False,
|
|
4284
|
-
):
|
|
4298
|
+
) -> None:
|
|
4285
4299
|
"""Sets a Subdivision Surface level (1 to 5)
|
|
4286
4300
|
|
|
4287
4301
|
:type execution_context: int | str | None
|
|
@@ -4298,7 +4312,7 @@ def surfacedeform_bind(
|
|
|
4298
4312
|
/,
|
|
4299
4313
|
*,
|
|
4300
4314
|
modifier: str = "",
|
|
4301
|
-
):
|
|
4315
|
+
) -> None:
|
|
4302
4316
|
"""Bind mesh to target in surface deform modifier
|
|
4303
4317
|
|
|
4304
4318
|
:type execution_context: int | str | None
|
|
@@ -4326,7 +4340,7 @@ def text_add(
|
|
|
4326
4340
|
0.0,
|
|
4327
4341
|
),
|
|
4328
4342
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4329
|
-
):
|
|
4343
|
+
) -> None:
|
|
4330
4344
|
"""Add a text object to the scene
|
|
4331
4345
|
|
|
4332
4346
|
:type execution_context: int | str | None
|
|
@@ -4360,7 +4374,7 @@ def track_clear(
|
|
|
4360
4374
|
/,
|
|
4361
4375
|
*,
|
|
4362
4376
|
type: typing.Literal["CLEAR", "CLEAR_KEEP_TRANSFORM"] | None = "CLEAR",
|
|
4363
|
-
):
|
|
4377
|
+
) -> None:
|
|
4364
4378
|
"""Clear tracking constraint or flag from object
|
|
4365
4379
|
|
|
4366
4380
|
:type execution_context: int | str | None
|
|
@@ -4375,7 +4389,7 @@ def track_set(
|
|
|
4375
4389
|
/,
|
|
4376
4390
|
*,
|
|
4377
4391
|
type: typing.Literal["DAMPTRACK", "TRACKTO", "LOCKTRACK"] | None = "DAMPTRACK",
|
|
4378
|
-
):
|
|
4392
|
+
) -> None:
|
|
4379
4393
|
"""Make the object track another object, using various methods/constraints
|
|
4380
4394
|
|
|
4381
4395
|
:type execution_context: int | str | None
|
|
@@ -4390,7 +4404,7 @@ def transfer_mode(
|
|
|
4390
4404
|
/,
|
|
4391
4405
|
*,
|
|
4392
4406
|
use_flash_on_transfer: bool | None = True,
|
|
4393
|
-
):
|
|
4407
|
+
) -> None:
|
|
4394
4408
|
"""Switches the active object and assigns the same mode to a new one under the mouse cursor, leaving the active mode in the current one
|
|
4395
4409
|
|
|
4396
4410
|
:type execution_context: int | str | None
|
|
@@ -4409,7 +4423,7 @@ def transform_apply(
|
|
|
4409
4423
|
scale: bool | None = True,
|
|
4410
4424
|
properties: bool | None = True,
|
|
4411
4425
|
isolate_users: bool | None = False,
|
|
4412
|
-
):
|
|
4426
|
+
) -> None:
|
|
4413
4427
|
"""Apply the object's transformation to its data
|
|
4414
4428
|
|
|
4415
4429
|
:type execution_context: int | str | None
|
|
@@ -4428,7 +4442,7 @@ def transform_apply(
|
|
|
4428
4442
|
|
|
4429
4443
|
def transform_axis_target(
|
|
4430
4444
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4431
|
-
):
|
|
4445
|
+
) -> None:
|
|
4432
4446
|
"""Interactively point cameras and lights to a location (Ctrl translates)
|
|
4433
4447
|
|
|
4434
4448
|
:type execution_context: int | str | None
|
|
@@ -4452,7 +4466,7 @@ def transform_to_mouse(
|
|
|
4452
4466
|
),
|
|
4453
4467
|
drop_x: int | None = 0,
|
|
4454
4468
|
drop_y: int | None = 0,
|
|
4455
|
-
):
|
|
4469
|
+
) -> None:
|
|
4456
4470
|
"""Snap selected item(s) to the mouse location
|
|
4457
4471
|
|
|
4458
4472
|
:type execution_context: int | str | None
|
|
@@ -4476,7 +4490,7 @@ def transforms_to_deltas(
|
|
|
4476
4490
|
*,
|
|
4477
4491
|
mode: typing.Literal["ALL", "LOC", "ROT", "SCALE"] | None = "ALL",
|
|
4478
4492
|
reset_values: bool | None = True,
|
|
4479
|
-
):
|
|
4493
|
+
) -> None:
|
|
4480
4494
|
"""Convert normal object transforms to delta transforms, any existing delta transforms will be included as well
|
|
4481
4495
|
|
|
4482
4496
|
:type execution_context: int | str | None
|
|
@@ -4499,14 +4513,18 @@ def transforms_to_deltas(
|
|
|
4499
4513
|
:type reset_values: bool | None
|
|
4500
4514
|
"""
|
|
4501
4515
|
|
|
4502
|
-
def unlink_data(
|
|
4516
|
+
def unlink_data(
|
|
4517
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
4518
|
+
) -> None:
|
|
4503
4519
|
"""Undocumented, consider contributing.
|
|
4504
4520
|
|
|
4505
4521
|
:type execution_context: int | str | None
|
|
4506
4522
|
:type undo: bool | None
|
|
4507
4523
|
"""
|
|
4508
4524
|
|
|
4509
|
-
def update_shapes(
|
|
4525
|
+
def update_shapes(
|
|
4526
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
4527
|
+
) -> None:
|
|
4510
4528
|
"""Update existing shape keys with the vertex positions of selected objects with matching names
|
|
4511
4529
|
|
|
4512
4530
|
:type execution_context: int | str | None
|
|
@@ -4515,7 +4533,7 @@ def update_shapes(execution_context: int | str | None = None, undo: bool | None
|
|
|
4515
4533
|
|
|
4516
4534
|
def vertex_group_add(
|
|
4517
4535
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4518
|
-
):
|
|
4536
|
+
) -> None:
|
|
4519
4537
|
"""Add a new vertex group to the active object
|
|
4520
4538
|
|
|
4521
4539
|
:type execution_context: int | str | None
|
|
@@ -4524,7 +4542,7 @@ def vertex_group_add(
|
|
|
4524
4542
|
|
|
4525
4543
|
def vertex_group_assign(
|
|
4526
4544
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4527
|
-
):
|
|
4545
|
+
) -> None:
|
|
4528
4546
|
"""Assign the selected vertices to the active vertex group
|
|
4529
4547
|
|
|
4530
4548
|
:type execution_context: int | str | None
|
|
@@ -4533,7 +4551,7 @@ def vertex_group_assign(
|
|
|
4533
4551
|
|
|
4534
4552
|
def vertex_group_assign_new(
|
|
4535
4553
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4536
|
-
):
|
|
4554
|
+
) -> None:
|
|
4537
4555
|
"""Assign the selected vertices to a new vertex group
|
|
4538
4556
|
|
|
4539
4557
|
:type execution_context: int | str | None
|
|
@@ -4548,7 +4566,7 @@ def vertex_group_clean(
|
|
|
4548
4566
|
group_select_mode: str | None = "",
|
|
4549
4567
|
limit: float | None = 0.0,
|
|
4550
4568
|
keep_single: bool | None = False,
|
|
4551
|
-
):
|
|
4569
|
+
) -> None:
|
|
4552
4570
|
"""Remove vertex group assignments which are not required
|
|
4553
4571
|
|
|
4554
4572
|
:type execution_context: int | str | None
|
|
@@ -4563,7 +4581,7 @@ def vertex_group_clean(
|
|
|
4563
4581
|
|
|
4564
4582
|
def vertex_group_copy(
|
|
4565
4583
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4566
|
-
):
|
|
4584
|
+
) -> None:
|
|
4567
4585
|
"""Make a copy of the active vertex group
|
|
4568
4586
|
|
|
4569
4587
|
:type execution_context: int | str | None
|
|
@@ -4572,7 +4590,7 @@ def vertex_group_copy(
|
|
|
4572
4590
|
|
|
4573
4591
|
def vertex_group_copy_to_selected(
|
|
4574
4592
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4575
|
-
):
|
|
4593
|
+
) -> None:
|
|
4576
4594
|
"""Replace vertex groups of selected objects by vertex groups of active object
|
|
4577
4595
|
|
|
4578
4596
|
:type execution_context: int | str | None
|
|
@@ -4581,7 +4599,7 @@ def vertex_group_copy_to_selected(
|
|
|
4581
4599
|
|
|
4582
4600
|
def vertex_group_deselect(
|
|
4583
4601
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4584
|
-
):
|
|
4602
|
+
) -> None:
|
|
4585
4603
|
"""Deselect all selected vertices assigned to the active vertex group
|
|
4586
4604
|
|
|
4587
4605
|
:type execution_context: int | str | None
|
|
@@ -4596,7 +4614,7 @@ def vertex_group_invert(
|
|
|
4596
4614
|
group_select_mode: str | None = "",
|
|
4597
4615
|
auto_assign: bool | None = True,
|
|
4598
4616
|
auto_remove: bool | None = True,
|
|
4599
|
-
):
|
|
4617
|
+
) -> None:
|
|
4600
4618
|
"""Invert active vertex group's weights
|
|
4601
4619
|
|
|
4602
4620
|
:type execution_context: int | str | None
|
|
@@ -4617,7 +4635,7 @@ def vertex_group_levels(
|
|
|
4617
4635
|
group_select_mode: str | None = "",
|
|
4618
4636
|
offset: float | None = 0.0,
|
|
4619
4637
|
gain: float | None = 1.0,
|
|
4620
|
-
):
|
|
4638
|
+
) -> None:
|
|
4621
4639
|
"""Add some offset and multiply with some gain the weights of the active vertex group
|
|
4622
4640
|
|
|
4623
4641
|
:type execution_context: int | str | None
|
|
@@ -4637,7 +4655,7 @@ def vertex_group_limit_total(
|
|
|
4637
4655
|
*,
|
|
4638
4656
|
group_select_mode: str | None = "",
|
|
4639
4657
|
limit: int | None = 4,
|
|
4640
|
-
):
|
|
4658
|
+
) -> None:
|
|
4641
4659
|
"""Limit deform weights associated with a vertex to a specified number by removing lowest weights
|
|
4642
4660
|
|
|
4643
4661
|
:type execution_context: int | str | None
|
|
@@ -4656,7 +4674,7 @@ def vertex_group_lock(
|
|
|
4656
4674
|
action: typing.Literal["TOGGLE", "LOCK", "UNLOCK", "INVERT"] | None = "TOGGLE",
|
|
4657
4675
|
mask: typing.Literal["ALL", "SELECTED", "UNSELECTED", "INVERT_UNSELECTED"]
|
|
4658
4676
|
| None = "ALL",
|
|
4659
|
-
):
|
|
4677
|
+
) -> None:
|
|
4660
4678
|
"""Change the lock state of all or some vertex groups of active object
|
|
4661
4679
|
|
|
4662
4680
|
:type execution_context: int | str | None
|
|
@@ -4700,7 +4718,7 @@ def vertex_group_mirror(
|
|
|
4700
4718
|
flip_group_names: bool | None = True,
|
|
4701
4719
|
all_groups: bool | None = False,
|
|
4702
4720
|
use_topology: bool | None = False,
|
|
4703
|
-
):
|
|
4721
|
+
) -> None:
|
|
4704
4722
|
"""Mirror vertex group, flip weights and/or names, editing only selected vertices, flipping when both sides are selected otherwise copy from unselected
|
|
4705
4723
|
|
|
4706
4724
|
:type execution_context: int | str | None
|
|
@@ -4721,7 +4739,7 @@ def vertex_group_move(
|
|
|
4721
4739
|
/,
|
|
4722
4740
|
*,
|
|
4723
4741
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
4724
|
-
):
|
|
4742
|
+
) -> None:
|
|
4725
4743
|
"""Move the active vertex group up/down in the list
|
|
4726
4744
|
|
|
4727
4745
|
:type execution_context: int | str | None
|
|
@@ -4732,7 +4750,7 @@ def vertex_group_move(
|
|
|
4732
4750
|
|
|
4733
4751
|
def vertex_group_normalize(
|
|
4734
4752
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4735
|
-
):
|
|
4753
|
+
) -> None:
|
|
4736
4754
|
"""Normalize weights of the active vertex group, so that the highest ones are now 1.0
|
|
4737
4755
|
|
|
4738
4756
|
:type execution_context: int | str | None
|
|
@@ -4746,7 +4764,7 @@ def vertex_group_normalize_all(
|
|
|
4746
4764
|
*,
|
|
4747
4765
|
group_select_mode: str | None = "",
|
|
4748
4766
|
lock_active: bool | None = True,
|
|
4749
|
-
):
|
|
4767
|
+
) -> None:
|
|
4750
4768
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
4751
4769
|
|
|
4752
4770
|
:type execution_context: int | str | None
|
|
@@ -4764,7 +4782,7 @@ def vertex_group_quantize(
|
|
|
4764
4782
|
*,
|
|
4765
4783
|
group_select_mode: str | None = "",
|
|
4766
4784
|
steps: int | None = 4,
|
|
4767
|
-
):
|
|
4785
|
+
) -> None:
|
|
4768
4786
|
"""Set weights to a fixed number of steps
|
|
4769
4787
|
|
|
4770
4788
|
:type execution_context: int | str | None
|
|
@@ -4782,7 +4800,7 @@ def vertex_group_remove(
|
|
|
4782
4800
|
*,
|
|
4783
4801
|
all: bool | None = False,
|
|
4784
4802
|
all_unlocked: bool | None = False,
|
|
4785
|
-
):
|
|
4803
|
+
) -> None:
|
|
4786
4804
|
"""Delete the active or all vertex groups from the active object
|
|
4787
4805
|
|
|
4788
4806
|
:type execution_context: int | str | None
|
|
@@ -4800,7 +4818,7 @@ def vertex_group_remove_from(
|
|
|
4800
4818
|
*,
|
|
4801
4819
|
use_all_groups: bool | None = False,
|
|
4802
4820
|
use_all_verts: bool | None = False,
|
|
4803
|
-
):
|
|
4821
|
+
) -> None:
|
|
4804
4822
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
4805
4823
|
|
|
4806
4824
|
:type execution_context: int | str | None
|
|
@@ -4813,7 +4831,7 @@ def vertex_group_remove_from(
|
|
|
4813
4831
|
|
|
4814
4832
|
def vertex_group_select(
|
|
4815
4833
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4816
|
-
):
|
|
4834
|
+
) -> None:
|
|
4817
4835
|
"""Select all the vertices assigned to the active vertex group
|
|
4818
4836
|
|
|
4819
4837
|
:type execution_context: int | str | None
|
|
@@ -4826,7 +4844,7 @@ def vertex_group_set_active(
|
|
|
4826
4844
|
/,
|
|
4827
4845
|
*,
|
|
4828
4846
|
group: str | None = "",
|
|
4829
|
-
):
|
|
4847
|
+
) -> None:
|
|
4830
4848
|
"""Set the active vertex group
|
|
4831
4849
|
|
|
4832
4850
|
:type execution_context: int | str | None
|
|
@@ -4844,7 +4862,7 @@ def vertex_group_smooth(
|
|
|
4844
4862
|
factor: float | None = 0.5,
|
|
4845
4863
|
repeat: int | None = 1,
|
|
4846
4864
|
expand: float | None = 0.0,
|
|
4847
|
-
):
|
|
4865
|
+
) -> None:
|
|
4848
4866
|
"""Smooth weights for selected vertices
|
|
4849
4867
|
|
|
4850
4868
|
:type execution_context: int | str | None
|
|
@@ -4865,7 +4883,7 @@ def vertex_group_sort(
|
|
|
4865
4883
|
/,
|
|
4866
4884
|
*,
|
|
4867
4885
|
sort_type: typing.Literal["NAME", "BONE_HIERARCHY"] | None = "NAME",
|
|
4868
|
-
):
|
|
4886
|
+
) -> None:
|
|
4869
4887
|
"""Sort vertex groups
|
|
4870
4888
|
|
|
4871
4889
|
:type execution_context: int | str | None
|
|
@@ -4876,7 +4894,7 @@ def vertex_group_sort(
|
|
|
4876
4894
|
|
|
4877
4895
|
def vertex_parent_set(
|
|
4878
4896
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4879
|
-
):
|
|
4897
|
+
) -> None:
|
|
4880
4898
|
"""Parent selected objects to the selected vertices
|
|
4881
4899
|
|
|
4882
4900
|
:type execution_context: int | str | None
|
|
@@ -4885,7 +4903,7 @@ def vertex_parent_set(
|
|
|
4885
4903
|
|
|
4886
4904
|
def vertex_weight_copy(
|
|
4887
4905
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4888
|
-
):
|
|
4906
|
+
) -> None:
|
|
4889
4907
|
"""Copy weights from active to selected
|
|
4890
4908
|
|
|
4891
4909
|
:type execution_context: int | str | None
|
|
@@ -4898,7 +4916,7 @@ def vertex_weight_delete(
|
|
|
4898
4916
|
/,
|
|
4899
4917
|
*,
|
|
4900
4918
|
weight_group: int | None = -1,
|
|
4901
|
-
):
|
|
4919
|
+
) -> None:
|
|
4902
4920
|
"""Delete this weight from the vertex (disabled if vertex group is locked)
|
|
4903
4921
|
|
|
4904
4922
|
:type execution_context: int | str | None
|
|
@@ -4909,7 +4927,7 @@ def vertex_weight_delete(
|
|
|
4909
4927
|
|
|
4910
4928
|
def vertex_weight_normalize_active_vertex(
|
|
4911
4929
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4912
|
-
):
|
|
4930
|
+
) -> None:
|
|
4913
4931
|
"""Normalize active vertex's weights
|
|
4914
4932
|
|
|
4915
4933
|
:type execution_context: int | str | None
|
|
@@ -4922,7 +4940,7 @@ def vertex_weight_paste(
|
|
|
4922
4940
|
/,
|
|
4923
4941
|
*,
|
|
4924
4942
|
weight_group: int | None = -1,
|
|
4925
|
-
):
|
|
4943
|
+
) -> None:
|
|
4926
4944
|
"""Copy this group's weight to other selected vertices (disabled if vertex group is locked)
|
|
4927
4945
|
|
|
4928
4946
|
:type execution_context: int | str | None
|
|
@@ -4937,7 +4955,7 @@ def vertex_weight_set_active(
|
|
|
4937
4955
|
/,
|
|
4938
4956
|
*,
|
|
4939
4957
|
weight_group: int | None = -1,
|
|
4940
|
-
):
|
|
4958
|
+
) -> None:
|
|
4941
4959
|
"""Set as active vertex group
|
|
4942
4960
|
|
|
4943
4961
|
:type execution_context: int | str | None
|
|
@@ -4948,7 +4966,7 @@ def vertex_weight_set_active(
|
|
|
4948
4966
|
|
|
4949
4967
|
def visual_geometry_to_objects(
|
|
4950
4968
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4951
|
-
):
|
|
4969
|
+
) -> None:
|
|
4952
4970
|
"""Convert geometry and instances into editable objects and collections
|
|
4953
4971
|
|
|
4954
4972
|
:type execution_context: int | str | None
|
|
@@ -4957,7 +4975,7 @@ def visual_geometry_to_objects(
|
|
|
4957
4975
|
|
|
4958
4976
|
def visual_transform_apply(
|
|
4959
4977
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4960
|
-
):
|
|
4978
|
+
) -> None:
|
|
4961
4979
|
"""Apply the object's visual transformation to its data
|
|
4962
4980
|
|
|
4963
4981
|
:type execution_context: int | str | None
|
|
@@ -4981,7 +4999,7 @@ def volume_add(
|
|
|
4981
4999
|
0.0,
|
|
4982
5000
|
),
|
|
4983
5001
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4984
|
-
):
|
|
5002
|
+
) -> None:
|
|
4985
5003
|
"""Add a volume object to the scene
|
|
4986
5004
|
|
|
4987
5005
|
:type execution_context: int | str | None
|
|
@@ -5053,7 +5071,7 @@ def volume_import(
|
|
|
5053
5071
|
0.0,
|
|
5054
5072
|
),
|
|
5055
5073
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
5056
|
-
):
|
|
5074
|
+
) -> None:
|
|
5057
5075
|
"""Import OpenVDB volume file
|
|
5058
5076
|
|
|
5059
5077
|
:type execution_context: int | str | None
|
|
@@ -5143,7 +5161,9 @@ def volume_import(
|
|
|
5143
5161
|
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5144
5162
|
"""
|
|
5145
5163
|
|
|
5146
|
-
def voxel_remesh(
|
|
5164
|
+
def voxel_remesh(
|
|
5165
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
5166
|
+
) -> None:
|
|
5147
5167
|
"""Calculates a new manifold mesh based on the volume of the current mesh. All data layers will be lost
|
|
5148
5168
|
|
|
5149
5169
|
:type execution_context: int | str | None
|
|
@@ -5152,7 +5172,7 @@ def voxel_remesh(execution_context: int | str | None = None, undo: bool | None =
|
|
|
5152
5172
|
|
|
5153
5173
|
def voxel_size_edit(
|
|
5154
5174
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
5155
|
-
):
|
|
5175
|
+
) -> None:
|
|
5156
5176
|
"""Modify the mesh voxel size interactively used in the voxel remesher
|
|
5157
5177
|
|
|
5158
5178
|
:type execution_context: int | str | None
|