fake-bpy-module 20250604__py3-none-any.whl → 20250607__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 +25 -58
- 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 -50
- 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 -75
- 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 -307
- 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 +3 -3
- 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 +15 -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 -20
- bpy/ops/boid/__init__.pyi +18 -8
- bpy/ops/brush/__init__.pyi +19 -16
- bpy/ops/buttons/__init__.pyi +14 -12
- bpy/ops/cachefile/__init__.pyi +9 -11
- bpy/ops/camera/__init__.pyi +2 -2
- bpy/ops/clip/__init__.pyi +112 -95
- 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 -16
- 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 -43
- bpy/ops/fluid/__init__.pyi +36 -14
- bpy/ops/font/__init__.pyi +41 -29
- 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 -68
- bpy/ops/grease_pencil/__init__.pyi +159 -115
- bpy/ops/image/__init__.pyi +63 -61
- 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 -150
- bpy/ops/object/__init__.pyi +262 -251
- 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 -38
- 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 -45
- 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 -115
- bpy/ops/sound/__init__.pyi +7 -16
- bpy/ops/spreadsheet/__init__.pyi +13 -7
- bpy/ops/surface/__init__.pyi +6 -6
- bpy/ops/text/__init__.pyi +73 -49
- 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 +136 -574
- bpy/ops/workspace/__init__.pyi +11 -7
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +16 -13
- bpy/types/__init__.pyi +1237 -1281
- 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-20250604.dist-info → fake_bpy_module-20250607.dist-info}/METADATA +1 -1
- fake_bpy_module-20250607.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-20250604.dist-info/RECORD +0 -367
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.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
|
|
@@ -1241,7 +1243,6 @@ def empty_image_add(
|
|
|
1241
1243
|
filter_text: bool | None = False,
|
|
1242
1244
|
filter_archive: bool | None = False,
|
|
1243
1245
|
filter_btx: bool | None = False,
|
|
1244
|
-
filter_collada: bool | None = False,
|
|
1245
1246
|
filter_alembic: bool | None = False,
|
|
1246
1247
|
filter_usd: bool | None = False,
|
|
1247
1248
|
filter_obj: bool | None = False,
|
|
@@ -1280,7 +1281,7 @@ def empty_image_add(
|
|
|
1280
1281
|
),
|
|
1281
1282
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1282
1283
|
background: bool | None = False,
|
|
1283
|
-
):
|
|
1284
|
+
) -> None:
|
|
1284
1285
|
"""Add an empty image type to scene with data
|
|
1285
1286
|
|
|
1286
1287
|
:type execution_context: int | str | None
|
|
@@ -1311,8 +1312,6 @@ def empty_image_add(
|
|
|
1311
1312
|
:type filter_archive: bool | None
|
|
1312
1313
|
:param filter_btx: Filter btx files
|
|
1313
1314
|
:type filter_btx: bool | None
|
|
1314
|
-
:param filter_collada: Filter COLLADA files
|
|
1315
|
-
:type filter_collada: bool | None
|
|
1316
1315
|
:param filter_alembic: Filter Alembic files
|
|
1317
1316
|
:type filter_alembic: bool | None
|
|
1318
1317
|
:param filter_usd: Filter USD files
|
|
@@ -1398,7 +1397,7 @@ def explode_refresh(
|
|
|
1398
1397
|
/,
|
|
1399
1398
|
*,
|
|
1400
1399
|
modifier: str = "",
|
|
1401
|
-
):
|
|
1400
|
+
) -> None:
|
|
1402
1401
|
"""Refresh data in the Explode modifier
|
|
1403
1402
|
|
|
1404
1403
|
:type execution_context: int | str | None
|
|
@@ -1409,7 +1408,7 @@ def explode_refresh(
|
|
|
1409
1408
|
|
|
1410
1409
|
def forcefield_toggle(
|
|
1411
1410
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1412
|
-
):
|
|
1411
|
+
) -> None:
|
|
1413
1412
|
"""Toggle object's force field
|
|
1414
1413
|
|
|
1415
1414
|
:type execution_context: int | str | None
|
|
@@ -1424,7 +1423,7 @@ def geometry_node_bake_delete_single(
|
|
|
1424
1423
|
session_uid: int | None = 0,
|
|
1425
1424
|
modifier_name: str = "",
|
|
1426
1425
|
bake_id: int | None = 0,
|
|
1427
|
-
):
|
|
1426
|
+
) -> None:
|
|
1428
1427
|
"""Delete baked data of a single bake node or simulation
|
|
1429
1428
|
|
|
1430
1429
|
:type execution_context: int | str | None
|
|
@@ -1445,7 +1444,7 @@ def geometry_node_bake_pack_single(
|
|
|
1445
1444
|
session_uid: int | None = 0,
|
|
1446
1445
|
modifier_name: str = "",
|
|
1447
1446
|
bake_id: int | None = 0,
|
|
1448
|
-
):
|
|
1447
|
+
) -> None:
|
|
1449
1448
|
"""Pack baked data from disk into the .blend file
|
|
1450
1449
|
|
|
1451
1450
|
:type execution_context: int | str | None
|
|
@@ -1466,7 +1465,7 @@ def geometry_node_bake_single(
|
|
|
1466
1465
|
session_uid: int | None = 0,
|
|
1467
1466
|
modifier_name: str = "",
|
|
1468
1467
|
bake_id: int | None = 0,
|
|
1469
|
-
):
|
|
1468
|
+
) -> None:
|
|
1470
1469
|
"""Bake a single bake node or simulation
|
|
1471
1470
|
|
|
1472
1471
|
:type execution_context: int | str | None
|
|
@@ -1489,7 +1488,7 @@ def geometry_node_bake_unpack_single(
|
|
|
1489
1488
|
bake_id: int | None = 0,
|
|
1490
1489
|
method: typing.Literal["USE_LOCAL", "WRITE_LOCAL", "USE_ORIGINAL", "WRITE_ORIGINAL"]
|
|
1491
1490
|
| None = "USE_LOCAL",
|
|
1492
|
-
):
|
|
1491
|
+
) -> None:
|
|
1493
1492
|
"""Unpack baked data from the .blend file to disk
|
|
1494
1493
|
|
|
1495
1494
|
:type execution_context: int | str | None
|
|
@@ -1506,7 +1505,7 @@ def geometry_node_bake_unpack_single(
|
|
|
1506
1505
|
|
|
1507
1506
|
def geometry_node_tree_copy_assign(
|
|
1508
1507
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1509
|
-
):
|
|
1508
|
+
) -> None:
|
|
1510
1509
|
"""Copy the active geometry node group and assign it to the active modifier
|
|
1511
1510
|
|
|
1512
1511
|
:type execution_context: int | str | None
|
|
@@ -1520,7 +1519,7 @@ def geometry_nodes_input_attribute_toggle(
|
|
|
1520
1519
|
*,
|
|
1521
1520
|
input_name: str = "",
|
|
1522
1521
|
modifier_name: str = "",
|
|
1523
|
-
):
|
|
1522
|
+
) -> None:
|
|
1524
1523
|
"""Switch between an attribute and a single value to define the data for every element
|
|
1525
1524
|
|
|
1526
1525
|
:type execution_context: int | str | None
|
|
@@ -1537,7 +1536,7 @@ def geometry_nodes_move_to_nodes(
|
|
|
1537
1536
|
/,
|
|
1538
1537
|
*,
|
|
1539
1538
|
use_selected_objects: bool | None = False,
|
|
1540
|
-
):
|
|
1539
|
+
) -> None:
|
|
1541
1540
|
"""Move inputs and outputs from in the modifier to a new node group
|
|
1542
1541
|
|
|
1543
1542
|
:type execution_context: int | str | None
|
|
@@ -1569,7 +1568,7 @@ def grease_pencil_add(
|
|
|
1569
1568
|
0.0,
|
|
1570
1569
|
),
|
|
1571
1570
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1572
|
-
):
|
|
1571
|
+
) -> None:
|
|
1573
1572
|
"""Add a Grease Pencil object to the scene
|
|
1574
1573
|
|
|
1575
1574
|
:type execution_context: int | str | None
|
|
@@ -1617,7 +1616,7 @@ def grease_pencil_dash_modifier_segment_add(
|
|
|
1617
1616
|
/,
|
|
1618
1617
|
*,
|
|
1619
1618
|
modifier: str = "",
|
|
1620
|
-
):
|
|
1619
|
+
) -> None:
|
|
1621
1620
|
"""Add a segment to the dash modifier
|
|
1622
1621
|
|
|
1623
1622
|
:type execution_context: int | str | None
|
|
@@ -1633,7 +1632,7 @@ def grease_pencil_dash_modifier_segment_move(
|
|
|
1633
1632
|
*,
|
|
1634
1633
|
modifier: str = "",
|
|
1635
1634
|
type: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
1636
|
-
):
|
|
1635
|
+
) -> None:
|
|
1637
1636
|
"""Move the active dash segment up or down
|
|
1638
1637
|
|
|
1639
1638
|
:type execution_context: int | str | None
|
|
@@ -1651,7 +1650,7 @@ def grease_pencil_dash_modifier_segment_remove(
|
|
|
1651
1650
|
*,
|
|
1652
1651
|
modifier: str = "",
|
|
1653
1652
|
index: int | None = 0,
|
|
1654
|
-
):
|
|
1653
|
+
) -> None:
|
|
1655
1654
|
"""Remove the active segment from the dash modifier
|
|
1656
1655
|
|
|
1657
1656
|
:type execution_context: int | str | None
|
|
@@ -1668,7 +1667,7 @@ def grease_pencil_time_modifier_segment_add(
|
|
|
1668
1667
|
/,
|
|
1669
1668
|
*,
|
|
1670
1669
|
modifier: str = "",
|
|
1671
|
-
):
|
|
1670
|
+
) -> None:
|
|
1672
1671
|
"""Add a segment to the time modifier
|
|
1673
1672
|
|
|
1674
1673
|
:type execution_context: int | str | None
|
|
@@ -1684,7 +1683,7 @@ def grease_pencil_time_modifier_segment_move(
|
|
|
1684
1683
|
*,
|
|
1685
1684
|
modifier: str = "",
|
|
1686
1685
|
type: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
1687
|
-
):
|
|
1686
|
+
) -> None:
|
|
1688
1687
|
"""Move the active time segment up or down
|
|
1689
1688
|
|
|
1690
1689
|
:type execution_context: int | str | None
|
|
@@ -1702,7 +1701,7 @@ def grease_pencil_time_modifier_segment_remove(
|
|
|
1702
1701
|
*,
|
|
1703
1702
|
modifier: str = "",
|
|
1704
1703
|
index: int | None = 0,
|
|
1705
|
-
):
|
|
1704
|
+
) -> None:
|
|
1706
1705
|
"""Remove the active segment from the time modifier
|
|
1707
1706
|
|
|
1708
1707
|
:type execution_context: int | str | None
|
|
@@ -1721,7 +1720,7 @@ def hide_collection(
|
|
|
1721
1720
|
collection_index: int | None = -1,
|
|
1722
1721
|
toggle: bool | None = False,
|
|
1723
1722
|
extend: bool | None = False,
|
|
1724
|
-
):
|
|
1723
|
+
) -> None:
|
|
1725
1724
|
"""Show only objects in collection (Shift to extend)
|
|
1726
1725
|
|
|
1727
1726
|
:type execution_context: int | str | None
|
|
@@ -1736,7 +1735,7 @@ def hide_collection(
|
|
|
1736
1735
|
|
|
1737
1736
|
def hide_render_clear_all(
|
|
1738
1737
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1739
|
-
):
|
|
1738
|
+
) -> None:
|
|
1740
1739
|
"""Reveal all render objects by setting the hide render flag
|
|
1741
1740
|
|
|
1742
1741
|
:type execution_context: int | str | None
|
|
@@ -1749,7 +1748,7 @@ def hide_view_clear(
|
|
|
1749
1748
|
/,
|
|
1750
1749
|
*,
|
|
1751
1750
|
select: bool | None = True,
|
|
1752
|
-
):
|
|
1751
|
+
) -> None:
|
|
1753
1752
|
"""Reveal temporarily hidden objects
|
|
1754
1753
|
|
|
1755
1754
|
:type execution_context: int | str | None
|
|
@@ -1764,7 +1763,7 @@ def hide_view_set(
|
|
|
1764
1763
|
/,
|
|
1765
1764
|
*,
|
|
1766
1765
|
unselected: bool | None = False,
|
|
1767
|
-
):
|
|
1766
|
+
) -> None:
|
|
1768
1767
|
"""Temporarily hide objects from the viewport
|
|
1769
1768
|
|
|
1770
1769
|
:type execution_context: int | str | None
|
|
@@ -1775,7 +1774,7 @@ def hide_view_set(
|
|
|
1775
1774
|
|
|
1776
1775
|
def hook_add_newob(
|
|
1777
1776
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1778
|
-
):
|
|
1777
|
+
) -> None:
|
|
1779
1778
|
"""Hook selected vertices to a newly created object
|
|
1780
1779
|
|
|
1781
1780
|
:type execution_context: int | str | None
|
|
@@ -1788,7 +1787,7 @@ def hook_add_selob(
|
|
|
1788
1787
|
/,
|
|
1789
1788
|
*,
|
|
1790
1789
|
use_bone: bool | None = False,
|
|
1791
|
-
):
|
|
1790
|
+
) -> None:
|
|
1792
1791
|
"""Hook selected vertices to the first selected object
|
|
1793
1792
|
|
|
1794
1793
|
:type execution_context: int | str | None
|
|
@@ -1803,7 +1802,7 @@ def hook_assign(
|
|
|
1803
1802
|
/,
|
|
1804
1803
|
*,
|
|
1805
1804
|
modifier: str | None = "",
|
|
1806
|
-
):
|
|
1805
|
+
) -> None:
|
|
1807
1806
|
"""Assign the selected vertices to a hook
|
|
1808
1807
|
|
|
1809
1808
|
:type execution_context: int | str | None
|
|
@@ -1818,7 +1817,7 @@ def hook_recenter(
|
|
|
1818
1817
|
/,
|
|
1819
1818
|
*,
|
|
1820
1819
|
modifier: str | None = "",
|
|
1821
|
-
):
|
|
1820
|
+
) -> None:
|
|
1822
1821
|
"""Set hook center to cursor position
|
|
1823
1822
|
|
|
1824
1823
|
:type execution_context: int | str | None
|
|
@@ -1833,7 +1832,7 @@ def hook_remove(
|
|
|
1833
1832
|
/,
|
|
1834
1833
|
*,
|
|
1835
1834
|
modifier: str | None = "",
|
|
1836
|
-
):
|
|
1835
|
+
) -> None:
|
|
1837
1836
|
"""Remove a hook from the active object
|
|
1838
1837
|
|
|
1839
1838
|
:type execution_context: int | str | None
|
|
@@ -1848,7 +1847,7 @@ def hook_reset(
|
|
|
1848
1847
|
/,
|
|
1849
1848
|
*,
|
|
1850
1849
|
modifier: str | None = "",
|
|
1851
|
-
):
|
|
1850
|
+
) -> None:
|
|
1852
1851
|
"""Recalculate and clear offset transformation
|
|
1853
1852
|
|
|
1854
1853
|
:type execution_context: int | str | None
|
|
@@ -1863,7 +1862,7 @@ def hook_select(
|
|
|
1863
1862
|
/,
|
|
1864
1863
|
*,
|
|
1865
1864
|
modifier: str | None = "",
|
|
1866
|
-
):
|
|
1865
|
+
) -> None:
|
|
1867
1866
|
"""Select affected vertices on mesh
|
|
1868
1867
|
|
|
1869
1868
|
:type execution_context: int | str | None
|
|
@@ -1874,7 +1873,7 @@ def hook_select(
|
|
|
1874
1873
|
|
|
1875
1874
|
def instance_offset_from_cursor(
|
|
1876
1875
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1877
|
-
):
|
|
1876
|
+
) -> None:
|
|
1878
1877
|
"""Set offset used for collection instances based on cursor position
|
|
1879
1878
|
|
|
1880
1879
|
:type execution_context: int | str | None
|
|
@@ -1883,7 +1882,7 @@ def instance_offset_from_cursor(
|
|
|
1883
1882
|
|
|
1884
1883
|
def instance_offset_from_object(
|
|
1885
1884
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1886
|
-
):
|
|
1885
|
+
) -> None:
|
|
1887
1886
|
"""Set offset used for collection instances based on the active object position
|
|
1888
1887
|
|
|
1889
1888
|
:type execution_context: int | str | None
|
|
@@ -1892,7 +1891,7 @@ def instance_offset_from_object(
|
|
|
1892
1891
|
|
|
1893
1892
|
def instance_offset_to_cursor(
|
|
1894
1893
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1895
|
-
):
|
|
1894
|
+
) -> None:
|
|
1896
1895
|
"""Set cursor position to the offset used for collection instances
|
|
1897
1896
|
|
|
1898
1897
|
:type execution_context: int | str | None
|
|
@@ -1901,28 +1900,32 @@ def instance_offset_to_cursor(
|
|
|
1901
1900
|
|
|
1902
1901
|
def isolate_type_render(
|
|
1903
1902
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1904
|
-
):
|
|
1903
|
+
) -> None:
|
|
1905
1904
|
"""Hide unselected render objects of same type as active by setting the hide render flag
|
|
1906
1905
|
|
|
1907
1906
|
:type execution_context: int | str | None
|
|
1908
1907
|
:type undo: bool | None
|
|
1909
1908
|
"""
|
|
1910
1909
|
|
|
1911
|
-
def join(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1910
|
+
def join(execution_context: int | str | None = None, undo: bool | None = None) -> None:
|
|
1912
1911
|
"""Join selected objects into active object
|
|
1913
1912
|
|
|
1914
1913
|
:type execution_context: int | str | None
|
|
1915
1914
|
:type undo: bool | None
|
|
1916
1915
|
"""
|
|
1917
1916
|
|
|
1918
|
-
def join_shapes(
|
|
1917
|
+
def join_shapes(
|
|
1918
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1919
|
+
) -> None:
|
|
1919
1920
|
"""Add the vertex positions of selected objects as shape keys or update existing shape keys with matching names
|
|
1920
1921
|
|
|
1921
1922
|
:type execution_context: int | str | None
|
|
1922
1923
|
:type undo: bool | None
|
|
1923
1924
|
"""
|
|
1924
1925
|
|
|
1925
|
-
def join_uvs(
|
|
1926
|
+
def join_uvs(
|
|
1927
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1928
|
+
) -> None:
|
|
1926
1929
|
"""Transfer UV Maps from active to selected objects (needs matching geometry)
|
|
1927
1930
|
|
|
1928
1931
|
:type execution_context: int | str | None
|
|
@@ -1935,7 +1938,7 @@ def laplaciandeform_bind(
|
|
|
1935
1938
|
/,
|
|
1936
1939
|
*,
|
|
1937
1940
|
modifier: str = "",
|
|
1938
|
-
):
|
|
1941
|
+
) -> None:
|
|
1939
1942
|
"""Bind mesh to system in laplacian deform modifier
|
|
1940
1943
|
|
|
1941
1944
|
:type execution_context: int | str | None
|
|
@@ -1963,7 +1966,7 @@ def light_add(
|
|
|
1963
1966
|
0.0,
|
|
1964
1967
|
),
|
|
1965
1968
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1966
|
-
):
|
|
1969
|
+
) -> None:
|
|
1967
1970
|
"""Add a light object to the scene
|
|
1968
1971
|
|
|
1969
1972
|
:type execution_context: int | str | None
|
|
@@ -1993,7 +1996,7 @@ def light_add(
|
|
|
1993
1996
|
|
|
1994
1997
|
def light_linking_blocker_collection_new(
|
|
1995
1998
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1996
|
-
):
|
|
1999
|
+
) -> None:
|
|
1997
2000
|
"""Create new light linking collection used by the active emitter
|
|
1998
2001
|
|
|
1999
2002
|
:type execution_context: int | str | None
|
|
@@ -2006,7 +2009,7 @@ def light_linking_blockers_link(
|
|
|
2006
2009
|
/,
|
|
2007
2010
|
*,
|
|
2008
2011
|
link_state: typing.Literal["INCLUDE", "EXCLUDE"] | None = "INCLUDE",
|
|
2009
|
-
):
|
|
2012
|
+
) -> None:
|
|
2010
2013
|
"""Light link selected blockers to the active emitter object
|
|
2011
2014
|
|
|
2012
2015
|
:type execution_context: int | str | None
|
|
@@ -2023,7 +2026,7 @@ def light_linking_blockers_link(
|
|
|
2023
2026
|
|
|
2024
2027
|
def light_linking_blockers_select(
|
|
2025
2028
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2026
|
-
):
|
|
2029
|
+
) -> None:
|
|
2027
2030
|
"""Select all objects which block light from this emitter
|
|
2028
2031
|
|
|
2029
2032
|
:type execution_context: int | str | None
|
|
@@ -2032,7 +2035,7 @@ def light_linking_blockers_select(
|
|
|
2032
2035
|
|
|
2033
2036
|
def light_linking_receiver_collection_new(
|
|
2034
2037
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2035
|
-
):
|
|
2038
|
+
) -> None:
|
|
2036
2039
|
"""Create new light linking collection used by the active emitter
|
|
2037
2040
|
|
|
2038
2041
|
:type execution_context: int | str | None
|
|
@@ -2045,7 +2048,7 @@ def light_linking_receivers_link(
|
|
|
2045
2048
|
/,
|
|
2046
2049
|
*,
|
|
2047
2050
|
link_state: typing.Literal["INCLUDE", "EXCLUDE"] | None = "INCLUDE",
|
|
2048
|
-
):
|
|
2051
|
+
) -> None:
|
|
2049
2052
|
"""Light link selected receivers to the active emitter object
|
|
2050
2053
|
|
|
2051
2054
|
:type execution_context: int | str | None
|
|
@@ -2062,7 +2065,7 @@ def light_linking_receivers_link(
|
|
|
2062
2065
|
|
|
2063
2066
|
def light_linking_receivers_select(
|
|
2064
2067
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2065
|
-
):
|
|
2068
|
+
) -> None:
|
|
2066
2069
|
"""Select all objects which receive light from this emitter
|
|
2067
2070
|
|
|
2068
2071
|
:type execution_context: int | str | None
|
|
@@ -2071,7 +2074,7 @@ def light_linking_receivers_select(
|
|
|
2071
2074
|
|
|
2072
2075
|
def light_linking_unlink_from_collection(
|
|
2073
2076
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2074
|
-
):
|
|
2077
|
+
) -> None:
|
|
2075
2078
|
"""Remove this object or collection from the light linking collection
|
|
2076
2079
|
|
|
2077
2080
|
:type execution_context: int | str | None
|
|
@@ -2098,7 +2101,7 @@ def lightprobe_add(
|
|
|
2098
2101
|
0.0,
|
|
2099
2102
|
),
|
|
2100
2103
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2101
|
-
):
|
|
2104
|
+
) -> None:
|
|
2102
2105
|
"""Add a light probe object
|
|
2103
2106
|
|
|
2104
2107
|
:type execution_context: int | str | None
|
|
@@ -2143,7 +2146,7 @@ def lightprobe_cache_bake(
|
|
|
2143
2146
|
/,
|
|
2144
2147
|
*,
|
|
2145
2148
|
subset: typing.Literal["ALL", "SELECTED", "ACTIVE"] | None = "ALL",
|
|
2146
|
-
):
|
|
2149
|
+
) -> None:
|
|
2147
2150
|
"""Bake irradiance volume light cache
|
|
2148
2151
|
|
|
2149
2152
|
:type execution_context: int | str | None
|
|
@@ -2167,7 +2170,7 @@ def lightprobe_cache_free(
|
|
|
2167
2170
|
/,
|
|
2168
2171
|
*,
|
|
2169
2172
|
subset: typing.Literal["ALL", "SELECTED", "ACTIVE"] | None = "SELECTED",
|
|
2170
|
-
):
|
|
2173
|
+
) -> None:
|
|
2171
2174
|
"""Delete cached indirect lighting
|
|
2172
2175
|
|
|
2173
2176
|
:type execution_context: int | str | None
|
|
@@ -2191,7 +2194,7 @@ def lineart_bake_strokes(
|
|
|
2191
2194
|
/,
|
|
2192
2195
|
*,
|
|
2193
2196
|
bake_all: bool | None = False,
|
|
2194
|
-
):
|
|
2197
|
+
) -> None:
|
|
2195
2198
|
"""Bake Line Art for current Grease Pencil object
|
|
2196
2199
|
|
|
2197
2200
|
:type execution_context: int | str | None
|
|
@@ -2206,7 +2209,7 @@ def lineart_clear(
|
|
|
2206
2209
|
/,
|
|
2207
2210
|
*,
|
|
2208
2211
|
clear_all: bool | None = False,
|
|
2209
|
-
):
|
|
2212
|
+
) -> None:
|
|
2210
2213
|
"""Clear all strokes in current Grease Pencil object
|
|
2211
2214
|
|
|
2212
2215
|
:type execution_context: int | str | None
|
|
@@ -2223,7 +2226,7 @@ def link_to_collection(
|
|
|
2223
2226
|
collection_index: int | None = -1,
|
|
2224
2227
|
is_new: bool | None = False,
|
|
2225
2228
|
new_collection_name: str = "",
|
|
2226
|
-
):
|
|
2229
|
+
) -> None:
|
|
2227
2230
|
"""Link objects to a collection
|
|
2228
2231
|
|
|
2229
2232
|
:type execution_context: int | str | None
|
|
@@ -2242,7 +2245,7 @@ def location_clear(
|
|
|
2242
2245
|
/,
|
|
2243
2246
|
*,
|
|
2244
2247
|
clear_delta: bool | None = False,
|
|
2245
|
-
):
|
|
2248
|
+
) -> None:
|
|
2246
2249
|
"""Clear the object's location
|
|
2247
2250
|
|
|
2248
2251
|
:type execution_context: int | str | None
|
|
@@ -2253,7 +2256,7 @@ def location_clear(
|
|
|
2253
2256
|
|
|
2254
2257
|
def make_dupli_face(
|
|
2255
2258
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2256
|
-
):
|
|
2259
|
+
) -> None:
|
|
2257
2260
|
"""Convert objects into instanced faces
|
|
2258
2261
|
|
|
2259
2262
|
:type execution_context: int | str | None
|
|
@@ -2276,7 +2279,7 @@ def make_links_data(
|
|
|
2276
2279
|
"EFFECTS",
|
|
2277
2280
|
]
|
|
2278
2281
|
| None = "OBDATA",
|
|
2279
|
-
):
|
|
2282
|
+
) -> None:
|
|
2280
2283
|
"""Transfer data from active object to selected objects
|
|
2281
2284
|
|
|
2282
2285
|
:type execution_context: int | str | None
|
|
@@ -2315,7 +2318,7 @@ def make_links_scene(
|
|
|
2315
2318
|
/,
|
|
2316
2319
|
*,
|
|
2317
2320
|
scene: str | None = "",
|
|
2318
|
-
):
|
|
2321
|
+
) -> None:
|
|
2319
2322
|
"""Link selection to another scene
|
|
2320
2323
|
|
|
2321
2324
|
:type execution_context: int | str | None
|
|
@@ -2333,7 +2336,7 @@ def make_local(
|
|
|
2333
2336
|
"SELECT_OBJECT", "SELECT_OBDATA", "SELECT_OBDATA_MATERIAL", "ALL"
|
|
2334
2337
|
]
|
|
2335
2338
|
| None = "SELECT_OBJECT",
|
|
2336
|
-
):
|
|
2339
|
+
) -> None:
|
|
2337
2340
|
"""Make library linked data-blocks local to this file
|
|
2338
2341
|
|
|
2339
2342
|
:type execution_context: int | str | None
|
|
@@ -2348,7 +2351,7 @@ def make_override_library(
|
|
|
2348
2351
|
/,
|
|
2349
2352
|
*,
|
|
2350
2353
|
collection: int | None = 0,
|
|
2351
|
-
):
|
|
2354
|
+
) -> None:
|
|
2352
2355
|
"""Create a local override of the selected linked objects, and their hierarchy of dependencies
|
|
2353
2356
|
|
|
2354
2357
|
:type execution_context: int | str | None
|
|
@@ -2368,7 +2371,7 @@ def make_single_user(
|
|
|
2368
2371
|
material: bool | None = False,
|
|
2369
2372
|
animation: bool | None = False,
|
|
2370
2373
|
obdata_animation: bool | None = False,
|
|
2371
|
-
):
|
|
2374
|
+
) -> None:
|
|
2372
2375
|
"""Make linked data local to each object
|
|
2373
2376
|
|
|
2374
2377
|
:type execution_context: int | str | None
|
|
@@ -2389,7 +2392,7 @@ def make_single_user(
|
|
|
2389
2392
|
|
|
2390
2393
|
def material_slot_add(
|
|
2391
2394
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2392
|
-
):
|
|
2395
|
+
) -> None:
|
|
2393
2396
|
"""Add a new material slot
|
|
2394
2397
|
|
|
2395
2398
|
:type execution_context: int | str | None
|
|
@@ -2398,7 +2401,7 @@ def material_slot_add(
|
|
|
2398
2401
|
|
|
2399
2402
|
def material_slot_assign(
|
|
2400
2403
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2401
|
-
):
|
|
2404
|
+
) -> None:
|
|
2402
2405
|
"""Assign active material slot to selection
|
|
2403
2406
|
|
|
2404
2407
|
:type execution_context: int | str | None
|
|
@@ -2407,7 +2410,7 @@ def material_slot_assign(
|
|
|
2407
2410
|
|
|
2408
2411
|
def material_slot_copy(
|
|
2409
2412
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2410
|
-
):
|
|
2413
|
+
) -> None:
|
|
2411
2414
|
"""Copy material to selected objects
|
|
2412
2415
|
|
|
2413
2416
|
:type execution_context: int | str | None
|
|
@@ -2416,7 +2419,7 @@ def material_slot_copy(
|
|
|
2416
2419
|
|
|
2417
2420
|
def material_slot_deselect(
|
|
2418
2421
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2419
|
-
):
|
|
2422
|
+
) -> None:
|
|
2420
2423
|
"""Deselect by active material slot
|
|
2421
2424
|
|
|
2422
2425
|
:type execution_context: int | str | None
|
|
@@ -2429,7 +2432,7 @@ def material_slot_move(
|
|
|
2429
2432
|
/,
|
|
2430
2433
|
*,
|
|
2431
2434
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
2432
|
-
):
|
|
2435
|
+
) -> None:
|
|
2433
2436
|
"""Move the active material up/down in the list
|
|
2434
2437
|
|
|
2435
2438
|
:type execution_context: int | str | None
|
|
@@ -2440,7 +2443,7 @@ def material_slot_move(
|
|
|
2440
2443
|
|
|
2441
2444
|
def material_slot_remove(
|
|
2442
2445
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2443
|
-
):
|
|
2446
|
+
) -> None:
|
|
2444
2447
|
"""Remove the selected material slot
|
|
2445
2448
|
|
|
2446
2449
|
:type execution_context: int | str | None
|
|
@@ -2449,7 +2452,7 @@ def material_slot_remove(
|
|
|
2449
2452
|
|
|
2450
2453
|
def material_slot_remove_all(
|
|
2451
2454
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2452
|
-
):
|
|
2455
|
+
) -> None:
|
|
2453
2456
|
"""Remove all materials
|
|
2454
2457
|
|
|
2455
2458
|
:type execution_context: int | str | None
|
|
@@ -2458,7 +2461,7 @@ def material_slot_remove_all(
|
|
|
2458
2461
|
|
|
2459
2462
|
def material_slot_remove_unused(
|
|
2460
2463
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2461
|
-
):
|
|
2464
|
+
) -> None:
|
|
2462
2465
|
"""Remove unused material slots
|
|
2463
2466
|
|
|
2464
2467
|
:type execution_context: int | str | None
|
|
@@ -2467,7 +2470,7 @@ def material_slot_remove_unused(
|
|
|
2467
2470
|
|
|
2468
2471
|
def material_slot_select(
|
|
2469
2472
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2470
|
-
):
|
|
2473
|
+
) -> None:
|
|
2471
2474
|
"""Select by active material slot
|
|
2472
2475
|
|
|
2473
2476
|
:type execution_context: int | str | None
|
|
@@ -2480,7 +2483,7 @@ def meshdeform_bind(
|
|
|
2480
2483
|
/,
|
|
2481
2484
|
*,
|
|
2482
2485
|
modifier: str = "",
|
|
2483
|
-
):
|
|
2486
|
+
) -> None:
|
|
2484
2487
|
"""Bind mesh to cage in mesh deform modifier
|
|
2485
2488
|
|
|
2486
2489
|
:type execution_context: int | str | None
|
|
@@ -2509,7 +2512,7 @@ def metaball_add(
|
|
|
2509
2512
|
0.0,
|
|
2510
2513
|
),
|
|
2511
2514
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2512
|
-
):
|
|
2515
|
+
) -> None:
|
|
2513
2516
|
"""Add an metaball object to the scene
|
|
2514
2517
|
|
|
2515
2518
|
:type execution_context: int | str | None
|
|
@@ -2546,7 +2549,7 @@ def mode_set(
|
|
|
2546
2549
|
*,
|
|
2547
2550
|
mode: bpy.stub_internal.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2548
2551
|
toggle: bool | None = False,
|
|
2549
|
-
):
|
|
2552
|
+
) -> None:
|
|
2550
2553
|
"""Sets the object interaction mode
|
|
2551
2554
|
|
|
2552
2555
|
:type execution_context: int | str | None
|
|
@@ -2565,7 +2568,7 @@ def mode_set_with_submode(
|
|
|
2565
2568
|
mode: bpy.stub_internal.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2566
2569
|
toggle: bool | None = False,
|
|
2567
2570
|
mesh_select_mode: set[bpy.stub_internal.rna_enums.MeshSelectModeItems] | None = {},
|
|
2568
|
-
):
|
|
2571
|
+
) -> None:
|
|
2569
2572
|
"""Sets the object interaction mode
|
|
2570
2573
|
|
|
2571
2574
|
:type execution_context: int | str | None
|
|
@@ -2585,7 +2588,7 @@ def modifier_add(
|
|
|
2585
2588
|
*,
|
|
2586
2589
|
type: bpy.stub_internal.rna_enums.ObjectModifierTypeItems | None = "SUBSURF",
|
|
2587
2590
|
use_selected_objects: bool | None = False,
|
|
2588
|
-
):
|
|
2591
|
+
) -> None:
|
|
2589
2592
|
"""Add a procedural operation/effect to the active object
|
|
2590
2593
|
|
|
2591
2594
|
:type execution_context: int | str | None
|
|
@@ -2607,7 +2610,7 @@ def modifier_add_node_group(
|
|
|
2607
2610
|
relative_asset_identifier: str = "",
|
|
2608
2611
|
session_uid: int | None = 0,
|
|
2609
2612
|
use_selected_objects: bool | None = False,
|
|
2610
|
-
):
|
|
2613
|
+
) -> None:
|
|
2611
2614
|
"""Add a procedural operation/effect to the active object
|
|
2612
2615
|
|
|
2613
2616
|
:type execution_context: int | str | None
|
|
@@ -2635,7 +2638,7 @@ def modifier_apply(
|
|
|
2635
2638
|
single_user: bool | None = False,
|
|
2636
2639
|
all_keyframes: bool | None = False,
|
|
2637
2640
|
use_selected_objects: bool | None = False,
|
|
2638
|
-
):
|
|
2641
|
+
) -> None:
|
|
2639
2642
|
"""Apply modifier and remove from the stack
|
|
2640
2643
|
|
|
2641
2644
|
:type execution_context: int | str | None
|
|
@@ -2663,7 +2666,7 @@ def modifier_apply_as_shapekey(
|
|
|
2663
2666
|
modifier: str = "",
|
|
2664
2667
|
report: bool | None = False,
|
|
2665
2668
|
use_selected_objects: bool | None = False,
|
|
2666
|
-
):
|
|
2669
|
+
) -> None:
|
|
2667
2670
|
"""Apply modifier as a new shape key and remove from the stack
|
|
2668
2671
|
|
|
2669
2672
|
:type execution_context: int | str | None
|
|
@@ -2684,7 +2687,7 @@ def modifier_convert(
|
|
|
2684
2687
|
/,
|
|
2685
2688
|
*,
|
|
2686
2689
|
modifier: str = "",
|
|
2687
|
-
):
|
|
2690
|
+
) -> None:
|
|
2688
2691
|
"""Convert particles to a mesh object
|
|
2689
2692
|
|
|
2690
2693
|
:type execution_context: int | str | None
|
|
@@ -2700,7 +2703,7 @@ def modifier_copy(
|
|
|
2700
2703
|
*,
|
|
2701
2704
|
modifier: str = "",
|
|
2702
2705
|
use_selected_objects: bool | None = False,
|
|
2703
|
-
):
|
|
2706
|
+
) -> None:
|
|
2704
2707
|
"""Duplicate modifier at the same position in the stack
|
|
2705
2708
|
|
|
2706
2709
|
:type execution_context: int | str | None
|
|
@@ -2717,7 +2720,7 @@ def modifier_copy_to_selected(
|
|
|
2717
2720
|
/,
|
|
2718
2721
|
*,
|
|
2719
2722
|
modifier: str = "",
|
|
2720
|
-
):
|
|
2723
|
+
) -> None:
|
|
2721
2724
|
"""Copy the modifier from the active object to all selected objects
|
|
2722
2725
|
|
|
2723
2726
|
:type execution_context: int | str | None
|
|
@@ -2732,7 +2735,7 @@ def modifier_move_down(
|
|
|
2732
2735
|
/,
|
|
2733
2736
|
*,
|
|
2734
2737
|
modifier: str = "",
|
|
2735
|
-
):
|
|
2738
|
+
) -> None:
|
|
2736
2739
|
"""Move modifier down in the stack
|
|
2737
2740
|
|
|
2738
2741
|
:type execution_context: int | str | None
|
|
@@ -2749,7 +2752,7 @@ def modifier_move_to_index(
|
|
|
2749
2752
|
modifier: str = "",
|
|
2750
2753
|
index: int | None = 0,
|
|
2751
2754
|
use_selected_objects: bool | None = False,
|
|
2752
|
-
):
|
|
2755
|
+
) -> None:
|
|
2753
2756
|
"""Change the modifier's index in the stack so it evaluates after the set number of others
|
|
2754
2757
|
|
|
2755
2758
|
:type execution_context: int | str | None
|
|
@@ -2768,7 +2771,7 @@ def modifier_move_up(
|
|
|
2768
2771
|
/,
|
|
2769
2772
|
*,
|
|
2770
2773
|
modifier: str = "",
|
|
2771
|
-
):
|
|
2774
|
+
) -> None:
|
|
2772
2775
|
"""Move modifier up in the stack
|
|
2773
2776
|
|
|
2774
2777
|
:type execution_context: int | str | None
|
|
@@ -2785,7 +2788,7 @@ def modifier_remove(
|
|
|
2785
2788
|
modifier: str = "",
|
|
2786
2789
|
report: bool | None = False,
|
|
2787
2790
|
use_selected_objects: bool | None = False,
|
|
2788
|
-
):
|
|
2791
|
+
) -> None:
|
|
2789
2792
|
"""Remove a modifier from the active object
|
|
2790
2793
|
|
|
2791
2794
|
:type execution_context: int | str | None
|
|
@@ -2804,7 +2807,7 @@ def modifier_set_active(
|
|
|
2804
2807
|
/,
|
|
2805
2808
|
*,
|
|
2806
2809
|
modifier: str = "",
|
|
2807
|
-
):
|
|
2810
|
+
) -> None:
|
|
2808
2811
|
"""Activate the modifier to use as the context
|
|
2809
2812
|
|
|
2810
2813
|
:type execution_context: int | str | None
|
|
@@ -2815,7 +2818,7 @@ def modifier_set_active(
|
|
|
2815
2818
|
|
|
2816
2819
|
def modifiers_clear(
|
|
2817
2820
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2818
|
-
):
|
|
2821
|
+
) -> None:
|
|
2819
2822
|
"""Clear all modifiers from the selected objects
|
|
2820
2823
|
|
|
2821
2824
|
:type execution_context: int | str | None
|
|
@@ -2824,7 +2827,7 @@ def modifiers_clear(
|
|
|
2824
2827
|
|
|
2825
2828
|
def modifiers_copy_to_selected(
|
|
2826
2829
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2827
|
-
):
|
|
2830
|
+
) -> None:
|
|
2828
2831
|
"""Copy modifiers to other selected objects
|
|
2829
2832
|
|
|
2830
2833
|
:type execution_context: int | str | None
|
|
@@ -2839,7 +2842,7 @@ def move_to_collection(
|
|
|
2839
2842
|
collection_index: int | None = -1,
|
|
2840
2843
|
is_new: bool | None = False,
|
|
2841
2844
|
new_collection_name: str = "",
|
|
2842
|
-
):
|
|
2845
|
+
) -> None:
|
|
2843
2846
|
"""Move objects to a collection
|
|
2844
2847
|
|
|
2845
2848
|
:type execution_context: int | str | None
|
|
@@ -2858,7 +2861,7 @@ def multires_base_apply(
|
|
|
2858
2861
|
/,
|
|
2859
2862
|
*,
|
|
2860
2863
|
modifier: str = "",
|
|
2861
|
-
):
|
|
2864
|
+
) -> None:
|
|
2862
2865
|
"""Modify the base mesh to conform to the displaced mesh
|
|
2863
2866
|
|
|
2864
2867
|
:type execution_context: int | str | None
|
|
@@ -2869,7 +2872,7 @@ def multires_base_apply(
|
|
|
2869
2872
|
|
|
2870
2873
|
def multires_external_pack(
|
|
2871
2874
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2872
|
-
):
|
|
2875
|
+
) -> None:
|
|
2873
2876
|
"""Pack displacements from an external file
|
|
2874
2877
|
|
|
2875
2878
|
:type execution_context: int | str | None
|
|
@@ -2894,7 +2897,6 @@ def multires_external_save(
|
|
|
2894
2897
|
filter_text: bool | None = False,
|
|
2895
2898
|
filter_archive: bool | None = False,
|
|
2896
2899
|
filter_btx: bool | None = True,
|
|
2897
|
-
filter_collada: bool | None = False,
|
|
2898
2900
|
filter_alembic: bool | None = False,
|
|
2899
2901
|
filter_usd: bool | None = False,
|
|
2900
2902
|
filter_obj: bool | None = False,
|
|
@@ -2909,7 +2911,7 @@ def multires_external_save(
|
|
|
2909
2911
|
| None = "DEFAULT",
|
|
2910
2912
|
sort_method: str | None = "",
|
|
2911
2913
|
modifier: str = "",
|
|
2912
|
-
):
|
|
2914
|
+
) -> None:
|
|
2913
2915
|
"""Save displacements to an external file
|
|
2914
2916
|
|
|
2915
2917
|
:type execution_context: int | str | None
|
|
@@ -2940,8 +2942,6 @@ def multires_external_save(
|
|
|
2940
2942
|
:type filter_archive: bool | None
|
|
2941
2943
|
:param filter_btx: Filter btx files
|
|
2942
2944
|
:type filter_btx: bool | None
|
|
2943
|
-
:param filter_collada: Filter COLLADA files
|
|
2944
|
-
:type filter_collada: bool | None
|
|
2945
2945
|
:param filter_alembic: Filter Alembic files
|
|
2946
2946
|
:type filter_alembic: bool | None
|
|
2947
2947
|
:param filter_usd: Filter USD files
|
|
@@ -2984,7 +2984,7 @@ def multires_higher_levels_delete(
|
|
|
2984
2984
|
/,
|
|
2985
2985
|
*,
|
|
2986
2986
|
modifier: str = "",
|
|
2987
|
-
):
|
|
2987
|
+
) -> None:
|
|
2988
2988
|
"""Deletes the higher resolution mesh, potential loss of detail
|
|
2989
2989
|
|
|
2990
2990
|
:type execution_context: int | str | None
|
|
@@ -2999,7 +2999,7 @@ def multires_rebuild_subdiv(
|
|
|
2999
2999
|
/,
|
|
3000
3000
|
*,
|
|
3001
3001
|
modifier: str = "",
|
|
3002
|
-
):
|
|
3002
|
+
) -> None:
|
|
3003
3003
|
"""Rebuilds all possible subdivisions levels to generate a lower resolution base mesh
|
|
3004
3004
|
|
|
3005
3005
|
:type execution_context: int | str | None
|
|
@@ -3014,7 +3014,7 @@ def multires_reshape(
|
|
|
3014
3014
|
/,
|
|
3015
3015
|
*,
|
|
3016
3016
|
modifier: str = "",
|
|
3017
|
-
):
|
|
3017
|
+
) -> None:
|
|
3018
3018
|
"""Copy vertex coordinates from other object
|
|
3019
3019
|
|
|
3020
3020
|
:type execution_context: int | str | None
|
|
@@ -3030,7 +3030,7 @@ def multires_subdivide(
|
|
|
3030
3030
|
*,
|
|
3031
3031
|
modifier: str = "",
|
|
3032
3032
|
mode: typing.Literal["CATMULL_CLARK", "SIMPLE", "LINEAR"] | None = "CATMULL_CLARK",
|
|
3033
|
-
):
|
|
3033
|
+
) -> None:
|
|
3034
3034
|
"""Add a new level of subdivision
|
|
3035
3035
|
|
|
3036
3036
|
:type execution_context: int | str | None
|
|
@@ -3056,7 +3056,7 @@ def multires_unsubdivide(
|
|
|
3056
3056
|
/,
|
|
3057
3057
|
*,
|
|
3058
3058
|
modifier: str = "",
|
|
3059
|
-
):
|
|
3059
|
+
) -> None:
|
|
3060
3060
|
"""Rebuild a lower subdivision level of the current base mesh
|
|
3061
3061
|
|
|
3062
3062
|
:type execution_context: int | str | None
|
|
@@ -3072,7 +3072,7 @@ def ocean_bake(
|
|
|
3072
3072
|
*,
|
|
3073
3073
|
modifier: str = "",
|
|
3074
3074
|
free: bool | None = False,
|
|
3075
|
-
):
|
|
3075
|
+
) -> None:
|
|
3076
3076
|
"""Bake an image sequence of ocean data
|
|
3077
3077
|
|
|
3078
3078
|
:type execution_context: int | str | None
|
|
@@ -3083,7 +3083,9 @@ def ocean_bake(
|
|
|
3083
3083
|
:type free: bool | None
|
|
3084
3084
|
"""
|
|
3085
3085
|
|
|
3086
|
-
def origin_clear(
|
|
3086
|
+
def origin_clear(
|
|
3087
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3088
|
+
) -> None:
|
|
3087
3089
|
"""Clear the object's origin
|
|
3088
3090
|
|
|
3089
3091
|
:type execution_context: int | str | None
|
|
@@ -3104,7 +3106,7 @@ def origin_set(
|
|
|
3104
3106
|
]
|
|
3105
3107
|
| None = "GEOMETRY_ORIGIN",
|
|
3106
3108
|
center: typing.Literal["MEDIAN", "BOUNDS"] | None = "MEDIAN",
|
|
3107
|
-
):
|
|
3109
|
+
) -> None:
|
|
3108
3110
|
"""Set the object's origin, by either moving the data, or set to center of data, or use 3D cursor
|
|
3109
3111
|
|
|
3110
3112
|
:type execution_context: int | str | None
|
|
@@ -3137,7 +3139,7 @@ def parent_clear(
|
|
|
3137
3139
|
*,
|
|
3138
3140
|
type: typing.Literal["CLEAR", "CLEAR_KEEP_TRANSFORM", "CLEAR_INVERSE"]
|
|
3139
3141
|
| None = "CLEAR",
|
|
3140
|
-
):
|
|
3142
|
+
) -> None:
|
|
3141
3143
|
"""Clear the object's parenting
|
|
3142
3144
|
|
|
3143
3145
|
:type execution_context: int | str | None
|
|
@@ -3157,7 +3159,7 @@ def parent_clear(
|
|
|
3157
3159
|
|
|
3158
3160
|
def parent_inverse_apply(
|
|
3159
3161
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3160
|
-
):
|
|
3162
|
+
) -> None:
|
|
3161
3163
|
"""Apply the object's parent inverse to its data
|
|
3162
3164
|
|
|
3163
3165
|
:type execution_context: int | str | None
|
|
@@ -3170,7 +3172,7 @@ def parent_no_inverse_set(
|
|
|
3170
3172
|
/,
|
|
3171
3173
|
*,
|
|
3172
3174
|
keep_transform: bool | None = False,
|
|
3173
|
-
):
|
|
3175
|
+
) -> None:
|
|
3174
3176
|
"""Set the object's parenting without setting the inverse parent correction
|
|
3175
3177
|
|
|
3176
3178
|
:type execution_context: int | str | None
|
|
@@ -3202,7 +3204,7 @@ def parent_set(
|
|
|
3202
3204
|
| None = "OBJECT",
|
|
3203
3205
|
xmirror: bool | None = False,
|
|
3204
3206
|
keep_transform: bool | None = False,
|
|
3205
|
-
):
|
|
3207
|
+
) -> None:
|
|
3206
3208
|
"""Set the object's parenting
|
|
3207
3209
|
|
|
3208
3210
|
:type execution_context: int | str | None
|
|
@@ -3217,7 +3219,7 @@ def parent_set(
|
|
|
3217
3219
|
|
|
3218
3220
|
def particle_system_add(
|
|
3219
3221
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3220
|
-
):
|
|
3222
|
+
) -> None:
|
|
3221
3223
|
"""Add a particle system
|
|
3222
3224
|
|
|
3223
3225
|
:type execution_context: int | str | None
|
|
@@ -3226,7 +3228,7 @@ def particle_system_add(
|
|
|
3226
3228
|
|
|
3227
3229
|
def particle_system_remove(
|
|
3228
3230
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3229
|
-
):
|
|
3231
|
+
) -> None:
|
|
3230
3232
|
"""Remove the selected particle system
|
|
3231
3233
|
|
|
3232
3234
|
:type execution_context: int | str | None
|
|
@@ -3241,7 +3243,7 @@ def paths_calculate(
|
|
|
3241
3243
|
display_type: bpy.stub_internal.rna_enums.MotionpathDisplayTypeItems
|
|
3242
3244
|
| None = "RANGE",
|
|
3243
3245
|
range: bpy.stub_internal.rna_enums.MotionpathRangeItems | None = "SCENE",
|
|
3244
|
-
):
|
|
3246
|
+
) -> None:
|
|
3245
3247
|
"""Generate motion paths for the selected objects
|
|
3246
3248
|
|
|
3247
3249
|
:type execution_context: int | str | None
|
|
@@ -3258,7 +3260,7 @@ def paths_clear(
|
|
|
3258
3260
|
/,
|
|
3259
3261
|
*,
|
|
3260
3262
|
only_selected: bool | None = False,
|
|
3261
|
-
):
|
|
3263
|
+
) -> None:
|
|
3262
3264
|
"""Undocumented, consider contributing.
|
|
3263
3265
|
|
|
3264
3266
|
:type execution_context: int | str | None
|
|
@@ -3267,7 +3269,9 @@ def paths_clear(
|
|
|
3267
3269
|
:type only_selected: bool | None
|
|
3268
3270
|
"""
|
|
3269
3271
|
|
|
3270
|
-
def paths_update(
|
|
3272
|
+
def paths_update(
|
|
3273
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3274
|
+
) -> None:
|
|
3271
3275
|
"""Recalculate motion paths for selected objects
|
|
3272
3276
|
|
|
3273
3277
|
:type execution_context: int | str | None
|
|
@@ -3276,7 +3280,7 @@ def paths_update(execution_context: int | str | None = None, undo: bool | None =
|
|
|
3276
3280
|
|
|
3277
3281
|
def paths_update_visible(
|
|
3278
3282
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3279
|
-
):
|
|
3283
|
+
) -> None:
|
|
3280
3284
|
"""Recalculate all visible motion paths for objects and poses
|
|
3281
3285
|
|
|
3282
3286
|
:type execution_context: int | str | None
|
|
@@ -3300,7 +3304,7 @@ def pointcloud_random_add(
|
|
|
3300
3304
|
0.0,
|
|
3301
3305
|
),
|
|
3302
3306
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
3303
|
-
):
|
|
3307
|
+
) -> None:
|
|
3304
3308
|
"""Add a point cloud object to the scene
|
|
3305
3309
|
|
|
3306
3310
|
:type execution_context: int | str | None
|
|
@@ -3326,7 +3330,7 @@ def pointcloud_random_add(
|
|
|
3326
3330
|
|
|
3327
3331
|
def posemode_toggle(
|
|
3328
3332
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3329
|
-
):
|
|
3333
|
+
) -> None:
|
|
3330
3334
|
"""Enable or disable posing/selecting bones
|
|
3331
3335
|
|
|
3332
3336
|
:type execution_context: int | str | None
|
|
@@ -3349,7 +3353,7 @@ def quadriflow_remesh(
|
|
|
3349
3353
|
target_faces: int | None = 4000,
|
|
3350
3354
|
mesh_area: float | None = -1.0,
|
|
3351
3355
|
seed: int | None = 0,
|
|
3352
|
-
):
|
|
3356
|
+
) -> None:
|
|
3353
3357
|
"""Create a new quad based mesh using the surface data of the current mesh. All data layers will be lost
|
|
3354
3358
|
|
|
3355
3359
|
:type execution_context: int | str | None
|
|
@@ -3399,7 +3403,7 @@ def quick_explode(
|
|
|
3399
3403
|
frame_end: int | None = 10,
|
|
3400
3404
|
velocity: float | None = 1.0,
|
|
3401
3405
|
fade: bool | None = True,
|
|
3402
|
-
):
|
|
3406
|
+
) -> None:
|
|
3403
3407
|
"""Make selected objects explode
|
|
3404
3408
|
|
|
3405
3409
|
:type execution_context: int | str | None
|
|
@@ -3432,7 +3436,7 @@ def quick_fur(
|
|
|
3432
3436
|
apply_hair_guides: bool | None = True,
|
|
3433
3437
|
use_noise: bool | None = True,
|
|
3434
3438
|
use_frizz: bool | None = True,
|
|
3435
|
-
):
|
|
3439
|
+
) -> None:
|
|
3436
3440
|
"""Add a fur setup to the selected objects
|
|
3437
3441
|
|
|
3438
3442
|
:type execution_context: int | str | None
|
|
@@ -3459,7 +3463,7 @@ def quick_liquid(
|
|
|
3459
3463
|
/,
|
|
3460
3464
|
*,
|
|
3461
3465
|
show_flows: bool | None = False,
|
|
3462
|
-
):
|
|
3466
|
+
) -> None:
|
|
3463
3467
|
"""Make selected objects liquid
|
|
3464
3468
|
|
|
3465
3469
|
:type execution_context: int | str | None
|
|
@@ -3475,7 +3479,7 @@ def quick_smoke(
|
|
|
3475
3479
|
*,
|
|
3476
3480
|
style: typing.Literal["SMOKE", "FIRE", "BOTH"] | None = "SMOKE",
|
|
3477
3481
|
show_flows: bool | None = False,
|
|
3478
|
-
):
|
|
3482
|
+
) -> None:
|
|
3479
3483
|
"""Use selected objects as smoke emitters
|
|
3480
3484
|
|
|
3481
3485
|
:type execution_context: int | str | None
|
|
@@ -3500,7 +3504,7 @@ def randomize_transform(
|
|
|
3500
3504
|
use_scale: bool | None = True,
|
|
3501
3505
|
scale_even: bool | None = False,
|
|
3502
3506
|
scale: collections.abc.Iterable[float] | None = (1.0, 1.0, 1.0),
|
|
3503
|
-
):
|
|
3507
|
+
) -> None:
|
|
3504
3508
|
"""Randomize objects location, rotation, and scale
|
|
3505
3509
|
|
|
3506
3510
|
:type execution_context: int | str | None
|
|
@@ -3527,7 +3531,7 @@ def randomize_transform(
|
|
|
3527
3531
|
|
|
3528
3532
|
def reset_override_library(
|
|
3529
3533
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
3530
|
-
):
|
|
3534
|
+
) -> None:
|
|
3531
3535
|
"""Reset the selected local overrides to their linked references values
|
|
3532
3536
|
|
|
3533
3537
|
:type execution_context: int | str | None
|
|
@@ -3540,7 +3544,7 @@ def rotation_clear(
|
|
|
3540
3544
|
/,
|
|
3541
3545
|
*,
|
|
3542
3546
|
clear_delta: bool | None = False,
|
|
3543
|
-
):
|
|
3547
|
+
) -> None:
|
|
3544
3548
|
"""Clear the object's rotation
|
|
3545
3549
|
|
|
3546
3550
|
:type execution_context: int | str | None
|
|
@@ -3555,7 +3559,7 @@ def scale_clear(
|
|
|
3555
3559
|
/,
|
|
3556
3560
|
*,
|
|
3557
3561
|
clear_delta: bool | None = False,
|
|
3558
|
-
):
|
|
3562
|
+
) -> None:
|
|
3559
3563
|
"""Clear the object's scale
|
|
3560
3564
|
|
|
3561
3565
|
:type execution_context: int | str | None
|
|
@@ -3570,7 +3574,7 @@ def select_all(
|
|
|
3570
3574
|
/,
|
|
3571
3575
|
*,
|
|
3572
3576
|
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
3573
|
-
):
|
|
3577
|
+
) -> None:
|
|
3574
3578
|
"""Change selection of all visible objects in scene
|
|
3575
3579
|
|
|
3576
3580
|
:type execution_context: int | str | None
|
|
@@ -3598,7 +3602,7 @@ def select_by_type(
|
|
|
3598
3602
|
*,
|
|
3599
3603
|
extend: bool | None = False,
|
|
3600
3604
|
type: bpy.stub_internal.rna_enums.ObjectTypeItems | None = "MESH",
|
|
3601
|
-
):
|
|
3605
|
+
) -> None:
|
|
3602
3606
|
"""Select all visible objects that are of a type
|
|
3603
3607
|
|
|
3604
3608
|
:type execution_context: int | str | None
|
|
@@ -3615,7 +3619,7 @@ def select_camera(
|
|
|
3615
3619
|
/,
|
|
3616
3620
|
*,
|
|
3617
3621
|
extend: bool | None = False,
|
|
3618
|
-
):
|
|
3622
|
+
) -> None:
|
|
3619
3623
|
"""Select the active camera
|
|
3620
3624
|
|
|
3621
3625
|
:type execution_context: int | str | None
|
|
@@ -3644,7 +3648,7 @@ def select_grouped(
|
|
|
3644
3648
|
"LIGHT_TYPE",
|
|
3645
3649
|
]
|
|
3646
3650
|
| None = "CHILDREN_RECURSIVE",
|
|
3647
|
-
):
|
|
3651
|
+
) -> None:
|
|
3648
3652
|
"""Select all visible objects grouped by various properties
|
|
3649
3653
|
|
|
3650
3654
|
:type execution_context: int | str | None
|
|
@@ -3695,7 +3699,7 @@ def select_hierarchy(
|
|
|
3695
3699
|
*,
|
|
3696
3700
|
direction: typing.Literal["PARENT", "CHILD"] | None = "PARENT",
|
|
3697
3701
|
extend: bool | None = False,
|
|
3698
|
-
):
|
|
3702
|
+
) -> None:
|
|
3699
3703
|
"""Select object relative to the active object's position in the hierarchy
|
|
3700
3704
|
|
|
3701
3705
|
:type execution_context: int | str | None
|
|
@@ -3706,7 +3710,9 @@ def select_hierarchy(
|
|
|
3706
3710
|
:type extend: bool | None
|
|
3707
3711
|
"""
|
|
3708
3712
|
|
|
3709
|
-
def select_less(
|
|
3713
|
+
def select_less(
|
|
3714
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3715
|
+
) -> None:
|
|
3710
3716
|
"""Deselect objects at the boundaries of parent/child relationships
|
|
3711
3717
|
|
|
3712
3718
|
:type execution_context: int | str | None
|
|
@@ -3723,7 +3729,7 @@ def select_linked(
|
|
|
3723
3729
|
"OBDATA", "MATERIAL", "DUPGROUP", "PARTICLE", "LIBRARY", "LIBRARY_OBDATA"
|
|
3724
3730
|
]
|
|
3725
3731
|
| None = "OBDATA",
|
|
3726
|
-
):
|
|
3732
|
+
) -> None:
|
|
3727
3733
|
"""Select all visible objects that are linked
|
|
3728
3734
|
|
|
3729
3735
|
:type execution_context: int | str | None
|
|
@@ -3740,7 +3746,7 @@ def select_mirror(
|
|
|
3740
3746
|
/,
|
|
3741
3747
|
*,
|
|
3742
3748
|
extend: bool | None = False,
|
|
3743
|
-
):
|
|
3749
|
+
) -> None:
|
|
3744
3750
|
"""Select the mirror objects of the selected object e.g. "L.sword" and "R.sword"
|
|
3745
3751
|
|
|
3746
3752
|
:type execution_context: int | str | None
|
|
@@ -3749,7 +3755,9 @@ def select_mirror(
|
|
|
3749
3755
|
:type extend: bool | None
|
|
3750
3756
|
"""
|
|
3751
3757
|
|
|
3752
|
-
def select_more(
|
|
3758
|
+
def select_more(
|
|
3759
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
3760
|
+
) -> None:
|
|
3753
3761
|
"""Select connected parent/child objects
|
|
3754
3762
|
|
|
3755
3763
|
:type execution_context: int | str | None
|
|
@@ -3764,7 +3772,7 @@ def select_pattern(
|
|
|
3764
3772
|
pattern: str = "*",
|
|
3765
3773
|
case_sensitive: bool | None = False,
|
|
3766
3774
|
extend: bool | None = True,
|
|
3767
|
-
):
|
|
3775
|
+
) -> None:
|
|
3768
3776
|
"""Select objects matching a naming pattern
|
|
3769
3777
|
|
|
3770
3778
|
:type execution_context: int | str | None
|
|
@@ -3785,7 +3793,7 @@ def select_random(
|
|
|
3785
3793
|
ratio: float | None = 0.5,
|
|
3786
3794
|
seed: int | None = 0,
|
|
3787
3795
|
action: typing.Literal["SELECT", "DESELECT"] | None = "SELECT",
|
|
3788
|
-
):
|
|
3796
|
+
) -> None:
|
|
3789
3797
|
"""Select or deselect random visible objects
|
|
3790
3798
|
|
|
3791
3799
|
:type execution_context: int | str | None
|
|
@@ -3810,7 +3818,7 @@ def select_same_collection(
|
|
|
3810
3818
|
/,
|
|
3811
3819
|
*,
|
|
3812
3820
|
collection: str = "",
|
|
3813
|
-
):
|
|
3821
|
+
) -> None:
|
|
3814
3822
|
"""Select object in the same collection
|
|
3815
3823
|
|
|
3816
3824
|
:type execution_context: int | str | None
|
|
@@ -3826,7 +3834,7 @@ def shade_auto_smooth(
|
|
|
3826
3834
|
*,
|
|
3827
3835
|
use_auto_smooth: bool | None = True,
|
|
3828
3836
|
angle: float | None = 0.523599,
|
|
3829
|
-
):
|
|
3837
|
+
) -> None:
|
|
3830
3838
|
"""Add modifier to automatically set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
3831
3839
|
|
|
3832
3840
|
:type execution_context: int | str | None
|
|
@@ -3843,7 +3851,7 @@ def shade_flat(
|
|
|
3843
3851
|
/,
|
|
3844
3852
|
*,
|
|
3845
3853
|
keep_sharp_edges: bool | None = True,
|
|
3846
|
-
):
|
|
3854
|
+
) -> None:
|
|
3847
3855
|
"""Render and display faces uniform, using face normals
|
|
3848
3856
|
|
|
3849
3857
|
:type execution_context: int | str | None
|
|
@@ -3858,7 +3866,7 @@ def shade_smooth(
|
|
|
3858
3866
|
/,
|
|
3859
3867
|
*,
|
|
3860
3868
|
keep_sharp_edges: bool | None = True,
|
|
3861
|
-
):
|
|
3869
|
+
) -> None:
|
|
3862
3870
|
"""Render and display faces smooth, using interpolated vertex normals
|
|
3863
3871
|
|
|
3864
3872
|
:type execution_context: int | str | None
|
|
@@ -3874,7 +3882,7 @@ def shade_smooth_by_angle(
|
|
|
3874
3882
|
*,
|
|
3875
3883
|
angle: float | None = 0.523599,
|
|
3876
3884
|
keep_sharp_edges: bool | None = True,
|
|
3877
|
-
):
|
|
3885
|
+
) -> None:
|
|
3878
3886
|
"""Set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
3879
3887
|
|
|
3880
3888
|
:type execution_context: int | str | None
|
|
@@ -3891,7 +3899,7 @@ def shaderfx_add(
|
|
|
3891
3899
|
/,
|
|
3892
3900
|
*,
|
|
3893
3901
|
type: bpy.stub_internal.rna_enums.ObjectShaderfxTypeItems | None = "FX_BLUR",
|
|
3894
|
-
):
|
|
3902
|
+
) -> None:
|
|
3895
3903
|
"""Add a visual effect to the active object
|
|
3896
3904
|
|
|
3897
3905
|
:type execution_context: int | str | None
|
|
@@ -3906,7 +3914,7 @@ def shaderfx_copy(
|
|
|
3906
3914
|
/,
|
|
3907
3915
|
*,
|
|
3908
3916
|
shaderfx: str = "",
|
|
3909
|
-
):
|
|
3917
|
+
) -> None:
|
|
3910
3918
|
"""Duplicate effect at the same position in the stack
|
|
3911
3919
|
|
|
3912
3920
|
:type execution_context: int | str | None
|
|
@@ -3921,7 +3929,7 @@ def shaderfx_move_down(
|
|
|
3921
3929
|
/,
|
|
3922
3930
|
*,
|
|
3923
3931
|
shaderfx: str = "",
|
|
3924
|
-
):
|
|
3932
|
+
) -> None:
|
|
3925
3933
|
"""Move effect down in the stack
|
|
3926
3934
|
|
|
3927
3935
|
:type execution_context: int | str | None
|
|
@@ -3937,7 +3945,7 @@ def shaderfx_move_to_index(
|
|
|
3937
3945
|
*,
|
|
3938
3946
|
shaderfx: str = "",
|
|
3939
3947
|
index: int | None = 0,
|
|
3940
|
-
):
|
|
3948
|
+
) -> None:
|
|
3941
3949
|
"""Change the effect's position in the list so it evaluates after the set number of others
|
|
3942
3950
|
|
|
3943
3951
|
:type execution_context: int | str | None
|
|
@@ -3954,7 +3962,7 @@ def shaderfx_move_up(
|
|
|
3954
3962
|
/,
|
|
3955
3963
|
*,
|
|
3956
3964
|
shaderfx: str = "",
|
|
3957
|
-
):
|
|
3965
|
+
) -> None:
|
|
3958
3966
|
"""Move effect up in the stack
|
|
3959
3967
|
|
|
3960
3968
|
:type execution_context: int | str | None
|
|
@@ -3970,7 +3978,7 @@ def shaderfx_remove(
|
|
|
3970
3978
|
*,
|
|
3971
3979
|
shaderfx: str = "",
|
|
3972
3980
|
report: bool | None = False,
|
|
3973
|
-
):
|
|
3981
|
+
) -> None:
|
|
3974
3982
|
"""Remove a effect from the active Grease Pencil object
|
|
3975
3983
|
|
|
3976
3984
|
:type execution_context: int | str | None
|
|
@@ -3987,7 +3995,7 @@ def shape_key_add(
|
|
|
3987
3995
|
/,
|
|
3988
3996
|
*,
|
|
3989
3997
|
from_mix: bool | None = True,
|
|
3990
|
-
):
|
|
3998
|
+
) -> None:
|
|
3991
3999
|
"""Add shape key to the object
|
|
3992
4000
|
|
|
3993
4001
|
:type execution_context: int | str | None
|
|
@@ -3998,7 +4006,7 @@ def shape_key_add(
|
|
|
3998
4006
|
|
|
3999
4007
|
def shape_key_clear(
|
|
4000
4008
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4001
|
-
):
|
|
4009
|
+
) -> None:
|
|
4002
4010
|
"""Reset the weights of all shape keys to 0 or to the closest value respecting the limits
|
|
4003
4011
|
|
|
4004
4012
|
:type execution_context: int | str | None
|
|
@@ -4007,7 +4015,7 @@ def shape_key_clear(
|
|
|
4007
4015
|
|
|
4008
4016
|
def shape_key_copy(
|
|
4009
4017
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4010
|
-
):
|
|
4018
|
+
) -> None:
|
|
4011
4019
|
"""Duplicate the active shape key
|
|
4012
4020
|
|
|
4013
4021
|
:type execution_context: int | str | None
|
|
@@ -4020,7 +4028,7 @@ def shape_key_lock(
|
|
|
4020
4028
|
/,
|
|
4021
4029
|
*,
|
|
4022
4030
|
action: typing.Literal["LOCK", "UNLOCK"] | None = "LOCK",
|
|
4023
|
-
):
|
|
4031
|
+
) -> None:
|
|
4024
4032
|
"""Change the lock state of all shape keys of active object
|
|
4025
4033
|
|
|
4026
4034
|
:type execution_context: int | str | None
|
|
@@ -4041,7 +4049,7 @@ def shape_key_mirror(
|
|
|
4041
4049
|
/,
|
|
4042
4050
|
*,
|
|
4043
4051
|
use_topology: bool | None = False,
|
|
4044
|
-
):
|
|
4052
|
+
) -> None:
|
|
4045
4053
|
"""Mirror the current shape key along the local X axis
|
|
4046
4054
|
|
|
4047
4055
|
:type execution_context: int | str | None
|
|
@@ -4056,7 +4064,7 @@ def shape_key_move(
|
|
|
4056
4064
|
/,
|
|
4057
4065
|
*,
|
|
4058
4066
|
type: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
|
|
4059
|
-
):
|
|
4067
|
+
) -> None:
|
|
4060
4068
|
"""Move the active shape key up/down in the list
|
|
4061
4069
|
|
|
4062
4070
|
:type execution_context: int | str | None
|
|
@@ -4084,7 +4092,7 @@ def shape_key_remove(
|
|
|
4084
4092
|
*,
|
|
4085
4093
|
all: bool | None = False,
|
|
4086
4094
|
apply_mix: bool | None = False,
|
|
4087
|
-
):
|
|
4095
|
+
) -> None:
|
|
4088
4096
|
"""Remove shape key from the object
|
|
4089
4097
|
|
|
4090
4098
|
:type execution_context: int | str | None
|
|
@@ -4097,7 +4105,7 @@ def shape_key_remove(
|
|
|
4097
4105
|
|
|
4098
4106
|
def shape_key_retime(
|
|
4099
4107
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4100
|
-
):
|
|
4108
|
+
) -> None:
|
|
4101
4109
|
"""Resets the timing for absolute shape keys
|
|
4102
4110
|
|
|
4103
4111
|
:type execution_context: int | str | None
|
|
@@ -4111,7 +4119,7 @@ def shape_key_transfer(
|
|
|
4111
4119
|
*,
|
|
4112
4120
|
mode: typing.Literal["OFFSET", "RELATIVE_FACE", "RELATIVE_EDGE"] | None = "OFFSET",
|
|
4113
4121
|
use_clamp: bool | None = False,
|
|
4114
|
-
):
|
|
4122
|
+
) -> None:
|
|
4115
4123
|
"""Copy the active shape key of another selected object to this one
|
|
4116
4124
|
|
|
4117
4125
|
:type execution_context: int | str | None
|
|
@@ -4137,7 +4145,7 @@ def simulation_nodes_cache_bake(
|
|
|
4137
4145
|
/,
|
|
4138
4146
|
*,
|
|
4139
4147
|
selected: bool | None = False,
|
|
4140
|
-
):
|
|
4148
|
+
) -> None:
|
|
4141
4149
|
"""Bake simulations in geometry nodes modifiers
|
|
4142
4150
|
|
|
4143
4151
|
:type execution_context: int | str | None
|
|
@@ -4152,7 +4160,7 @@ def simulation_nodes_cache_calculate_to_frame(
|
|
|
4152
4160
|
/,
|
|
4153
4161
|
*,
|
|
4154
4162
|
selected: bool | None = False,
|
|
4155
|
-
):
|
|
4163
|
+
) -> None:
|
|
4156
4164
|
"""Calculate simulations in geometry nodes modifiers from the start to current frame
|
|
4157
4165
|
|
|
4158
4166
|
:type execution_context: int | str | None
|
|
@@ -4167,7 +4175,7 @@ def simulation_nodes_cache_delete(
|
|
|
4167
4175
|
/,
|
|
4168
4176
|
*,
|
|
4169
4177
|
selected: bool | None = False,
|
|
4170
|
-
):
|
|
4178
|
+
) -> None:
|
|
4171
4179
|
"""Delete cached/baked simulations in geometry nodes modifiers
|
|
4172
4180
|
|
|
4173
4181
|
:type execution_context: int | str | None
|
|
@@ -4182,7 +4190,7 @@ def skin_armature_create(
|
|
|
4182
4190
|
/,
|
|
4183
4191
|
*,
|
|
4184
4192
|
modifier: str = "",
|
|
4185
|
-
):
|
|
4193
|
+
) -> None:
|
|
4186
4194
|
"""Create an armature that parallels the skin layout
|
|
4187
4195
|
|
|
4188
4196
|
:type execution_context: int | str | None
|
|
@@ -4197,7 +4205,7 @@ def skin_loose_mark_clear(
|
|
|
4197
4205
|
/,
|
|
4198
4206
|
*,
|
|
4199
4207
|
action: typing.Literal["MARK", "CLEAR"] | None = "MARK",
|
|
4200
|
-
):
|
|
4208
|
+
) -> None:
|
|
4201
4209
|
"""Mark/clear selected vertices as loose
|
|
4202
4210
|
|
|
4203
4211
|
:type execution_context: int | str | None
|
|
@@ -4214,7 +4222,7 @@ def skin_loose_mark_clear(
|
|
|
4214
4222
|
|
|
4215
4223
|
def skin_radii_equalize(
|
|
4216
4224
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4217
|
-
):
|
|
4225
|
+
) -> None:
|
|
4218
4226
|
"""Make skin radii of selected vertices equal on each axis
|
|
4219
4227
|
|
|
4220
4228
|
:type execution_context: int | str | None
|
|
@@ -4223,7 +4231,7 @@ def skin_radii_equalize(
|
|
|
4223
4231
|
|
|
4224
4232
|
def skin_root_mark(
|
|
4225
4233
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4226
|
-
):
|
|
4234
|
+
) -> None:
|
|
4227
4235
|
"""Mark selected vertices as roots
|
|
4228
4236
|
|
|
4229
4237
|
:type execution_context: int | str | None
|
|
@@ -4248,7 +4256,7 @@ def speaker_add(
|
|
|
4248
4256
|
0.0,
|
|
4249
4257
|
),
|
|
4250
4258
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4251
|
-
):
|
|
4259
|
+
) -> None:
|
|
4252
4260
|
"""Add a speaker object to the scene
|
|
4253
4261
|
|
|
4254
4262
|
:type execution_context: int | str | None
|
|
@@ -4281,7 +4289,7 @@ def subdivision_set(
|
|
|
4281
4289
|
*,
|
|
4282
4290
|
level: int | None = 1,
|
|
4283
4291
|
relative: bool | None = False,
|
|
4284
|
-
):
|
|
4292
|
+
) -> None:
|
|
4285
4293
|
"""Sets a Subdivision Surface level (1 to 5)
|
|
4286
4294
|
|
|
4287
4295
|
:type execution_context: int | str | None
|
|
@@ -4298,7 +4306,7 @@ def surfacedeform_bind(
|
|
|
4298
4306
|
/,
|
|
4299
4307
|
*,
|
|
4300
4308
|
modifier: str = "",
|
|
4301
|
-
):
|
|
4309
|
+
) -> None:
|
|
4302
4310
|
"""Bind mesh to target in surface deform modifier
|
|
4303
4311
|
|
|
4304
4312
|
:type execution_context: int | str | None
|
|
@@ -4326,7 +4334,7 @@ def text_add(
|
|
|
4326
4334
|
0.0,
|
|
4327
4335
|
),
|
|
4328
4336
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4329
|
-
):
|
|
4337
|
+
) -> None:
|
|
4330
4338
|
"""Add a text object to the scene
|
|
4331
4339
|
|
|
4332
4340
|
:type execution_context: int | str | None
|
|
@@ -4360,7 +4368,7 @@ def track_clear(
|
|
|
4360
4368
|
/,
|
|
4361
4369
|
*,
|
|
4362
4370
|
type: typing.Literal["CLEAR", "CLEAR_KEEP_TRANSFORM"] | None = "CLEAR",
|
|
4363
|
-
):
|
|
4371
|
+
) -> None:
|
|
4364
4372
|
"""Clear tracking constraint or flag from object
|
|
4365
4373
|
|
|
4366
4374
|
:type execution_context: int | str | None
|
|
@@ -4375,7 +4383,7 @@ def track_set(
|
|
|
4375
4383
|
/,
|
|
4376
4384
|
*,
|
|
4377
4385
|
type: typing.Literal["DAMPTRACK", "TRACKTO", "LOCKTRACK"] | None = "DAMPTRACK",
|
|
4378
|
-
):
|
|
4386
|
+
) -> None:
|
|
4379
4387
|
"""Make the object track another object, using various methods/constraints
|
|
4380
4388
|
|
|
4381
4389
|
:type execution_context: int | str | None
|
|
@@ -4390,7 +4398,7 @@ def transfer_mode(
|
|
|
4390
4398
|
/,
|
|
4391
4399
|
*,
|
|
4392
4400
|
use_flash_on_transfer: bool | None = True,
|
|
4393
|
-
):
|
|
4401
|
+
) -> None:
|
|
4394
4402
|
"""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
4403
|
|
|
4396
4404
|
:type execution_context: int | str | None
|
|
@@ -4409,7 +4417,7 @@ def transform_apply(
|
|
|
4409
4417
|
scale: bool | None = True,
|
|
4410
4418
|
properties: bool | None = True,
|
|
4411
4419
|
isolate_users: bool | None = False,
|
|
4412
|
-
):
|
|
4420
|
+
) -> None:
|
|
4413
4421
|
"""Apply the object's transformation to its data
|
|
4414
4422
|
|
|
4415
4423
|
:type execution_context: int | str | None
|
|
@@ -4428,7 +4436,7 @@ def transform_apply(
|
|
|
4428
4436
|
|
|
4429
4437
|
def transform_axis_target(
|
|
4430
4438
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4431
|
-
):
|
|
4439
|
+
) -> None:
|
|
4432
4440
|
"""Interactively point cameras and lights to a location (Ctrl translates)
|
|
4433
4441
|
|
|
4434
4442
|
:type execution_context: int | str | None
|
|
@@ -4452,7 +4460,7 @@ def transform_to_mouse(
|
|
|
4452
4460
|
),
|
|
4453
4461
|
drop_x: int | None = 0,
|
|
4454
4462
|
drop_y: int | None = 0,
|
|
4455
|
-
):
|
|
4463
|
+
) -> None:
|
|
4456
4464
|
"""Snap selected item(s) to the mouse location
|
|
4457
4465
|
|
|
4458
4466
|
:type execution_context: int | str | None
|
|
@@ -4476,7 +4484,7 @@ def transforms_to_deltas(
|
|
|
4476
4484
|
*,
|
|
4477
4485
|
mode: typing.Literal["ALL", "LOC", "ROT", "SCALE"] | None = "ALL",
|
|
4478
4486
|
reset_values: bool | None = True,
|
|
4479
|
-
):
|
|
4487
|
+
) -> None:
|
|
4480
4488
|
"""Convert normal object transforms to delta transforms, any existing delta transforms will be included as well
|
|
4481
4489
|
|
|
4482
4490
|
:type execution_context: int | str | None
|
|
@@ -4499,14 +4507,18 @@ def transforms_to_deltas(
|
|
|
4499
4507
|
:type reset_values: bool | None
|
|
4500
4508
|
"""
|
|
4501
4509
|
|
|
4502
|
-
def unlink_data(
|
|
4510
|
+
def unlink_data(
|
|
4511
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
4512
|
+
) -> None:
|
|
4503
4513
|
"""Undocumented, consider contributing.
|
|
4504
4514
|
|
|
4505
4515
|
:type execution_context: int | str | None
|
|
4506
4516
|
:type undo: bool | None
|
|
4507
4517
|
"""
|
|
4508
4518
|
|
|
4509
|
-
def update_shapes(
|
|
4519
|
+
def update_shapes(
|
|
4520
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
4521
|
+
) -> None:
|
|
4510
4522
|
"""Update existing shape keys with the vertex positions of selected objects with matching names
|
|
4511
4523
|
|
|
4512
4524
|
:type execution_context: int | str | None
|
|
@@ -4515,7 +4527,7 @@ def update_shapes(execution_context: int | str | None = None, undo: bool | None
|
|
|
4515
4527
|
|
|
4516
4528
|
def vertex_group_add(
|
|
4517
4529
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4518
|
-
):
|
|
4530
|
+
) -> None:
|
|
4519
4531
|
"""Add a new vertex group to the active object
|
|
4520
4532
|
|
|
4521
4533
|
:type execution_context: int | str | None
|
|
@@ -4524,7 +4536,7 @@ def vertex_group_add(
|
|
|
4524
4536
|
|
|
4525
4537
|
def vertex_group_assign(
|
|
4526
4538
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4527
|
-
):
|
|
4539
|
+
) -> None:
|
|
4528
4540
|
"""Assign the selected vertices to the active vertex group
|
|
4529
4541
|
|
|
4530
4542
|
:type execution_context: int | str | None
|
|
@@ -4533,7 +4545,7 @@ def vertex_group_assign(
|
|
|
4533
4545
|
|
|
4534
4546
|
def vertex_group_assign_new(
|
|
4535
4547
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4536
|
-
):
|
|
4548
|
+
) -> None:
|
|
4537
4549
|
"""Assign the selected vertices to a new vertex group
|
|
4538
4550
|
|
|
4539
4551
|
:type execution_context: int | str | None
|
|
@@ -4548,7 +4560,7 @@ def vertex_group_clean(
|
|
|
4548
4560
|
group_select_mode: str | None = "",
|
|
4549
4561
|
limit: float | None = 0.0,
|
|
4550
4562
|
keep_single: bool | None = False,
|
|
4551
|
-
):
|
|
4563
|
+
) -> None:
|
|
4552
4564
|
"""Remove vertex group assignments which are not required
|
|
4553
4565
|
|
|
4554
4566
|
:type execution_context: int | str | None
|
|
@@ -4563,7 +4575,7 @@ def vertex_group_clean(
|
|
|
4563
4575
|
|
|
4564
4576
|
def vertex_group_copy(
|
|
4565
4577
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4566
|
-
):
|
|
4578
|
+
) -> None:
|
|
4567
4579
|
"""Make a copy of the active vertex group
|
|
4568
4580
|
|
|
4569
4581
|
:type execution_context: int | str | None
|
|
@@ -4572,7 +4584,7 @@ def vertex_group_copy(
|
|
|
4572
4584
|
|
|
4573
4585
|
def vertex_group_copy_to_selected(
|
|
4574
4586
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4575
|
-
):
|
|
4587
|
+
) -> None:
|
|
4576
4588
|
"""Replace vertex groups of selected objects by vertex groups of active object
|
|
4577
4589
|
|
|
4578
4590
|
:type execution_context: int | str | None
|
|
@@ -4581,7 +4593,7 @@ def vertex_group_copy_to_selected(
|
|
|
4581
4593
|
|
|
4582
4594
|
def vertex_group_deselect(
|
|
4583
4595
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4584
|
-
):
|
|
4596
|
+
) -> None:
|
|
4585
4597
|
"""Deselect all selected vertices assigned to the active vertex group
|
|
4586
4598
|
|
|
4587
4599
|
:type execution_context: int | str | None
|
|
@@ -4596,7 +4608,7 @@ def vertex_group_invert(
|
|
|
4596
4608
|
group_select_mode: str | None = "",
|
|
4597
4609
|
auto_assign: bool | None = True,
|
|
4598
4610
|
auto_remove: bool | None = True,
|
|
4599
|
-
):
|
|
4611
|
+
) -> None:
|
|
4600
4612
|
"""Invert active vertex group's weights
|
|
4601
4613
|
|
|
4602
4614
|
:type execution_context: int | str | None
|
|
@@ -4617,7 +4629,7 @@ def vertex_group_levels(
|
|
|
4617
4629
|
group_select_mode: str | None = "",
|
|
4618
4630
|
offset: float | None = 0.0,
|
|
4619
4631
|
gain: float | None = 1.0,
|
|
4620
|
-
):
|
|
4632
|
+
) -> None:
|
|
4621
4633
|
"""Add some offset and multiply with some gain the weights of the active vertex group
|
|
4622
4634
|
|
|
4623
4635
|
:type execution_context: int | str | None
|
|
@@ -4637,7 +4649,7 @@ def vertex_group_limit_total(
|
|
|
4637
4649
|
*,
|
|
4638
4650
|
group_select_mode: str | None = "",
|
|
4639
4651
|
limit: int | None = 4,
|
|
4640
|
-
):
|
|
4652
|
+
) -> None:
|
|
4641
4653
|
"""Limit deform weights associated with a vertex to a specified number by removing lowest weights
|
|
4642
4654
|
|
|
4643
4655
|
:type execution_context: int | str | None
|
|
@@ -4656,7 +4668,7 @@ def vertex_group_lock(
|
|
|
4656
4668
|
action: typing.Literal["TOGGLE", "LOCK", "UNLOCK", "INVERT"] | None = "TOGGLE",
|
|
4657
4669
|
mask: typing.Literal["ALL", "SELECTED", "UNSELECTED", "INVERT_UNSELECTED"]
|
|
4658
4670
|
| None = "ALL",
|
|
4659
|
-
):
|
|
4671
|
+
) -> None:
|
|
4660
4672
|
"""Change the lock state of all or some vertex groups of active object
|
|
4661
4673
|
|
|
4662
4674
|
:type execution_context: int | str | None
|
|
@@ -4700,7 +4712,7 @@ def vertex_group_mirror(
|
|
|
4700
4712
|
flip_group_names: bool | None = True,
|
|
4701
4713
|
all_groups: bool | None = False,
|
|
4702
4714
|
use_topology: bool | None = False,
|
|
4703
|
-
):
|
|
4715
|
+
) -> None:
|
|
4704
4716
|
"""Mirror vertex group, flip weights and/or names, editing only selected vertices, flipping when both sides are selected otherwise copy from unselected
|
|
4705
4717
|
|
|
4706
4718
|
:type execution_context: int | str | None
|
|
@@ -4721,7 +4733,7 @@ def vertex_group_move(
|
|
|
4721
4733
|
/,
|
|
4722
4734
|
*,
|
|
4723
4735
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
4724
|
-
):
|
|
4736
|
+
) -> None:
|
|
4725
4737
|
"""Move the active vertex group up/down in the list
|
|
4726
4738
|
|
|
4727
4739
|
:type execution_context: int | str | None
|
|
@@ -4732,7 +4744,7 @@ def vertex_group_move(
|
|
|
4732
4744
|
|
|
4733
4745
|
def vertex_group_normalize(
|
|
4734
4746
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4735
|
-
):
|
|
4747
|
+
) -> None:
|
|
4736
4748
|
"""Normalize weights of the active vertex group, so that the highest ones are now 1.0
|
|
4737
4749
|
|
|
4738
4750
|
:type execution_context: int | str | None
|
|
@@ -4746,7 +4758,7 @@ def vertex_group_normalize_all(
|
|
|
4746
4758
|
*,
|
|
4747
4759
|
group_select_mode: str | None = "",
|
|
4748
4760
|
lock_active: bool | None = True,
|
|
4749
|
-
):
|
|
4761
|
+
) -> None:
|
|
4750
4762
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
4751
4763
|
|
|
4752
4764
|
:type execution_context: int | str | None
|
|
@@ -4764,7 +4776,7 @@ def vertex_group_quantize(
|
|
|
4764
4776
|
*,
|
|
4765
4777
|
group_select_mode: str | None = "",
|
|
4766
4778
|
steps: int | None = 4,
|
|
4767
|
-
):
|
|
4779
|
+
) -> None:
|
|
4768
4780
|
"""Set weights to a fixed number of steps
|
|
4769
4781
|
|
|
4770
4782
|
:type execution_context: int | str | None
|
|
@@ -4782,7 +4794,7 @@ def vertex_group_remove(
|
|
|
4782
4794
|
*,
|
|
4783
4795
|
all: bool | None = False,
|
|
4784
4796
|
all_unlocked: bool | None = False,
|
|
4785
|
-
):
|
|
4797
|
+
) -> None:
|
|
4786
4798
|
"""Delete the active or all vertex groups from the active object
|
|
4787
4799
|
|
|
4788
4800
|
:type execution_context: int | str | None
|
|
@@ -4800,7 +4812,7 @@ def vertex_group_remove_from(
|
|
|
4800
4812
|
*,
|
|
4801
4813
|
use_all_groups: bool | None = False,
|
|
4802
4814
|
use_all_verts: bool | None = False,
|
|
4803
|
-
):
|
|
4815
|
+
) -> None:
|
|
4804
4816
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
4805
4817
|
|
|
4806
4818
|
:type execution_context: int | str | None
|
|
@@ -4813,7 +4825,7 @@ def vertex_group_remove_from(
|
|
|
4813
4825
|
|
|
4814
4826
|
def vertex_group_select(
|
|
4815
4827
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4816
|
-
):
|
|
4828
|
+
) -> None:
|
|
4817
4829
|
"""Select all the vertices assigned to the active vertex group
|
|
4818
4830
|
|
|
4819
4831
|
:type execution_context: int | str | None
|
|
@@ -4826,7 +4838,7 @@ def vertex_group_set_active(
|
|
|
4826
4838
|
/,
|
|
4827
4839
|
*,
|
|
4828
4840
|
group: str | None = "",
|
|
4829
|
-
):
|
|
4841
|
+
) -> None:
|
|
4830
4842
|
"""Set the active vertex group
|
|
4831
4843
|
|
|
4832
4844
|
:type execution_context: int | str | None
|
|
@@ -4844,7 +4856,7 @@ def vertex_group_smooth(
|
|
|
4844
4856
|
factor: float | None = 0.5,
|
|
4845
4857
|
repeat: int | None = 1,
|
|
4846
4858
|
expand: float | None = 0.0,
|
|
4847
|
-
):
|
|
4859
|
+
) -> None:
|
|
4848
4860
|
"""Smooth weights for selected vertices
|
|
4849
4861
|
|
|
4850
4862
|
:type execution_context: int | str | None
|
|
@@ -4865,7 +4877,7 @@ def vertex_group_sort(
|
|
|
4865
4877
|
/,
|
|
4866
4878
|
*,
|
|
4867
4879
|
sort_type: typing.Literal["NAME", "BONE_HIERARCHY"] | None = "NAME",
|
|
4868
|
-
):
|
|
4880
|
+
) -> None:
|
|
4869
4881
|
"""Sort vertex groups
|
|
4870
4882
|
|
|
4871
4883
|
:type execution_context: int | str | None
|
|
@@ -4876,7 +4888,7 @@ def vertex_group_sort(
|
|
|
4876
4888
|
|
|
4877
4889
|
def vertex_parent_set(
|
|
4878
4890
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4879
|
-
):
|
|
4891
|
+
) -> None:
|
|
4880
4892
|
"""Parent selected objects to the selected vertices
|
|
4881
4893
|
|
|
4882
4894
|
:type execution_context: int | str | None
|
|
@@ -4885,7 +4897,7 @@ def vertex_parent_set(
|
|
|
4885
4897
|
|
|
4886
4898
|
def vertex_weight_copy(
|
|
4887
4899
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4888
|
-
):
|
|
4900
|
+
) -> None:
|
|
4889
4901
|
"""Copy weights from active to selected
|
|
4890
4902
|
|
|
4891
4903
|
:type execution_context: int | str | None
|
|
@@ -4898,7 +4910,7 @@ def vertex_weight_delete(
|
|
|
4898
4910
|
/,
|
|
4899
4911
|
*,
|
|
4900
4912
|
weight_group: int | None = -1,
|
|
4901
|
-
):
|
|
4913
|
+
) -> None:
|
|
4902
4914
|
"""Delete this weight from the vertex (disabled if vertex group is locked)
|
|
4903
4915
|
|
|
4904
4916
|
:type execution_context: int | str | None
|
|
@@ -4909,7 +4921,7 @@ def vertex_weight_delete(
|
|
|
4909
4921
|
|
|
4910
4922
|
def vertex_weight_normalize_active_vertex(
|
|
4911
4923
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4912
|
-
):
|
|
4924
|
+
) -> None:
|
|
4913
4925
|
"""Normalize active vertex's weights
|
|
4914
4926
|
|
|
4915
4927
|
:type execution_context: int | str | None
|
|
@@ -4922,7 +4934,7 @@ def vertex_weight_paste(
|
|
|
4922
4934
|
/,
|
|
4923
4935
|
*,
|
|
4924
4936
|
weight_group: int | None = -1,
|
|
4925
|
-
):
|
|
4937
|
+
) -> None:
|
|
4926
4938
|
"""Copy this group's weight to other selected vertices (disabled if vertex group is locked)
|
|
4927
4939
|
|
|
4928
4940
|
:type execution_context: int | str | None
|
|
@@ -4937,7 +4949,7 @@ def vertex_weight_set_active(
|
|
|
4937
4949
|
/,
|
|
4938
4950
|
*,
|
|
4939
4951
|
weight_group: int | None = -1,
|
|
4940
|
-
):
|
|
4952
|
+
) -> None:
|
|
4941
4953
|
"""Set as active vertex group
|
|
4942
4954
|
|
|
4943
4955
|
:type execution_context: int | str | None
|
|
@@ -4948,7 +4960,7 @@ def vertex_weight_set_active(
|
|
|
4948
4960
|
|
|
4949
4961
|
def visual_geometry_to_objects(
|
|
4950
4962
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4951
|
-
):
|
|
4963
|
+
) -> None:
|
|
4952
4964
|
"""Convert geometry and instances into editable objects and collections
|
|
4953
4965
|
|
|
4954
4966
|
:type execution_context: int | str | None
|
|
@@ -4957,7 +4969,7 @@ def visual_geometry_to_objects(
|
|
|
4957
4969
|
|
|
4958
4970
|
def visual_transform_apply(
|
|
4959
4971
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
4960
|
-
):
|
|
4972
|
+
) -> None:
|
|
4961
4973
|
"""Apply the object's visual transformation to its data
|
|
4962
4974
|
|
|
4963
4975
|
:type execution_context: int | str | None
|
|
@@ -4981,7 +4993,7 @@ def volume_add(
|
|
|
4981
4993
|
0.0,
|
|
4982
4994
|
),
|
|
4983
4995
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4984
|
-
):
|
|
4996
|
+
) -> None:
|
|
4985
4997
|
"""Add a volume object to the scene
|
|
4986
4998
|
|
|
4987
4999
|
:type execution_context: int | str | None
|
|
@@ -5026,7 +5038,6 @@ def volume_import(
|
|
|
5026
5038
|
filter_text: bool | None = False,
|
|
5027
5039
|
filter_archive: bool | None = False,
|
|
5028
5040
|
filter_btx: bool | None = False,
|
|
5029
|
-
filter_collada: bool | None = False,
|
|
5030
5041
|
filter_alembic: bool | None = False,
|
|
5031
5042
|
filter_usd: bool | None = False,
|
|
5032
5043
|
filter_obj: bool | None = False,
|
|
@@ -5053,7 +5064,7 @@ def volume_import(
|
|
|
5053
5064
|
0.0,
|
|
5054
5065
|
),
|
|
5055
5066
|
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
5056
|
-
):
|
|
5067
|
+
) -> None:
|
|
5057
5068
|
"""Import OpenVDB volume file
|
|
5058
5069
|
|
|
5059
5070
|
:type execution_context: int | str | None
|
|
@@ -5088,8 +5099,6 @@ def volume_import(
|
|
|
5088
5099
|
:type filter_archive: bool | None
|
|
5089
5100
|
:param filter_btx: Filter btx files
|
|
5090
5101
|
:type filter_btx: bool | None
|
|
5091
|
-
:param filter_collada: Filter COLLADA files
|
|
5092
|
-
:type filter_collada: bool | None
|
|
5093
5102
|
:param filter_alembic: Filter Alembic files
|
|
5094
5103
|
:type filter_alembic: bool | None
|
|
5095
5104
|
:param filter_usd: Filter USD files
|
|
@@ -5143,7 +5152,9 @@ def volume_import(
|
|
|
5143
5152
|
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5144
5153
|
"""
|
|
5145
5154
|
|
|
5146
|
-
def voxel_remesh(
|
|
5155
|
+
def voxel_remesh(
|
|
5156
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
5157
|
+
) -> None:
|
|
5147
5158
|
"""Calculates a new manifold mesh based on the volume of the current mesh. All data layers will be lost
|
|
5148
5159
|
|
|
5149
5160
|
:type execution_context: int | str | None
|
|
@@ -5152,7 +5163,7 @@ def voxel_remesh(execution_context: int | str | None = None, undo: bool | None =
|
|
|
5152
5163
|
|
|
5153
5164
|
def voxel_size_edit(
|
|
5154
5165
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
5155
|
-
):
|
|
5166
|
+
) -> None:
|
|
5156
5167
|
"""Modify the mesh voxel size interactively used in the voxel remesher
|
|
5157
5168
|
|
|
5158
5169
|
:type execution_context: int | str | None
|