fake-bpy-module 20240518__py3-none-any.whl → 20240520__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/object/__init__.pyi
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.ops.transform
|
|
3
4
|
import bpy.types
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
8
|
|
|
7
9
|
def add(
|
|
8
10
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
9
11
|
execution_context: str | int | None = None,
|
|
10
12
|
undo: bool | None = None,
|
|
11
13
|
radius: typing.Any | None = 1.0,
|
|
12
|
-
type: str |
|
|
14
|
+
type: str | None = "EMPTY",
|
|
13
15
|
enter_editmode: bool | typing.Any | None = False,
|
|
14
|
-
align:
|
|
16
|
+
align: str | None = "WORLD",
|
|
15
17
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
16
18
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
17
19
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -24,7 +26,7 @@ def add(
|
|
|
24
26
|
:param radius: Radius
|
|
25
27
|
:type radius: typing.Any | None
|
|
26
28
|
:param type: Type
|
|
27
|
-
:type type: str |
|
|
29
|
+
:type type: str | None
|
|
28
30
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
29
31
|
:type enter_editmode: bool | typing.Any | None
|
|
30
32
|
:param align: Align, The alignment of the new object
|
|
@@ -37,7 +39,7 @@ def add(
|
|
|
37
39
|
|
|
38
40
|
CURSOR
|
|
39
41
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
40
|
-
:type align:
|
|
42
|
+
:type align: str | None
|
|
41
43
|
:param location: Location, Location for the newly added object
|
|
42
44
|
:type location: typing.Any | None
|
|
43
45
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -104,9 +106,9 @@ def align(
|
|
|
104
106
|
execution_context: str | int | None = None,
|
|
105
107
|
undo: bool | None = None,
|
|
106
108
|
bb_quality: bool | typing.Any | None = True,
|
|
107
|
-
align_mode:
|
|
108
|
-
relative_to:
|
|
109
|
-
align_axis:
|
|
109
|
+
align_mode: str | None = "OPT_2",
|
|
110
|
+
relative_to: str | None = "OPT_4",
|
|
111
|
+
align_axis: set[str] | None = {},
|
|
110
112
|
):
|
|
111
113
|
"""Align objects
|
|
112
114
|
|
|
@@ -116,7 +118,7 @@ def align(
|
|
|
116
118
|
:param bb_quality: High Quality, Enables high quality but slow calculation of the bounding box for perfect results on complex shape meshes with rotation/scale
|
|
117
119
|
:type bb_quality: bool | typing.Any | None
|
|
118
120
|
:param align_mode: Align Mode, Side of object to use for alignment
|
|
119
|
-
:type align_mode:
|
|
121
|
+
:type align_mode: str | None
|
|
120
122
|
:param relative_to: Relative To, Reference location to align to
|
|
121
123
|
|
|
122
124
|
OPT_1
|
|
@@ -130,9 +132,9 @@ def align(
|
|
|
130
132
|
|
|
131
133
|
OPT_4
|
|
132
134
|
Active -- Use the active object as the position for the selected objects to align to.
|
|
133
|
-
:type relative_to:
|
|
135
|
+
:type relative_to: str | None
|
|
134
136
|
:param align_axis: Align, Align to axis
|
|
135
|
-
:type align_axis:
|
|
137
|
+
:type align_axis: set[str] | None
|
|
136
138
|
"""
|
|
137
139
|
|
|
138
140
|
...
|
|
@@ -157,7 +159,7 @@ def armature_add(
|
|
|
157
159
|
undo: bool | None = None,
|
|
158
160
|
radius: typing.Any | None = 1.0,
|
|
159
161
|
enter_editmode: bool | typing.Any | None = False,
|
|
160
|
-
align:
|
|
162
|
+
align: str | None = "WORLD",
|
|
161
163
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
162
164
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
163
165
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -181,7 +183,7 @@ def armature_add(
|
|
|
181
183
|
|
|
182
184
|
CURSOR
|
|
183
185
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
184
|
-
:type align:
|
|
186
|
+
:type align: str | None
|
|
185
187
|
:param location: Location, Location for the newly added object
|
|
186
188
|
:type location: typing.Any | None
|
|
187
189
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -216,23 +218,23 @@ def bake(
|
|
|
216
218
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
217
219
|
execution_context: str | int | None = None,
|
|
218
220
|
undo: bool | None = None,
|
|
219
|
-
type: str |
|
|
221
|
+
type: str | None = "COMBINED",
|
|
220
222
|
pass_filter: typing.Any | None = {},
|
|
221
223
|
filepath: str | typing.Any = "",
|
|
222
224
|
width: typing.Any | None = 512,
|
|
223
225
|
height: typing.Any | None = 512,
|
|
224
226
|
margin: typing.Any | None = 16,
|
|
225
|
-
margin_type: str |
|
|
227
|
+
margin_type: str | None = "EXTEND",
|
|
226
228
|
use_selected_to_active: bool | typing.Any | None = False,
|
|
227
229
|
max_ray_distance: typing.Any | None = 0.0,
|
|
228
230
|
cage_extrusion: typing.Any | None = 0.0,
|
|
229
231
|
cage_object: str | typing.Any = "",
|
|
230
|
-
normal_space: str |
|
|
231
|
-
normal_r: str |
|
|
232
|
-
normal_g: str |
|
|
233
|
-
normal_b: str |
|
|
234
|
-
target: str |
|
|
235
|
-
save_mode: str |
|
|
232
|
+
normal_space: str | None = "TANGENT",
|
|
233
|
+
normal_r: str | None = "POS_X",
|
|
234
|
+
normal_g: str | None = "POS_Y",
|
|
235
|
+
normal_b: str | None = "POS_Z",
|
|
236
|
+
target: str | None = "IMAGE_TEXTURES",
|
|
237
|
+
save_mode: str | None = "INTERNAL",
|
|
236
238
|
use_clear: bool | typing.Any | None = False,
|
|
237
239
|
use_cage: bool | typing.Any | None = False,
|
|
238
240
|
use_split_materials: bool | typing.Any | None = False,
|
|
@@ -245,7 +247,7 @@ def bake(
|
|
|
245
247
|
:type execution_context: str | int | None
|
|
246
248
|
:type undo: bool | None
|
|
247
249
|
:param type: Type, Type of pass to bake, some of them may not be supported by the current render engine
|
|
248
|
-
:type type: str |
|
|
250
|
+
:type type: str | None
|
|
249
251
|
:param pass_filter: Pass Filter, Filter to combined, diffuse, glossy, transmission and subsurface passes
|
|
250
252
|
:type pass_filter: typing.Any | None
|
|
251
253
|
:param filepath: File Path, Image filepath to use when saving externally
|
|
@@ -257,7 +259,7 @@ def bake(
|
|
|
257
259
|
:param margin: Margin, Extends the baked result as a post process filter
|
|
258
260
|
:type margin: typing.Any | None
|
|
259
261
|
:param margin_type: Margin Type, Which algorithm to use to generate the margin
|
|
260
|
-
:type margin_type: str |
|
|
262
|
+
:type margin_type: str | None
|
|
261
263
|
:param use_selected_to_active: Selected to Active, Bake shading on the surface of selected objects to the active object
|
|
262
264
|
:type use_selected_to_active: bool | typing.Any | None
|
|
263
265
|
:param max_ray_distance: Max Ray Distance, The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit
|
|
@@ -267,17 +269,17 @@ def bake(
|
|
|
267
269
|
:param cage_object: Cage Object, Object to use as cage, instead of calculating the cage from the active object with cage extrusion
|
|
268
270
|
:type cage_object: str | typing.Any
|
|
269
271
|
:param normal_space: Normal Space, Choose normal space for baking
|
|
270
|
-
:type normal_space: str |
|
|
272
|
+
:type normal_space: str | None
|
|
271
273
|
:param normal_r: R, Axis to bake in red channel
|
|
272
|
-
:type normal_r: str |
|
|
274
|
+
:type normal_r: str | None
|
|
273
275
|
:param normal_g: G, Axis to bake in green channel
|
|
274
|
-
:type normal_g: str |
|
|
276
|
+
:type normal_g: str | None
|
|
275
277
|
:param normal_b: B, Axis to bake in blue channel
|
|
276
|
-
:type normal_b: str |
|
|
278
|
+
:type normal_b: str | None
|
|
277
279
|
:param target: Target, Where to output the baked map
|
|
278
|
-
:type target: str |
|
|
280
|
+
:type target: str | None
|
|
279
281
|
:param save_mode: Save Mode, Where to save baked image textures
|
|
280
|
-
:type save_mode: str |
|
|
282
|
+
:type save_mode: str | None
|
|
281
283
|
:param use_clear: Clear, Clear images before baking (only for internal saving)
|
|
282
284
|
:type use_clear: bool | typing.Any | None
|
|
283
285
|
:param use_cage: Cage, Cast rays to active object from a cage
|
|
@@ -311,7 +313,7 @@ def camera_add(
|
|
|
311
313
|
execution_context: str | int | None = None,
|
|
312
314
|
undo: bool | None = None,
|
|
313
315
|
enter_editmode: bool | typing.Any | None = False,
|
|
314
|
-
align:
|
|
316
|
+
align: str | None = "WORLD",
|
|
315
317
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
316
318
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
317
319
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -333,7 +335,7 @@ def camera_add(
|
|
|
333
335
|
|
|
334
336
|
CURSOR
|
|
335
337
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
336
|
-
:type align:
|
|
338
|
+
:type align: str | None
|
|
337
339
|
:param location: Location, Location for the newly added object
|
|
338
340
|
:type location: typing.Any | None
|
|
339
341
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -377,14 +379,14 @@ def collection_external_asset_drop(
|
|
|
377
379
|
execution_context: str | int | None = None,
|
|
378
380
|
undo: bool | None = None,
|
|
379
381
|
session_uid: typing.Any | None = 0,
|
|
380
|
-
align:
|
|
382
|
+
align: str | None = "WORLD",
|
|
381
383
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
382
384
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
383
385
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
384
386
|
use_instance: bool | typing.Any | None = True,
|
|
385
387
|
drop_x: typing.Any | None = 0,
|
|
386
388
|
drop_y: typing.Any | None = 0,
|
|
387
|
-
collection: str |
|
|
389
|
+
collection: str | None = "",
|
|
388
390
|
):
|
|
389
391
|
"""Add the dragged collection to the scene
|
|
390
392
|
|
|
@@ -403,7 +405,7 @@ def collection_external_asset_drop(
|
|
|
403
405
|
|
|
404
406
|
CURSOR
|
|
405
407
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
406
|
-
:type align:
|
|
408
|
+
:type align: str | None
|
|
407
409
|
:param location: Location, Location for the newly added object
|
|
408
410
|
:type location: typing.Any | None
|
|
409
411
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -417,7 +419,7 @@ def collection_external_asset_drop(
|
|
|
417
419
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
418
420
|
:type drop_y: typing.Any | None
|
|
419
421
|
:param collection: Collection
|
|
420
|
-
:type collection: str |
|
|
422
|
+
:type collection: str | None
|
|
421
423
|
"""
|
|
422
424
|
|
|
423
425
|
...
|
|
@@ -427,8 +429,8 @@ def collection_instance_add(
|
|
|
427
429
|
execution_context: str | int | None = None,
|
|
428
430
|
undo: bool | None = None,
|
|
429
431
|
name: str | typing.Any = "Collection",
|
|
430
|
-
collection: str |
|
|
431
|
-
align:
|
|
432
|
+
collection: str | None = "",
|
|
433
|
+
align: str | None = "WORLD",
|
|
432
434
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
433
435
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
434
436
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -444,7 +446,7 @@ def collection_instance_add(
|
|
|
444
446
|
:param name: Name, Collection name to add
|
|
445
447
|
:type name: str | typing.Any
|
|
446
448
|
:param collection: Collection
|
|
447
|
-
:type collection: str |
|
|
449
|
+
:type collection: str | None
|
|
448
450
|
:param align: Align, The alignment of the new object
|
|
449
451
|
|
|
450
452
|
WORLD
|
|
@@ -455,7 +457,7 @@ def collection_instance_add(
|
|
|
455
457
|
|
|
456
458
|
CURSOR
|
|
457
459
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
458
|
-
:type align:
|
|
460
|
+
:type align: str | None
|
|
459
461
|
:param location: Location, Location for the newly added object
|
|
460
462
|
:type location: typing.Any | None
|
|
461
463
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -476,7 +478,7 @@ def collection_link(
|
|
|
476
478
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
477
479
|
execution_context: str | int | None = None,
|
|
478
480
|
undo: bool | None = None,
|
|
479
|
-
collection: str |
|
|
481
|
+
collection: str | None = "",
|
|
480
482
|
):
|
|
481
483
|
"""Add an object to an existing collection
|
|
482
484
|
|
|
@@ -484,7 +486,7 @@ def collection_link(
|
|
|
484
486
|
:type execution_context: str | int | None
|
|
485
487
|
:type undo: bool | None
|
|
486
488
|
:param collection: Collection
|
|
487
|
-
:type collection: str |
|
|
489
|
+
:type collection: str | None
|
|
488
490
|
"""
|
|
489
491
|
|
|
490
492
|
...
|
|
@@ -535,7 +537,7 @@ def constraint_add(
|
|
|
535
537
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
536
538
|
execution_context: str | int | None = None,
|
|
537
539
|
undo: bool | None = None,
|
|
538
|
-
type: str |
|
|
540
|
+
type: str | None = "",
|
|
539
541
|
):
|
|
540
542
|
"""Add a constraint to the active object
|
|
541
543
|
|
|
@@ -543,7 +545,7 @@ def constraint_add(
|
|
|
543
545
|
:type execution_context: str | int | None
|
|
544
546
|
:type undo: bool | None
|
|
545
547
|
:param type: Type
|
|
546
|
-
:type type: str |
|
|
548
|
+
:type type: str | None
|
|
547
549
|
"""
|
|
548
550
|
|
|
549
551
|
...
|
|
@@ -552,7 +554,7 @@ def constraint_add_with_targets(
|
|
|
552
554
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
553
555
|
execution_context: str | int | None = None,
|
|
554
556
|
undo: bool | None = None,
|
|
555
|
-
type: str |
|
|
557
|
+
type: str | None = "",
|
|
556
558
|
):
|
|
557
559
|
"""Add a constraint to the active object, with target (where applicable) set to the selected objects/bones
|
|
558
560
|
|
|
@@ -560,7 +562,7 @@ def constraint_add_with_targets(
|
|
|
560
562
|
:type execution_context: str | int | None
|
|
561
563
|
:type undo: bool | None
|
|
562
564
|
:param type: Type
|
|
563
|
-
:type type: str |
|
|
565
|
+
:type type: str | None
|
|
564
566
|
"""
|
|
565
567
|
|
|
566
568
|
...
|
|
@@ -597,7 +599,7 @@ def convert(
|
|
|
597
599
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
598
600
|
execution_context: str | int | None = None,
|
|
599
601
|
undo: bool | None = None,
|
|
600
|
-
target:
|
|
602
|
+
target: str | None = "MESH",
|
|
601
603
|
keep_original: bool | typing.Any | None = False,
|
|
602
604
|
merge_customdata: bool | typing.Any | None = True,
|
|
603
605
|
angle: typing.Any | None = 1.22173,
|
|
@@ -630,7 +632,7 @@ def convert(
|
|
|
630
632
|
|
|
631
633
|
GREASEPENCIL
|
|
632
634
|
Grease Pencil v3 -- Grease Pencil v3 from Grease Pencil.
|
|
633
|
-
:type target:
|
|
635
|
+
:type target: str | None
|
|
634
636
|
:param keep_original: Keep Original, Keep original objects instead of replacing them
|
|
635
637
|
:type keep_original: bool | typing.Any | None
|
|
636
638
|
:param merge_customdata: Merge UVs, Merge UV coordinates that share a vertex to account for imprecision in some modifiers
|
|
@@ -670,7 +672,7 @@ def curves_empty_hair_add(
|
|
|
670
672
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
671
673
|
execution_context: str | int | None = None,
|
|
672
674
|
undo: bool | None = None,
|
|
673
|
-
align:
|
|
675
|
+
align: str | None = "WORLD",
|
|
674
676
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
675
677
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
676
678
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -690,7 +692,7 @@ def curves_empty_hair_add(
|
|
|
690
692
|
|
|
691
693
|
CURSOR
|
|
692
694
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
693
|
-
:type align:
|
|
695
|
+
:type align: str | None
|
|
694
696
|
:param location: Location, Location for the newly added object
|
|
695
697
|
:type location: typing.Any | None
|
|
696
698
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -705,7 +707,7 @@ def curves_random_add(
|
|
|
705
707
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
706
708
|
execution_context: str | int | None = None,
|
|
707
709
|
undo: bool | None = None,
|
|
708
|
-
align:
|
|
710
|
+
align: str | None = "WORLD",
|
|
709
711
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
710
712
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
711
713
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -725,7 +727,7 @@ def curves_random_add(
|
|
|
725
727
|
|
|
726
728
|
CURSOR
|
|
727
729
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
728
|
-
:type align:
|
|
730
|
+
:type align: str | None
|
|
729
731
|
:param location: Location, Location for the newly added object
|
|
730
732
|
:type location: typing.Any | None
|
|
731
733
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -742,8 +744,8 @@ def data_instance_add(
|
|
|
742
744
|
undo: bool | None = None,
|
|
743
745
|
name: str | typing.Any = "",
|
|
744
746
|
session_uid: typing.Any | None = 0,
|
|
745
|
-
type: str |
|
|
746
|
-
align:
|
|
747
|
+
type: str | None = "ACTION",
|
|
748
|
+
align: str | None = "WORLD",
|
|
747
749
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
748
750
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
749
751
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -760,7 +762,7 @@ def data_instance_add(
|
|
|
760
762
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
761
763
|
:type session_uid: typing.Any | None
|
|
762
764
|
:param type: Type
|
|
763
|
-
:type type: str |
|
|
765
|
+
:type type: str | None
|
|
764
766
|
:param align: Align, The alignment of the new object
|
|
765
767
|
|
|
766
768
|
WORLD
|
|
@@ -771,7 +773,7 @@ def data_instance_add(
|
|
|
771
773
|
|
|
772
774
|
CURSOR
|
|
773
775
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
774
|
-
:type align:
|
|
776
|
+
:type align: str | None
|
|
775
777
|
:param location: Location, Location for the newly added object
|
|
776
778
|
:type location: typing.Any | None
|
|
777
779
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -792,21 +794,21 @@ def data_transfer(
|
|
|
792
794
|
undo: bool | None = None,
|
|
793
795
|
use_reverse_transfer: bool | typing.Any | None = False,
|
|
794
796
|
use_freeze: bool | typing.Any | None = False,
|
|
795
|
-
data_type:
|
|
797
|
+
data_type: str | None = "",
|
|
796
798
|
use_create: bool | typing.Any | None = True,
|
|
797
|
-
vert_mapping: str |
|
|
798
|
-
edge_mapping: str |
|
|
799
|
-
loop_mapping: str |
|
|
800
|
-
poly_mapping: str |
|
|
799
|
+
vert_mapping: str | None = "NEAREST",
|
|
800
|
+
edge_mapping: str | None = "NEAREST",
|
|
801
|
+
loop_mapping: str | None = "NEAREST_POLYNOR",
|
|
802
|
+
poly_mapping: str | None = "NEAREST",
|
|
801
803
|
use_auto_transform: bool | typing.Any | None = False,
|
|
802
804
|
use_object_transform: bool | typing.Any | None = True,
|
|
803
805
|
use_max_distance: bool | typing.Any | None = False,
|
|
804
806
|
max_distance: typing.Any | None = 1.0,
|
|
805
807
|
ray_radius: typing.Any | None = 0.0,
|
|
806
808
|
islands_precision: typing.Any | None = 0.1,
|
|
807
|
-
layers_select_src: str |
|
|
808
|
-
layers_select_dst: str |
|
|
809
|
-
mix_mode: str |
|
|
809
|
+
layers_select_src: str | None = "ACTIVE",
|
|
810
|
+
layers_select_dst: str | None = "ACTIVE",
|
|
811
|
+
mix_mode: str | None = "REPLACE",
|
|
810
812
|
mix_factor: typing.Any | None = 1.0,
|
|
811
813
|
):
|
|
812
814
|
"""Transfer data layer(s) (weights, edge sharp, etc.) from active to selected meshes
|
|
@@ -858,17 +860,17 @@ def data_transfer(
|
|
|
858
860
|
|
|
859
861
|
FREESTYLE_FACE
|
|
860
862
|
Freestyle Mark -- Transfer Freestyle face mark.
|
|
861
|
-
:type data_type:
|
|
863
|
+
:type data_type: str | None
|
|
862
864
|
:param use_create: Create Data, Add data layers on destination meshes if needed
|
|
863
865
|
:type use_create: bool | typing.Any | None
|
|
864
866
|
:param vert_mapping: Vertex Mapping, Method used to map source vertices to destination ones
|
|
865
|
-
:type vert_mapping: str |
|
|
867
|
+
:type vert_mapping: str | None
|
|
866
868
|
:param edge_mapping: Edge Mapping, Method used to map source edges to destination ones
|
|
867
|
-
:type edge_mapping: str |
|
|
869
|
+
:type edge_mapping: str | None
|
|
868
870
|
:param loop_mapping: Face Corner Mapping, Method used to map source faces' corners to destination ones
|
|
869
|
-
:type loop_mapping: str |
|
|
871
|
+
:type loop_mapping: str | None
|
|
870
872
|
:param poly_mapping: Face Mapping, Method used to map source faces to destination ones
|
|
871
|
-
:type poly_mapping: str |
|
|
873
|
+
:type poly_mapping: str | None
|
|
872
874
|
:param use_auto_transform: Auto Transform, Automatically compute transformation to get the best possible match between source and destination meshes.Warning: Results will never be as good as manual matching of objects
|
|
873
875
|
:type use_auto_transform: bool | typing.Any | None
|
|
874
876
|
:param use_object_transform: Object Transform, Evaluate source and destination meshes in global space
|
|
@@ -882,11 +884,11 @@ def data_transfer(
|
|
|
882
884
|
:param islands_precision: Islands Precision, Factor controlling precision of islands handling (the higher, the better the results)
|
|
883
885
|
:type islands_precision: typing.Any | None
|
|
884
886
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
885
|
-
:type layers_select_src: str |
|
|
887
|
+
:type layers_select_src: str | None
|
|
886
888
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
887
|
-
:type layers_select_dst: str |
|
|
889
|
+
:type layers_select_dst: str | None
|
|
888
890
|
:param mix_mode: Mix Mode, How to affect destination elements with source values
|
|
889
|
-
:type mix_mode: str |
|
|
891
|
+
:type mix_mode: str | None
|
|
890
892
|
:param mix_factor: Mix Factor, Factor to use when applying data to destination (exact behavior depends on mix mode)
|
|
891
893
|
:type mix_factor: typing.Any | None
|
|
892
894
|
"""
|
|
@@ -898,10 +900,10 @@ def datalayout_transfer(
|
|
|
898
900
|
execution_context: str | int | None = None,
|
|
899
901
|
undo: bool | None = None,
|
|
900
902
|
modifier: str | typing.Any = "",
|
|
901
|
-
data_type:
|
|
903
|
+
data_type: str | None = "",
|
|
902
904
|
use_delete: bool | typing.Any | None = False,
|
|
903
|
-
layers_select_src: str |
|
|
904
|
-
layers_select_dst: str |
|
|
905
|
+
layers_select_src: str | None = "ACTIVE",
|
|
906
|
+
layers_select_dst: str | None = "ACTIVE",
|
|
905
907
|
):
|
|
906
908
|
"""Transfer layout of data layer(s) from active to selected meshes
|
|
907
909
|
|
|
@@ -950,13 +952,13 @@ def datalayout_transfer(
|
|
|
950
952
|
|
|
951
953
|
FREESTYLE_FACE
|
|
952
954
|
Freestyle Mark -- Transfer Freestyle face mark.
|
|
953
|
-
:type data_type:
|
|
955
|
+
:type data_type: str | None
|
|
954
956
|
:param use_delete: Exact Match, Also delete some data layers from destination if necessary, so that it matches exactly source
|
|
955
957
|
:type use_delete: bool | typing.Any | None
|
|
956
958
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
957
|
-
:type layers_select_src: str |
|
|
959
|
+
:type layers_select_src: str | None
|
|
958
960
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
959
|
-
:type layers_select_dst: str |
|
|
961
|
+
:type layers_select_dst: str | None
|
|
960
962
|
"""
|
|
961
963
|
|
|
962
964
|
...
|
|
@@ -1026,7 +1028,7 @@ def duplicate(
|
|
|
1026
1028
|
execution_context: str | int | None = None,
|
|
1027
1029
|
undo: bool | None = None,
|
|
1028
1030
|
linked: bool | typing.Any | None = False,
|
|
1029
|
-
mode: str |
|
|
1031
|
+
mode: str | None = "TRANSLATION",
|
|
1030
1032
|
):
|
|
1031
1033
|
"""Duplicate selected objects
|
|
1032
1034
|
|
|
@@ -1036,7 +1038,7 @@ def duplicate(
|
|
|
1036
1038
|
:param linked: Linked, Duplicate object but not object data, linking to the original data
|
|
1037
1039
|
:type linked: bool | typing.Any | None
|
|
1038
1040
|
:param mode: Mode
|
|
1039
|
-
:type mode: str |
|
|
1041
|
+
:type mode: str | None
|
|
1040
1042
|
"""
|
|
1041
1043
|
|
|
1042
1044
|
...
|
|
@@ -1119,10 +1121,10 @@ def effector_add(
|
|
|
1119
1121
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1120
1122
|
execution_context: str | int | None = None,
|
|
1121
1123
|
undo: bool | None = None,
|
|
1122
|
-
type:
|
|
1124
|
+
type: str | None = "FORCE",
|
|
1123
1125
|
radius: typing.Any | None = 1.0,
|
|
1124
1126
|
enter_editmode: bool | typing.Any | None = False,
|
|
1125
|
-
align:
|
|
1127
|
+
align: str | None = "WORLD",
|
|
1126
1128
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1127
1129
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1128
1130
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -1133,7 +1135,7 @@ def effector_add(
|
|
|
1133
1135
|
:type execution_context: str | int | None
|
|
1134
1136
|
:type undo: bool | None
|
|
1135
1137
|
:param type: Type
|
|
1136
|
-
:type type:
|
|
1138
|
+
:type type: str | None
|
|
1137
1139
|
:param radius: Radius
|
|
1138
1140
|
:type radius: typing.Any | None
|
|
1139
1141
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
@@ -1148,7 +1150,7 @@ def effector_add(
|
|
|
1148
1150
|
|
|
1149
1151
|
CURSOR
|
|
1150
1152
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1151
|
-
:type align:
|
|
1153
|
+
:type align: str | None
|
|
1152
1154
|
:param location: Location, Location for the newly added object
|
|
1153
1155
|
:type location: typing.Any | None
|
|
1154
1156
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -1163,9 +1165,9 @@ def empty_add(
|
|
|
1163
1165
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1164
1166
|
execution_context: str | int | None = None,
|
|
1165
1167
|
undo: bool | None = None,
|
|
1166
|
-
type: str |
|
|
1168
|
+
type: str | None = "PLAIN_AXES",
|
|
1167
1169
|
radius: typing.Any | None = 1.0,
|
|
1168
|
-
align:
|
|
1170
|
+
align: str | None = "WORLD",
|
|
1169
1171
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1170
1172
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1171
1173
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -1176,7 +1178,7 @@ def empty_add(
|
|
|
1176
1178
|
:type execution_context: str | int | None
|
|
1177
1179
|
:type undo: bool | None
|
|
1178
1180
|
:param type: Type
|
|
1179
|
-
:type type: str |
|
|
1181
|
+
:type type: str | None
|
|
1180
1182
|
:param radius: Radius
|
|
1181
1183
|
:type radius: typing.Any | None
|
|
1182
1184
|
:param align: Align, The alignment of the new object
|
|
@@ -1189,7 +1191,7 @@ def empty_add(
|
|
|
1189
1191
|
|
|
1190
1192
|
CURSOR
|
|
1191
1193
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1192
|
-
:type align:
|
|
1194
|
+
:type align: str | None
|
|
1193
1195
|
:param location: Location, Location for the newly added object
|
|
1194
1196
|
:type location: typing.Any | None
|
|
1195
1197
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -1228,11 +1230,11 @@ def empty_image_add(
|
|
|
1228
1230
|
relative_path: bool | typing.Any | None = True,
|
|
1229
1231
|
show_multiview: bool | typing.Any | None = False,
|
|
1230
1232
|
use_multiview: bool | typing.Any | None = False,
|
|
1231
|
-
display_type:
|
|
1232
|
-
sort_method:
|
|
1233
|
+
display_type: str | None = "DEFAULT",
|
|
1234
|
+
sort_method: str | None = "",
|
|
1233
1235
|
name: str | typing.Any = "",
|
|
1234
1236
|
session_uid: typing.Any | None = 0,
|
|
1235
|
-
align:
|
|
1237
|
+
align: str | None = "WORLD",
|
|
1236
1238
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1237
1239
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1238
1240
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -1304,7 +1306,7 @@ def empty_image_add(
|
|
|
1304
1306
|
|
|
1305
1307
|
THUMBNAIL
|
|
1306
1308
|
Thumbnails -- Display files as thumbnails.
|
|
1307
|
-
:type display_type:
|
|
1309
|
+
:type display_type: str | None
|
|
1308
1310
|
:param sort_method: File sorting mode
|
|
1309
1311
|
|
|
1310
1312
|
DEFAULT
|
|
@@ -1321,7 +1323,7 @@ def empty_image_add(
|
|
|
1321
1323
|
|
|
1322
1324
|
FILE_SORT_SIZE
|
|
1323
1325
|
Size -- Sort files by size.
|
|
1324
|
-
:type sort_method:
|
|
1326
|
+
:type sort_method: str | None
|
|
1325
1327
|
:param name: Name, Name of the data-block to use by the operator
|
|
1326
1328
|
:type name: str | typing.Any
|
|
1327
1329
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
@@ -1336,7 +1338,7 @@ def empty_image_add(
|
|
|
1336
1338
|
|
|
1337
1339
|
CURSOR
|
|
1338
1340
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1339
|
-
:type align:
|
|
1341
|
+
:type align: str | None
|
|
1340
1342
|
:param location: Location, Location for the newly added object
|
|
1341
1343
|
:type location: typing.Any | None
|
|
1342
1344
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -1482,15 +1484,15 @@ def gpencil_add(
|
|
|
1482
1484
|
execution_context: str | int | None = None,
|
|
1483
1485
|
undo: bool | None = None,
|
|
1484
1486
|
radius: typing.Any | None = 1.0,
|
|
1485
|
-
align:
|
|
1487
|
+
align: str | None = "WORLD",
|
|
1486
1488
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1487
1489
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1488
1490
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1489
|
-
type: str |
|
|
1491
|
+
type: str | None = "EMPTY",
|
|
1490
1492
|
use_in_front: bool | typing.Any | None = True,
|
|
1491
1493
|
stroke_depth_offset: typing.Any | None = 0.05,
|
|
1492
1494
|
use_lights: bool | typing.Any | None = False,
|
|
1493
|
-
stroke_depth_order:
|
|
1495
|
+
stroke_depth_order: str | None = "3D",
|
|
1494
1496
|
):
|
|
1495
1497
|
"""Add a Grease Pencil object to the scene
|
|
1496
1498
|
|
|
@@ -1509,7 +1511,7 @@ def gpencil_add(
|
|
|
1509
1511
|
|
|
1510
1512
|
CURSOR
|
|
1511
1513
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1512
|
-
:type align:
|
|
1514
|
+
:type align: str | None
|
|
1513
1515
|
:param location: Location, Location for the newly added object
|
|
1514
1516
|
:type location: typing.Any | None
|
|
1515
1517
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -1517,7 +1519,7 @@ def gpencil_add(
|
|
|
1517
1519
|
:param scale: Scale, Scale for the newly added object
|
|
1518
1520
|
:type scale: typing.Any | None
|
|
1519
1521
|
:param type: Type
|
|
1520
|
-
:type type: str |
|
|
1522
|
+
:type type: str | None
|
|
1521
1523
|
:param use_in_front: Show In Front, Show Line Art grease pencil in front of everything
|
|
1522
1524
|
:type use_in_front: bool | typing.Any | None
|
|
1523
1525
|
:param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
|
|
@@ -1531,7 +1533,7 @@ def gpencil_add(
|
|
|
1531
1533
|
|
|
1532
1534
|
3D
|
|
1533
1535
|
3D Location -- Display strokes using real 3D position in 3D space.
|
|
1534
|
-
:type stroke_depth_order:
|
|
1536
|
+
:type stroke_depth_order: str | None
|
|
1535
1537
|
"""
|
|
1536
1538
|
|
|
1537
1539
|
...
|
|
@@ -1540,7 +1542,7 @@ def gpencil_modifier_add(
|
|
|
1540
1542
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1541
1543
|
execution_context: str | int | None = None,
|
|
1542
1544
|
undo: bool | None = None,
|
|
1543
|
-
type: str |
|
|
1545
|
+
type: str | None = "GP_THICK",
|
|
1544
1546
|
):
|
|
1545
1547
|
"""Add a procedural operation/effect to the active grease pencil object
|
|
1546
1548
|
|
|
@@ -1548,7 +1550,7 @@ def gpencil_modifier_add(
|
|
|
1548
1550
|
:type execution_context: str | int | None
|
|
1549
1551
|
:type undo: bool | None
|
|
1550
1552
|
:param type: Type
|
|
1551
|
-
:type type: str |
|
|
1553
|
+
:type type: str | None
|
|
1552
1554
|
"""
|
|
1553
1555
|
|
|
1554
1556
|
...
|
|
@@ -1557,7 +1559,7 @@ def gpencil_modifier_apply(
|
|
|
1557
1559
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1558
1560
|
execution_context: str | int | None = None,
|
|
1559
1561
|
undo: bool | None = None,
|
|
1560
|
-
apply_as:
|
|
1562
|
+
apply_as: str | None = "DATA",
|
|
1561
1563
|
modifier: str | typing.Any = "",
|
|
1562
1564
|
report: bool | typing.Any | None = False,
|
|
1563
1565
|
):
|
|
@@ -1573,7 +1575,7 @@ def gpencil_modifier_apply(
|
|
|
1573
1575
|
|
|
1574
1576
|
SHAPE
|
|
1575
1577
|
New Shape -- Apply deform-only modifier to a new shape on this object.
|
|
1576
|
-
:type apply_as:
|
|
1578
|
+
:type apply_as: str | None
|
|
1577
1579
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1578
1580
|
:type modifier: str | typing.Any
|
|
1579
1581
|
:param report: Report, Create a notification after the operation
|
|
@@ -1694,13 +1696,13 @@ def grease_pencil_add(
|
|
|
1694
1696
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1695
1697
|
execution_context: str | int | None = None,
|
|
1696
1698
|
undo: bool | None = None,
|
|
1697
|
-
type: str |
|
|
1699
|
+
type: str | None = "EMPTY",
|
|
1698
1700
|
use_in_front: bool | typing.Any | None = True,
|
|
1699
1701
|
stroke_depth_offset: typing.Any | None = 0.05,
|
|
1700
1702
|
use_lights: bool | typing.Any | None = False,
|
|
1701
|
-
stroke_depth_order:
|
|
1703
|
+
stroke_depth_order: str | None = "3D",
|
|
1702
1704
|
radius: typing.Any | None = 1.0,
|
|
1703
|
-
align:
|
|
1705
|
+
align: str | None = "WORLD",
|
|
1704
1706
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1705
1707
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
1706
1708
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -1711,7 +1713,7 @@ def grease_pencil_add(
|
|
|
1711
1713
|
:type execution_context: str | int | None
|
|
1712
1714
|
:type undo: bool | None
|
|
1713
1715
|
:param type: Type
|
|
1714
|
-
:type type: str |
|
|
1716
|
+
:type type: str | None
|
|
1715
1717
|
:param use_in_front: Show In Front, Show Line Art grease pencil in front of everything
|
|
1716
1718
|
:type use_in_front: bool | typing.Any | None
|
|
1717
1719
|
:param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
|
|
@@ -1725,7 +1727,7 @@ def grease_pencil_add(
|
|
|
1725
1727
|
|
|
1726
1728
|
3D
|
|
1727
1729
|
3D Location -- Display strokes using real 3D position in 3D space.
|
|
1728
|
-
:type stroke_depth_order:
|
|
1730
|
+
:type stroke_depth_order: str | None
|
|
1729
1731
|
:param radius: Radius
|
|
1730
1732
|
:type radius: typing.Any | None
|
|
1731
1733
|
:param align: Align, The alignment of the new object
|
|
@@ -1738,7 +1740,7 @@ def grease_pencil_add(
|
|
|
1738
1740
|
|
|
1739
1741
|
CURSOR
|
|
1740
1742
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1741
|
-
:type align:
|
|
1743
|
+
:type align: str | None
|
|
1742
1744
|
:param location: Location, Location for the newly added object
|
|
1743
1745
|
:type location: typing.Any | None
|
|
1744
1746
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -1771,7 +1773,7 @@ def grease_pencil_dash_modifier_segment_move(
|
|
|
1771
1773
|
execution_context: str | int | None = None,
|
|
1772
1774
|
undo: bool | None = None,
|
|
1773
1775
|
modifier: str | typing.Any = "",
|
|
1774
|
-
type:
|
|
1776
|
+
type: str | None = "UP",
|
|
1775
1777
|
):
|
|
1776
1778
|
"""Move the active dash segment up or down
|
|
1777
1779
|
|
|
@@ -1781,7 +1783,7 @@ def grease_pencil_dash_modifier_segment_move(
|
|
|
1781
1783
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1782
1784
|
:type modifier: str | typing.Any
|
|
1783
1785
|
:param type: Type
|
|
1784
|
-
:type type:
|
|
1786
|
+
:type type: str | None
|
|
1785
1787
|
"""
|
|
1786
1788
|
|
|
1787
1789
|
...
|
|
@@ -1828,7 +1830,7 @@ def grease_pencil_time_modifier_segment_move(
|
|
|
1828
1830
|
execution_context: str | int | None = None,
|
|
1829
1831
|
undo: bool | None = None,
|
|
1830
1832
|
modifier: str | typing.Any = "",
|
|
1831
|
-
type:
|
|
1833
|
+
type: str | None = "UP",
|
|
1832
1834
|
):
|
|
1833
1835
|
"""Move the active time segment up or down
|
|
1834
1836
|
|
|
@@ -1838,7 +1840,7 @@ def grease_pencil_time_modifier_segment_move(
|
|
|
1838
1840
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1839
1841
|
:type modifier: str | typing.Any
|
|
1840
1842
|
:param type: Type
|
|
1841
|
-
:type type:
|
|
1843
|
+
:type type: str | None
|
|
1842
1844
|
"""
|
|
1843
1845
|
|
|
1844
1846
|
...
|
|
@@ -1969,7 +1971,7 @@ def hook_assign(
|
|
|
1969
1971
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1970
1972
|
execution_context: str | int | None = None,
|
|
1971
1973
|
undo: bool | None = None,
|
|
1972
|
-
modifier: str |
|
|
1974
|
+
modifier: str | None = "",
|
|
1973
1975
|
):
|
|
1974
1976
|
"""Assign the selected vertices to a hook
|
|
1975
1977
|
|
|
@@ -1977,7 +1979,7 @@ def hook_assign(
|
|
|
1977
1979
|
:type execution_context: str | int | None
|
|
1978
1980
|
:type undo: bool | None
|
|
1979
1981
|
:param modifier: Modifier, Modifier number to assign to
|
|
1980
|
-
:type modifier: str |
|
|
1982
|
+
:type modifier: str | None
|
|
1981
1983
|
"""
|
|
1982
1984
|
|
|
1983
1985
|
...
|
|
@@ -1986,7 +1988,7 @@ def hook_recenter(
|
|
|
1986
1988
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1987
1989
|
execution_context: str | int | None = None,
|
|
1988
1990
|
undo: bool | None = None,
|
|
1989
|
-
modifier: str |
|
|
1991
|
+
modifier: str | None = "",
|
|
1990
1992
|
):
|
|
1991
1993
|
"""Set hook center to cursor position
|
|
1992
1994
|
|
|
@@ -1994,7 +1996,7 @@ def hook_recenter(
|
|
|
1994
1996
|
:type execution_context: str | int | None
|
|
1995
1997
|
:type undo: bool | None
|
|
1996
1998
|
:param modifier: Modifier, Modifier number to assign to
|
|
1997
|
-
:type modifier: str |
|
|
1999
|
+
:type modifier: str | None
|
|
1998
2000
|
"""
|
|
1999
2001
|
|
|
2000
2002
|
...
|
|
@@ -2003,7 +2005,7 @@ def hook_remove(
|
|
|
2003
2005
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2004
2006
|
execution_context: str | int | None = None,
|
|
2005
2007
|
undo: bool | None = None,
|
|
2006
|
-
modifier: str |
|
|
2008
|
+
modifier: str | None = "",
|
|
2007
2009
|
):
|
|
2008
2010
|
"""Remove a hook from the active object
|
|
2009
2011
|
|
|
@@ -2011,7 +2013,7 @@ def hook_remove(
|
|
|
2011
2013
|
:type execution_context: str | int | None
|
|
2012
2014
|
:type undo: bool | None
|
|
2013
2015
|
:param modifier: Modifier, Modifier number to remove
|
|
2014
|
-
:type modifier: str |
|
|
2016
|
+
:type modifier: str | None
|
|
2015
2017
|
"""
|
|
2016
2018
|
|
|
2017
2019
|
...
|
|
@@ -2020,7 +2022,7 @@ def hook_reset(
|
|
|
2020
2022
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2021
2023
|
execution_context: str | int | None = None,
|
|
2022
2024
|
undo: bool | None = None,
|
|
2023
|
-
modifier: str |
|
|
2025
|
+
modifier: str | None = "",
|
|
2024
2026
|
):
|
|
2025
2027
|
"""Recalculate and clear offset transformation
|
|
2026
2028
|
|
|
@@ -2028,7 +2030,7 @@ def hook_reset(
|
|
|
2028
2030
|
:type execution_context: str | int | None
|
|
2029
2031
|
:type undo: bool | None
|
|
2030
2032
|
:param modifier: Modifier, Modifier number to assign to
|
|
2031
|
-
:type modifier: str |
|
|
2033
|
+
:type modifier: str | None
|
|
2032
2034
|
"""
|
|
2033
2035
|
|
|
2034
2036
|
...
|
|
@@ -2037,7 +2039,7 @@ def hook_select(
|
|
|
2037
2039
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2038
2040
|
execution_context: str | int | None = None,
|
|
2039
2041
|
undo: bool | None = None,
|
|
2040
|
-
modifier: str |
|
|
2042
|
+
modifier: str | None = "",
|
|
2041
2043
|
):
|
|
2042
2044
|
"""Select affected vertices on mesh
|
|
2043
2045
|
|
|
@@ -2045,7 +2047,7 @@ def hook_select(
|
|
|
2045
2047
|
:type execution_context: str | int | None
|
|
2046
2048
|
:type undo: bool | None
|
|
2047
2049
|
:param modifier: Modifier, Modifier number to remove
|
|
2048
|
-
:type modifier: str |
|
|
2050
|
+
:type modifier: str | None
|
|
2049
2051
|
"""
|
|
2050
2052
|
|
|
2051
2053
|
...
|
|
@@ -2169,9 +2171,9 @@ def light_add(
|
|
|
2169
2171
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2170
2172
|
execution_context: str | int | None = None,
|
|
2171
2173
|
undo: bool | None = None,
|
|
2172
|
-
type: str |
|
|
2174
|
+
type: str | None = "POINT",
|
|
2173
2175
|
radius: typing.Any | None = 1.0,
|
|
2174
|
-
align:
|
|
2176
|
+
align: str | None = "WORLD",
|
|
2175
2177
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
2176
2178
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
2177
2179
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -2182,7 +2184,7 @@ def light_add(
|
|
|
2182
2184
|
:type execution_context: str | int | None
|
|
2183
2185
|
:type undo: bool | None
|
|
2184
2186
|
:param type: Type
|
|
2185
|
-
:type type: str |
|
|
2187
|
+
:type type: str | None
|
|
2186
2188
|
:param radius: Radius
|
|
2187
2189
|
:type radius: typing.Any | None
|
|
2188
2190
|
:param align: Align, The alignment of the new object
|
|
@@ -2195,7 +2197,7 @@ def light_add(
|
|
|
2195
2197
|
|
|
2196
2198
|
CURSOR
|
|
2197
2199
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2198
|
-
:type align:
|
|
2200
|
+
:type align: str | None
|
|
2199
2201
|
:param location: Location, Location for the newly added object
|
|
2200
2202
|
:type location: typing.Any | None
|
|
2201
2203
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -2224,7 +2226,7 @@ def light_linking_blockers_link(
|
|
|
2224
2226
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2225
2227
|
execution_context: str | int | None = None,
|
|
2226
2228
|
undo: bool | None = None,
|
|
2227
|
-
link_state:
|
|
2229
|
+
link_state: str | None = "INCLUDE",
|
|
2228
2230
|
):
|
|
2229
2231
|
"""Light link selected blockers to the active emitter object
|
|
2230
2232
|
|
|
@@ -2238,7 +2240,7 @@ def light_linking_blockers_link(
|
|
|
2238
2240
|
|
|
2239
2241
|
EXCLUDE
|
|
2240
2242
|
Exclude -- Exclude selected blockers from casting shadows from the active emitter.
|
|
2241
|
-
:type link_state:
|
|
2243
|
+
:type link_state: str | None
|
|
2242
2244
|
"""
|
|
2243
2245
|
|
|
2244
2246
|
...
|
|
@@ -2275,7 +2277,7 @@ def light_linking_receivers_link(
|
|
|
2275
2277
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2276
2278
|
execution_context: str | int | None = None,
|
|
2277
2279
|
undo: bool | None = None,
|
|
2278
|
-
link_state:
|
|
2280
|
+
link_state: str | None = "INCLUDE",
|
|
2279
2281
|
):
|
|
2280
2282
|
"""Light link selected receivers to the active emitter object
|
|
2281
2283
|
|
|
@@ -2289,7 +2291,7 @@ def light_linking_receivers_link(
|
|
|
2289
2291
|
|
|
2290
2292
|
EXCLUDE
|
|
2291
2293
|
Exclude -- Exclude selected receivers from receiving light from the active emitter.
|
|
2292
|
-
:type link_state:
|
|
2294
|
+
:type link_state: str | None
|
|
2293
2295
|
"""
|
|
2294
2296
|
|
|
2295
2297
|
...
|
|
@@ -2326,10 +2328,10 @@ def lightprobe_add(
|
|
|
2326
2328
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2327
2329
|
execution_context: str | int | None = None,
|
|
2328
2330
|
undo: bool | None = None,
|
|
2329
|
-
type:
|
|
2331
|
+
type: str | None = "SPHERE",
|
|
2330
2332
|
radius: typing.Any | None = 1.0,
|
|
2331
2333
|
enter_editmode: bool | typing.Any | None = False,
|
|
2332
|
-
align:
|
|
2334
|
+
align: str | None = "WORLD",
|
|
2333
2335
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
2334
2336
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
2335
2337
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -2349,7 +2351,7 @@ def lightprobe_add(
|
|
|
2349
2351
|
|
|
2350
2352
|
VOLUME
|
|
2351
2353
|
Volume -- Light probe that captures low frequency lighting inside a volume.
|
|
2352
|
-
:type type:
|
|
2354
|
+
:type type: str | None
|
|
2353
2355
|
:param radius: Radius
|
|
2354
2356
|
:type radius: typing.Any | None
|
|
2355
2357
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
@@ -2364,7 +2366,7 @@ def lightprobe_add(
|
|
|
2364
2366
|
|
|
2365
2367
|
CURSOR
|
|
2366
2368
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2367
|
-
:type align:
|
|
2369
|
+
:type align: str | None
|
|
2368
2370
|
:param location: Location, Location for the newly added object
|
|
2369
2371
|
:type location: typing.Any | None
|
|
2370
2372
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -2380,7 +2382,7 @@ def lightprobe_cache_bake(
|
|
|
2380
2382
|
execution_context: str | int | None = None,
|
|
2381
2383
|
undo: bool | None = None,
|
|
2382
2384
|
delay: typing.Any | None = 0,
|
|
2383
|
-
subset:
|
|
2385
|
+
subset: str | None = "ALL",
|
|
2384
2386
|
):
|
|
2385
2387
|
"""Bake irradiance volume light cache
|
|
2386
2388
|
|
|
@@ -2399,7 +2401,7 @@ def lightprobe_cache_bake(
|
|
|
2399
2401
|
|
|
2400
2402
|
ACTIVE
|
|
2401
2403
|
Active Only -- Only bake the active light probe volume.
|
|
2402
|
-
:type subset:
|
|
2404
|
+
:type subset: str | None
|
|
2403
2405
|
"""
|
|
2404
2406
|
|
|
2405
2407
|
...
|
|
@@ -2408,7 +2410,7 @@ def lightprobe_cache_free(
|
|
|
2408
2410
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2409
2411
|
execution_context: str | int | None = None,
|
|
2410
2412
|
undo: bool | None = None,
|
|
2411
|
-
subset:
|
|
2413
|
+
subset: str | None = "SELECTED",
|
|
2412
2414
|
):
|
|
2413
2415
|
"""Delete cached indirect lighting
|
|
2414
2416
|
|
|
@@ -2425,7 +2427,7 @@ def lightprobe_cache_free(
|
|
|
2425
2427
|
|
|
2426
2428
|
ACTIVE
|
|
2427
2429
|
Active Only -- Only delete the active light probe's baked lighting data.
|
|
2428
|
-
:type subset:
|
|
2430
|
+
:type subset: str | None
|
|
2429
2431
|
"""
|
|
2430
2432
|
|
|
2431
2433
|
...
|
|
@@ -2544,7 +2546,7 @@ def make_links_data(
|
|
|
2544
2546
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2545
2547
|
execution_context: str | int | None = None,
|
|
2546
2548
|
undo: bool | None = None,
|
|
2547
|
-
type:
|
|
2549
|
+
type: str | None = "OBDATA",
|
|
2548
2550
|
):
|
|
2549
2551
|
"""Transfer data from active object to selected objects
|
|
2550
2552
|
|
|
@@ -2576,7 +2578,7 @@ def make_links_data(
|
|
|
2576
2578
|
|
|
2577
2579
|
EFFECTS
|
|
2578
2580
|
Copy Grease Pencil Effects -- Replace Grease Pencil Effects.
|
|
2579
|
-
:type type:
|
|
2581
|
+
:type type: str | None
|
|
2580
2582
|
"""
|
|
2581
2583
|
|
|
2582
2584
|
...
|
|
@@ -2585,7 +2587,7 @@ def make_links_scene(
|
|
|
2585
2587
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2586
2588
|
execution_context: str | int | None = None,
|
|
2587
2589
|
undo: bool | None = None,
|
|
2588
|
-
scene: str |
|
|
2590
|
+
scene: str | None = "",
|
|
2589
2591
|
):
|
|
2590
2592
|
"""Link selection to another scene
|
|
2591
2593
|
|
|
@@ -2593,7 +2595,7 @@ def make_links_scene(
|
|
|
2593
2595
|
:type execution_context: str | int | None
|
|
2594
2596
|
:type undo: bool | None
|
|
2595
2597
|
:param scene: Scene
|
|
2596
|
-
:type scene: str |
|
|
2598
|
+
:type scene: str | None
|
|
2597
2599
|
"""
|
|
2598
2600
|
|
|
2599
2601
|
...
|
|
@@ -2602,7 +2604,7 @@ def make_local(
|
|
|
2602
2604
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2603
2605
|
execution_context: str | int | None = None,
|
|
2604
2606
|
undo: bool | None = None,
|
|
2605
|
-
type:
|
|
2607
|
+
type: str | None = "SELECT_OBJECT",
|
|
2606
2608
|
):
|
|
2607
2609
|
"""Make library linked data-blocks local to this file
|
|
2608
2610
|
|
|
@@ -2610,7 +2612,7 @@ def make_local(
|
|
|
2610
2612
|
:type execution_context: str | int | None
|
|
2611
2613
|
:type undo: bool | None
|
|
2612
2614
|
:param type: Type
|
|
2613
|
-
:type type:
|
|
2615
|
+
:type type: str | None
|
|
2614
2616
|
"""
|
|
2615
2617
|
|
|
2616
2618
|
...
|
|
@@ -2636,7 +2638,7 @@ def make_single_user(
|
|
|
2636
2638
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2637
2639
|
execution_context: str | int | None = None,
|
|
2638
2640
|
undo: bool | None = None,
|
|
2639
|
-
type:
|
|
2641
|
+
type: str | None = "SELECTED_OBJECTS",
|
|
2640
2642
|
object: bool | typing.Any | None = False,
|
|
2641
2643
|
obdata: bool | typing.Any | None = False,
|
|
2642
2644
|
material: bool | typing.Any | None = False,
|
|
@@ -2649,7 +2651,7 @@ def make_single_user(
|
|
|
2649
2651
|
:type execution_context: str | int | None
|
|
2650
2652
|
:type undo: bool | None
|
|
2651
2653
|
:param type: Type
|
|
2652
|
-
:type type:
|
|
2654
|
+
:type type: str | None
|
|
2653
2655
|
:param object: Object, Make single user objects
|
|
2654
2656
|
:type object: bool | typing.Any | None
|
|
2655
2657
|
:param obdata: Object Data, Make single user object data
|
|
@@ -2724,7 +2726,7 @@ def material_slot_move(
|
|
|
2724
2726
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2725
2727
|
execution_context: str | int | None = None,
|
|
2726
2728
|
undo: bool | None = None,
|
|
2727
|
-
direction:
|
|
2729
|
+
direction: str | None = "UP",
|
|
2728
2730
|
):
|
|
2729
2731
|
"""Move the active material up/down in the list
|
|
2730
2732
|
|
|
@@ -2732,7 +2734,7 @@ def material_slot_move(
|
|
|
2732
2734
|
:type execution_context: str | int | None
|
|
2733
2735
|
:type undo: bool | None
|
|
2734
2736
|
:param direction: Direction, Direction to move the active material towards
|
|
2735
|
-
:type direction:
|
|
2737
|
+
:type direction: str | None
|
|
2736
2738
|
"""
|
|
2737
2739
|
|
|
2738
2740
|
...
|
|
@@ -2800,10 +2802,10 @@ def metaball_add(
|
|
|
2800
2802
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2801
2803
|
execution_context: str | int | None = None,
|
|
2802
2804
|
undo: bool | None = None,
|
|
2803
|
-
type: str |
|
|
2805
|
+
type: str | None = "BALL",
|
|
2804
2806
|
radius: typing.Any | None = 2.0,
|
|
2805
2807
|
enter_editmode: bool | typing.Any | None = False,
|
|
2806
|
-
align:
|
|
2808
|
+
align: str | None = "WORLD",
|
|
2807
2809
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
2808
2810
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
2809
2811
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -2814,7 +2816,7 @@ def metaball_add(
|
|
|
2814
2816
|
:type execution_context: str | int | None
|
|
2815
2817
|
:type undo: bool | None
|
|
2816
2818
|
:param type: Primitive
|
|
2817
|
-
:type type: str |
|
|
2819
|
+
:type type: str | None
|
|
2818
2820
|
:param radius: Radius
|
|
2819
2821
|
:type radius: typing.Any | None
|
|
2820
2822
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
@@ -2829,7 +2831,7 @@ def metaball_add(
|
|
|
2829
2831
|
|
|
2830
2832
|
CURSOR
|
|
2831
2833
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2832
|
-
:type align:
|
|
2834
|
+
:type align: str | None
|
|
2833
2835
|
:param location: Location, Location for the newly added object
|
|
2834
2836
|
:type location: typing.Any | None
|
|
2835
2837
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -2844,7 +2846,7 @@ def mode_set(
|
|
|
2844
2846
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2845
2847
|
execution_context: str | int | None = None,
|
|
2846
2848
|
undo: bool | None = None,
|
|
2847
|
-
mode: str |
|
|
2849
|
+
mode: str | None = "OBJECT",
|
|
2848
2850
|
toggle: bool | typing.Any | None = False,
|
|
2849
2851
|
):
|
|
2850
2852
|
"""Sets the object interaction mode
|
|
@@ -2853,7 +2855,7 @@ def mode_set(
|
|
|
2853
2855
|
:type execution_context: str | int | None
|
|
2854
2856
|
:type undo: bool | None
|
|
2855
2857
|
:param mode: Mode
|
|
2856
|
-
:type mode: str |
|
|
2858
|
+
:type mode: str | None
|
|
2857
2859
|
:param toggle: Toggle
|
|
2858
2860
|
:type toggle: bool | typing.Any | None
|
|
2859
2861
|
"""
|
|
@@ -2864,7 +2866,7 @@ def mode_set_with_submode(
|
|
|
2864
2866
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2865
2867
|
execution_context: str | int | None = None,
|
|
2866
2868
|
undo: bool | None = None,
|
|
2867
|
-
mode: str |
|
|
2869
|
+
mode: str | None = "OBJECT",
|
|
2868
2870
|
toggle: bool | typing.Any | None = False,
|
|
2869
2871
|
mesh_select_mode: typing.Any | None = {},
|
|
2870
2872
|
):
|
|
@@ -2874,7 +2876,7 @@ def mode_set_with_submode(
|
|
|
2874
2876
|
:type execution_context: str | int | None
|
|
2875
2877
|
:type undo: bool | None
|
|
2876
2878
|
:param mode: Mode
|
|
2877
|
-
:type mode: str |
|
|
2879
|
+
:type mode: str | None
|
|
2878
2880
|
:param toggle: Toggle
|
|
2879
2881
|
:type toggle: bool | typing.Any | None
|
|
2880
2882
|
:param mesh_select_mode: Mesh Mode
|
|
@@ -2887,7 +2889,7 @@ def modifier_add(
|
|
|
2887
2889
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2888
2890
|
execution_context: str | int | None = None,
|
|
2889
2891
|
undo: bool | None = None,
|
|
2890
|
-
type: str |
|
|
2892
|
+
type: str | None = "SUBSURF",
|
|
2891
2893
|
use_selected_objects: bool | typing.Any | None = False,
|
|
2892
2894
|
):
|
|
2893
2895
|
"""Add a procedural operation/effect to the active object
|
|
@@ -2896,7 +2898,7 @@ def modifier_add(
|
|
|
2896
2898
|
:type execution_context: str | int | None
|
|
2897
2899
|
:type undo: bool | None
|
|
2898
2900
|
:param type: Type
|
|
2899
|
-
:type type: str |
|
|
2901
|
+
:type type: str | None
|
|
2900
2902
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2901
2903
|
:type use_selected_objects: bool | typing.Any | None
|
|
2902
2904
|
"""
|
|
@@ -2907,7 +2909,7 @@ def modifier_add_node_group(
|
|
|
2907
2909
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2908
2910
|
execution_context: str | int | None = None,
|
|
2909
2911
|
undo: bool | None = None,
|
|
2910
|
-
asset_library_type: str |
|
|
2912
|
+
asset_library_type: str | None = "LOCAL",
|
|
2911
2913
|
asset_library_identifier: str | typing.Any = "",
|
|
2912
2914
|
relative_asset_identifier: str | typing.Any = "",
|
|
2913
2915
|
session_uid: typing.Any | None = 0,
|
|
@@ -2919,7 +2921,7 @@ def modifier_add_node_group(
|
|
|
2919
2921
|
:type execution_context: str | int | None
|
|
2920
2922
|
:type undo: bool | None
|
|
2921
2923
|
:param asset_library_type: Asset Library Type
|
|
2922
|
-
:type asset_library_type: str |
|
|
2924
|
+
:type asset_library_type: str | None
|
|
2923
2925
|
:param asset_library_identifier: Asset Library Identifier
|
|
2924
2926
|
:type asset_library_identifier: str | typing.Any
|
|
2925
2927
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -3243,8 +3245,8 @@ def multires_external_save(
|
|
|
3243
3245
|
filter_blenlib: bool | typing.Any | None = False,
|
|
3244
3246
|
filemode: typing.Any | None = 9,
|
|
3245
3247
|
relative_path: bool | typing.Any | None = True,
|
|
3246
|
-
display_type:
|
|
3247
|
-
sort_method: str |
|
|
3248
|
+
display_type: str | None = "DEFAULT",
|
|
3249
|
+
sort_method: str | None = "",
|
|
3248
3250
|
modifier: str | typing.Any = "",
|
|
3249
3251
|
):
|
|
3250
3252
|
"""Save displacements to an external file
|
|
@@ -3309,9 +3311,9 @@ def multires_external_save(
|
|
|
3309
3311
|
|
|
3310
3312
|
THUMBNAIL
|
|
3311
3313
|
Thumbnails -- Display files as thumbnails.
|
|
3312
|
-
:type display_type:
|
|
3314
|
+
:type display_type: str | None
|
|
3313
3315
|
:param sort_method: File sorting mode
|
|
3314
|
-
:type sort_method: str |
|
|
3316
|
+
:type sort_method: str | None
|
|
3315
3317
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3316
3318
|
:type modifier: str | typing.Any
|
|
3317
3319
|
"""
|
|
@@ -3374,7 +3376,7 @@ def multires_subdivide(
|
|
|
3374
3376
|
execution_context: str | int | None = None,
|
|
3375
3377
|
undo: bool | None = None,
|
|
3376
3378
|
modifier: str | typing.Any = "",
|
|
3377
|
-
mode:
|
|
3379
|
+
mode: str | None = "CATMULL_CLARK",
|
|
3378
3380
|
):
|
|
3379
3381
|
"""Add a new level of subdivision
|
|
3380
3382
|
|
|
@@ -3393,7 +3395,7 @@ def multires_subdivide(
|
|
|
3393
3395
|
|
|
3394
3396
|
LINEAR
|
|
3395
3397
|
Linear -- Create a new level using linear interpolation of the sculpted displacement.
|
|
3396
|
-
:type mode:
|
|
3398
|
+
:type mode: str | None
|
|
3397
3399
|
"""
|
|
3398
3400
|
|
|
3399
3401
|
...
|
|
@@ -3453,8 +3455,8 @@ def origin_set(
|
|
|
3453
3455
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3454
3456
|
execution_context: str | int | None = None,
|
|
3455
3457
|
undo: bool | None = None,
|
|
3456
|
-
type:
|
|
3457
|
-
center:
|
|
3458
|
+
type: str | None = "GEOMETRY_ORIGIN",
|
|
3459
|
+
center: str | None = "MEDIAN",
|
|
3458
3460
|
):
|
|
3459
3461
|
"""Set the object's origin, by either moving the data, or set to center of data, or use 3D cursor
|
|
3460
3462
|
|
|
@@ -3477,9 +3479,9 @@ def origin_set(
|
|
|
3477
3479
|
|
|
3478
3480
|
ORIGIN_CENTER_OF_VOLUME
|
|
3479
3481
|
Origin to Center of Mass (Volume) -- Calculate the center of mass from the volume (must be manifold geometry with consistent normals).
|
|
3480
|
-
:type type:
|
|
3482
|
+
:type type: str | None
|
|
3481
3483
|
:param center: Center
|
|
3482
|
-
:type center:
|
|
3484
|
+
:type center: str | None
|
|
3483
3485
|
"""
|
|
3484
3486
|
|
|
3485
3487
|
...
|
|
@@ -3488,7 +3490,7 @@ def parent_clear(
|
|
|
3488
3490
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3489
3491
|
execution_context: str | int | None = None,
|
|
3490
3492
|
undo: bool | None = None,
|
|
3491
|
-
type:
|
|
3493
|
+
type: str | None = "CLEAR",
|
|
3492
3494
|
):
|
|
3493
3495
|
"""Clear the object's parenting
|
|
3494
3496
|
|
|
@@ -3505,7 +3507,7 @@ def parent_clear(
|
|
|
3505
3507
|
|
|
3506
3508
|
CLEAR_INVERSE
|
|
3507
3509
|
Clear Parent Inverse -- Reset the transform corrections applied to the parenting relationship, does not remove parenting itself.
|
|
3508
|
-
:type type:
|
|
3510
|
+
:type type: str | None
|
|
3509
3511
|
"""
|
|
3510
3512
|
|
|
3511
3513
|
...
|
|
@@ -3545,7 +3547,7 @@ def parent_set(
|
|
|
3545
3547
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3546
3548
|
execution_context: str | int | None = None,
|
|
3547
3549
|
undo: bool | None = None,
|
|
3548
|
-
type:
|
|
3550
|
+
type: str | None = "OBJECT",
|
|
3549
3551
|
xmirror: bool | typing.Any | None = False,
|
|
3550
3552
|
keep_transform: bool | typing.Any | None = False,
|
|
3551
3553
|
):
|
|
@@ -3555,7 +3557,7 @@ def parent_set(
|
|
|
3555
3557
|
:type execution_context: str | int | None
|
|
3556
3558
|
:type undo: bool | None
|
|
3557
3559
|
:param type: Type
|
|
3558
|
-
:type type:
|
|
3560
|
+
:type type: str | None
|
|
3559
3561
|
:param xmirror: X Mirror, Apply weights symmetrically along X axis, for Envelope/Automatic vertex groups creation
|
|
3560
3562
|
:type xmirror: bool | typing.Any | None
|
|
3561
3563
|
:param keep_transform: Keep Transform, Apply transformation before parenting
|
|
@@ -3596,8 +3598,8 @@ def paths_calculate(
|
|
|
3596
3598
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3597
3599
|
execution_context: str | int | None = None,
|
|
3598
3600
|
undo: bool | None = None,
|
|
3599
|
-
display_type: str |
|
|
3600
|
-
range: str |
|
|
3601
|
+
display_type: str | None = "RANGE",
|
|
3602
|
+
range: str | None = "SCENE",
|
|
3601
3603
|
):
|
|
3602
3604
|
"""Generate motion paths for the selected objects
|
|
3603
3605
|
|
|
@@ -3605,9 +3607,9 @@ def paths_calculate(
|
|
|
3605
3607
|
:type execution_context: str | int | None
|
|
3606
3608
|
:type undo: bool | None
|
|
3607
3609
|
:param display_type: Display type
|
|
3608
|
-
:type display_type: str |
|
|
3610
|
+
:type display_type: str | None
|
|
3609
3611
|
:param range: Computation Range
|
|
3610
|
-
:type range: str |
|
|
3612
|
+
:type range: str | None
|
|
3611
3613
|
"""
|
|
3612
3614
|
|
|
3613
3615
|
...
|
|
@@ -3661,7 +3663,7 @@ def pointcloud_add(
|
|
|
3661
3663
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3662
3664
|
execution_context: str | int | None = None,
|
|
3663
3665
|
undo: bool | None = None,
|
|
3664
|
-
align:
|
|
3666
|
+
align: str | None = "WORLD",
|
|
3665
3667
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
3666
3668
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
3667
3669
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -3681,7 +3683,7 @@ def pointcloud_add(
|
|
|
3681
3683
|
|
|
3682
3684
|
CURSOR
|
|
3683
3685
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
3684
|
-
:type align:
|
|
3686
|
+
:type align: str | None
|
|
3685
3687
|
:param location: Location, Location for the newly added object
|
|
3686
3688
|
:type location: typing.Any | None
|
|
3687
3689
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -3715,7 +3717,7 @@ def quadriflow_remesh(
|
|
|
3715
3717
|
use_preserve_boundary: bool | typing.Any | None = False,
|
|
3716
3718
|
preserve_attributes: bool | typing.Any | None = False,
|
|
3717
3719
|
smooth_normals: bool | typing.Any | None = False,
|
|
3718
|
-
mode:
|
|
3720
|
+
mode: str | None = "FACES",
|
|
3719
3721
|
target_ratio: typing.Any | None = 1.0,
|
|
3720
3722
|
target_edge_length: typing.Any | None = 0.1,
|
|
3721
3723
|
target_faces: typing.Any | None = 4000,
|
|
@@ -3747,7 +3749,7 @@ def quadriflow_remesh(
|
|
|
3747
3749
|
|
|
3748
3750
|
FACES
|
|
3749
3751
|
Faces -- Input target number of faces in the new mesh.
|
|
3750
|
-
:type mode:
|
|
3752
|
+
:type mode: str | None
|
|
3751
3753
|
:param target_ratio: Ratio, Relative number of faces compared to the current mesh
|
|
3752
3754
|
:type target_ratio: typing.Any | None
|
|
3753
3755
|
:param target_edge_length: Edge Length, Target edge length in the new mesh
|
|
@@ -3766,7 +3768,7 @@ def quick_explode(
|
|
|
3766
3768
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3767
3769
|
execution_context: str | int | None = None,
|
|
3768
3770
|
undo: bool | None = None,
|
|
3769
|
-
style:
|
|
3771
|
+
style: str | None = "EXPLODE",
|
|
3770
3772
|
amount: typing.Any | None = 100,
|
|
3771
3773
|
frame_duration: typing.Any | None = 50,
|
|
3772
3774
|
frame_start: typing.Any | None = 1,
|
|
@@ -3780,7 +3782,7 @@ def quick_explode(
|
|
|
3780
3782
|
:type execution_context: str | int | None
|
|
3781
3783
|
:type undo: bool | None
|
|
3782
3784
|
:param style: Explode Style
|
|
3783
|
-
:type style:
|
|
3785
|
+
:type style: str | None
|
|
3784
3786
|
:param amount: Number of Pieces
|
|
3785
3787
|
:type amount: typing.Any | None
|
|
3786
3788
|
:param frame_duration: Duration
|
|
@@ -3801,7 +3803,7 @@ def quick_fur(
|
|
|
3801
3803
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3802
3804
|
execution_context: str | int | None = None,
|
|
3803
3805
|
undo: bool | None = None,
|
|
3804
|
-
density:
|
|
3806
|
+
density: str | None = "MEDIUM",
|
|
3805
3807
|
length: typing.Any | None = 0.1,
|
|
3806
3808
|
radius: typing.Any | None = 0.001,
|
|
3807
3809
|
view_percentage: typing.Any | None = 1.0,
|
|
@@ -3815,7 +3817,7 @@ def quick_fur(
|
|
|
3815
3817
|
:type execution_context: str | int | None
|
|
3816
3818
|
:type undo: bool | None
|
|
3817
3819
|
:param density: Density
|
|
3818
|
-
:type density:
|
|
3820
|
+
:type density: str | None
|
|
3819
3821
|
:param length: Length
|
|
3820
3822
|
:type length: typing.Any | None
|
|
3821
3823
|
:param radius: Hair Radius
|
|
@@ -3853,7 +3855,7 @@ def quick_smoke(
|
|
|
3853
3855
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3854
3856
|
execution_context: str | int | None = None,
|
|
3855
3857
|
undo: bool | None = None,
|
|
3856
|
-
style:
|
|
3858
|
+
style: str | None = "SMOKE",
|
|
3857
3859
|
show_flows: bool | typing.Any | None = False,
|
|
3858
3860
|
):
|
|
3859
3861
|
"""Use selected objects as smoke emitters
|
|
@@ -3862,7 +3864,7 @@ def quick_smoke(
|
|
|
3862
3864
|
:type execution_context: str | int | None
|
|
3863
3865
|
:type undo: bool | None
|
|
3864
3866
|
:param style: Smoke Style
|
|
3865
|
-
:type style:
|
|
3867
|
+
:type style: str | None
|
|
3866
3868
|
:param show_flows: Render Smoke Objects, Keep the smoke objects visible during rendering
|
|
3867
3869
|
:type show_flows: bool | typing.Any | None
|
|
3868
3870
|
"""
|
|
@@ -3962,7 +3964,7 @@ def select_all(
|
|
|
3962
3964
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3963
3965
|
execution_context: str | int | None = None,
|
|
3964
3966
|
undo: bool | None = None,
|
|
3965
|
-
action:
|
|
3967
|
+
action: str | None = "TOGGLE",
|
|
3966
3968
|
):
|
|
3967
3969
|
"""Change selection of all visible objects in scene
|
|
3968
3970
|
|
|
@@ -3982,7 +3984,7 @@ def select_all(
|
|
|
3982
3984
|
|
|
3983
3985
|
INVERT
|
|
3984
3986
|
Invert -- Invert selection of all elements.
|
|
3985
|
-
:type action:
|
|
3987
|
+
:type action: str | None
|
|
3986
3988
|
"""
|
|
3987
3989
|
|
|
3988
3990
|
...
|
|
@@ -3992,7 +3994,7 @@ def select_by_type(
|
|
|
3992
3994
|
execution_context: str | int | None = None,
|
|
3993
3995
|
undo: bool | None = None,
|
|
3994
3996
|
extend: bool | typing.Any | None = False,
|
|
3995
|
-
type: str |
|
|
3997
|
+
type: str | None = "MESH",
|
|
3996
3998
|
):
|
|
3997
3999
|
"""Select all visible objects that are of a type
|
|
3998
4000
|
|
|
@@ -4002,7 +4004,7 @@ def select_by_type(
|
|
|
4002
4004
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
4003
4005
|
:type extend: bool | typing.Any | None
|
|
4004
4006
|
:param type: Type
|
|
4005
|
-
:type type: str |
|
|
4007
|
+
:type type: str | None
|
|
4006
4008
|
"""
|
|
4007
4009
|
|
|
4008
4010
|
...
|
|
@@ -4029,7 +4031,7 @@ def select_grouped(
|
|
|
4029
4031
|
execution_context: str | int | None = None,
|
|
4030
4032
|
undo: bool | None = None,
|
|
4031
4033
|
extend: bool | typing.Any | None = False,
|
|
4032
|
-
type:
|
|
4034
|
+
type: str | None = "CHILDREN_RECURSIVE",
|
|
4033
4035
|
):
|
|
4034
4036
|
"""Select all visible objects grouped by various properties
|
|
4035
4037
|
|
|
@@ -4072,7 +4074,7 @@ def select_grouped(
|
|
|
4072
4074
|
|
|
4073
4075
|
LIGHT_TYPE
|
|
4074
4076
|
Light Type -- Matching light types.
|
|
4075
|
-
:type type:
|
|
4077
|
+
:type type: str | None
|
|
4076
4078
|
"""
|
|
4077
4079
|
|
|
4078
4080
|
...
|
|
@@ -4081,7 +4083,7 @@ def select_hierarchy(
|
|
|
4081
4083
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4082
4084
|
execution_context: str | int | None = None,
|
|
4083
4085
|
undo: bool | None = None,
|
|
4084
|
-
direction:
|
|
4086
|
+
direction: str | None = "PARENT",
|
|
4085
4087
|
extend: bool | typing.Any | None = False,
|
|
4086
4088
|
):
|
|
4087
4089
|
"""Select object relative to the active object's position in the hierarchy
|
|
@@ -4090,7 +4092,7 @@ def select_hierarchy(
|
|
|
4090
4092
|
:type execution_context: str | int | None
|
|
4091
4093
|
:type undo: bool | None
|
|
4092
4094
|
:param direction: Direction, Direction to select in the hierarchy
|
|
4093
|
-
:type direction:
|
|
4095
|
+
:type direction: str | None
|
|
4094
4096
|
:param extend: Extend, Extend the existing selection
|
|
4095
4097
|
:type extend: bool | typing.Any | None
|
|
4096
4098
|
"""
|
|
@@ -4116,7 +4118,7 @@ def select_linked(
|
|
|
4116
4118
|
execution_context: str | int | None = None,
|
|
4117
4119
|
undo: bool | None = None,
|
|
4118
4120
|
extend: bool | typing.Any | None = False,
|
|
4119
|
-
type:
|
|
4121
|
+
type: str | None = "OBDATA",
|
|
4120
4122
|
):
|
|
4121
4123
|
"""Select all visible objects that are linked
|
|
4122
4124
|
|
|
@@ -4126,7 +4128,7 @@ def select_linked(
|
|
|
4126
4128
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
4127
4129
|
:type extend: bool | typing.Any | None
|
|
4128
4130
|
:param type: Type
|
|
4129
|
-
:type type:
|
|
4131
|
+
:type type: str | None
|
|
4130
4132
|
"""
|
|
4131
4133
|
|
|
4132
4134
|
...
|
|
@@ -4191,7 +4193,7 @@ def select_random(
|
|
|
4191
4193
|
undo: bool | None = None,
|
|
4192
4194
|
ratio: typing.Any | None = 0.5,
|
|
4193
4195
|
seed: typing.Any | None = 0,
|
|
4194
|
-
action:
|
|
4196
|
+
action: str | None = "SELECT",
|
|
4195
4197
|
):
|
|
4196
4198
|
"""Select or deselect random visible objects
|
|
4197
4199
|
|
|
@@ -4209,7 +4211,7 @@ def select_random(
|
|
|
4209
4211
|
|
|
4210
4212
|
DESELECT
|
|
4211
4213
|
Deselect -- Deselect all elements.
|
|
4212
|
-
:type action:
|
|
4214
|
+
:type action: str | None
|
|
4213
4215
|
"""
|
|
4214
4216
|
|
|
4215
4217
|
...
|
|
@@ -4309,7 +4311,7 @@ def shaderfx_add(
|
|
|
4309
4311
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4310
4312
|
execution_context: str | int | None = None,
|
|
4311
4313
|
undo: bool | None = None,
|
|
4312
|
-
type: str |
|
|
4314
|
+
type: str | None = "FX_BLUR",
|
|
4313
4315
|
):
|
|
4314
4316
|
"""Add a visual effect to the active object
|
|
4315
4317
|
|
|
@@ -4317,7 +4319,7 @@ def shaderfx_add(
|
|
|
4317
4319
|
:type execution_context: str | int | None
|
|
4318
4320
|
:type undo: bool | None
|
|
4319
4321
|
:param type: Type
|
|
4320
|
-
:type type: str |
|
|
4322
|
+
:type type: str | None
|
|
4321
4323
|
"""
|
|
4322
4324
|
|
|
4323
4325
|
...
|
|
@@ -4448,7 +4450,7 @@ def shape_key_lock(
|
|
|
4448
4450
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4449
4451
|
execution_context: str | int | None = None,
|
|
4450
4452
|
undo: bool | None = None,
|
|
4451
|
-
action:
|
|
4453
|
+
action: str | None = "LOCK",
|
|
4452
4454
|
):
|
|
4453
4455
|
"""Change the lock state of all shape keys of active object
|
|
4454
4456
|
|
|
@@ -4462,7 +4464,7 @@ def shape_key_lock(
|
|
|
4462
4464
|
|
|
4463
4465
|
UNLOCK
|
|
4464
4466
|
Unlock -- Unlock all shape keys.
|
|
4465
|
-
:type action:
|
|
4467
|
+
:type action: str | None
|
|
4466
4468
|
"""
|
|
4467
4469
|
|
|
4468
4470
|
...
|
|
@@ -4488,7 +4490,7 @@ def shape_key_move(
|
|
|
4488
4490
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4489
4491
|
execution_context: str | int | None = None,
|
|
4490
4492
|
undo: bool | None = None,
|
|
4491
|
-
type:
|
|
4493
|
+
type: str | None = "TOP",
|
|
4492
4494
|
):
|
|
4493
4495
|
"""Move the active shape key up/down in the list
|
|
4494
4496
|
|
|
@@ -4508,7 +4510,7 @@ def shape_key_move(
|
|
|
4508
4510
|
|
|
4509
4511
|
BOTTOM
|
|
4510
4512
|
Bottom -- Bottom of the list.
|
|
4511
|
-
:type type:
|
|
4513
|
+
:type type: str | None
|
|
4512
4514
|
"""
|
|
4513
4515
|
|
|
4514
4516
|
...
|
|
@@ -4551,7 +4553,7 @@ def shape_key_transfer(
|
|
|
4551
4553
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4552
4554
|
execution_context: str | int | None = None,
|
|
4553
4555
|
undo: bool | None = None,
|
|
4554
|
-
mode:
|
|
4556
|
+
mode: str | None = "OFFSET",
|
|
4555
4557
|
use_clamp: bool | typing.Any | None = False,
|
|
4556
4558
|
):
|
|
4557
4559
|
"""Copy the active shape key of another selected object to this one
|
|
@@ -4569,7 +4571,7 @@ def shape_key_transfer(
|
|
|
4569
4571
|
|
|
4570
4572
|
RELATIVE_EDGE
|
|
4571
4573
|
Relative Edge -- Calculate relative position (using edges).
|
|
4572
|
-
:type mode:
|
|
4574
|
+
:type mode: str | None
|
|
4573
4575
|
:param use_clamp: Clamp Offset, Clamp the transformation to the distance each vertex moves in the original shape
|
|
4574
4576
|
:type use_clamp: bool | typing.Any | None
|
|
4575
4577
|
"""
|
|
@@ -4648,7 +4650,7 @@ def skin_loose_mark_clear(
|
|
|
4648
4650
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4649
4651
|
execution_context: str | int | None = None,
|
|
4650
4652
|
undo: bool | None = None,
|
|
4651
|
-
action:
|
|
4653
|
+
action: str | None = "MARK",
|
|
4652
4654
|
):
|
|
4653
4655
|
"""Mark/clear selected vertices as loose
|
|
4654
4656
|
|
|
@@ -4662,7 +4664,7 @@ def skin_loose_mark_clear(
|
|
|
4662
4664
|
|
|
4663
4665
|
CLEAR
|
|
4664
4666
|
Clear -- Set selected vertices as not loose.
|
|
4665
|
-
:type action:
|
|
4667
|
+
:type action: str | None
|
|
4666
4668
|
"""
|
|
4667
4669
|
|
|
4668
4670
|
...
|
|
@@ -4700,7 +4702,7 @@ def speaker_add(
|
|
|
4700
4702
|
execution_context: str | int | None = None,
|
|
4701
4703
|
undo: bool | None = None,
|
|
4702
4704
|
enter_editmode: bool | typing.Any | None = False,
|
|
4703
|
-
align:
|
|
4705
|
+
align: str | None = "WORLD",
|
|
4704
4706
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
4705
4707
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
4706
4708
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -4722,7 +4724,7 @@ def speaker_add(
|
|
|
4722
4724
|
|
|
4723
4725
|
CURSOR
|
|
4724
4726
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
4725
|
-
:type align:
|
|
4727
|
+
:type align: str | None
|
|
4726
4728
|
:param location: Location, Location for the newly added object
|
|
4727
4729
|
:type location: typing.Any | None
|
|
4728
4730
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -4776,7 +4778,7 @@ def text_add(
|
|
|
4776
4778
|
undo: bool | None = None,
|
|
4777
4779
|
radius: typing.Any | None = 1.0,
|
|
4778
4780
|
enter_editmode: bool | typing.Any | None = False,
|
|
4779
|
-
align:
|
|
4781
|
+
align: str | None = "WORLD",
|
|
4780
4782
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
4781
4783
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
4782
4784
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -4800,7 +4802,7 @@ def text_add(
|
|
|
4800
4802
|
|
|
4801
4803
|
CURSOR
|
|
4802
4804
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
4803
|
-
:type align:
|
|
4805
|
+
:type align: str | None
|
|
4804
4806
|
:param location: Location, Location for the newly added object
|
|
4805
4807
|
:type location: typing.Any | None
|
|
4806
4808
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -4815,7 +4817,7 @@ def track_clear(
|
|
|
4815
4817
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4816
4818
|
execution_context: str | int | None = None,
|
|
4817
4819
|
undo: bool | None = None,
|
|
4818
|
-
type:
|
|
4820
|
+
type: str | None = "CLEAR",
|
|
4819
4821
|
):
|
|
4820
4822
|
"""Clear tracking constraint or flag from object
|
|
4821
4823
|
|
|
@@ -4823,7 +4825,7 @@ def track_clear(
|
|
|
4823
4825
|
:type execution_context: str | int | None
|
|
4824
4826
|
:type undo: bool | None
|
|
4825
4827
|
:param type: Type
|
|
4826
|
-
:type type:
|
|
4828
|
+
:type type: str | None
|
|
4827
4829
|
"""
|
|
4828
4830
|
|
|
4829
4831
|
...
|
|
@@ -4832,7 +4834,7 @@ def track_set(
|
|
|
4832
4834
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4833
4835
|
execution_context: str | int | None = None,
|
|
4834
4836
|
undo: bool | None = None,
|
|
4835
|
-
type:
|
|
4837
|
+
type: str | None = "DAMPTRACK",
|
|
4836
4838
|
):
|
|
4837
4839
|
"""Make the object track another object, using various methods/constraints
|
|
4838
4840
|
|
|
@@ -4840,7 +4842,7 @@ def track_set(
|
|
|
4840
4842
|
:type execution_context: str | int | None
|
|
4841
4843
|
:type undo: bool | None
|
|
4842
4844
|
:param type: Type
|
|
4843
|
-
:type type:
|
|
4845
|
+
:type type: str | None
|
|
4844
4846
|
"""
|
|
4845
4847
|
|
|
4846
4848
|
...
|
|
@@ -4943,7 +4945,7 @@ def transforms_to_deltas(
|
|
|
4943
4945
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4944
4946
|
execution_context: str | int | None = None,
|
|
4945
4947
|
undo: bool | None = None,
|
|
4946
|
-
mode:
|
|
4948
|
+
mode: str | None = "ALL",
|
|
4947
4949
|
reset_values: bool | typing.Any | None = True,
|
|
4948
4950
|
):
|
|
4949
4951
|
"""Convert normal object transforms to delta transforms, any existing delta transforms will be included as well
|
|
@@ -4964,7 +4966,7 @@ def transforms_to_deltas(
|
|
|
4964
4966
|
|
|
4965
4967
|
SCALE
|
|
4966
4968
|
Scale -- Transfer scale transforms only.
|
|
4967
|
-
:type mode:
|
|
4969
|
+
:type mode: str | None
|
|
4968
4970
|
:param reset_values: Reset Values, Clear transform values after transferring to deltas
|
|
4969
4971
|
:type reset_values: bool | typing.Any | None
|
|
4970
4972
|
"""
|
|
@@ -5031,7 +5033,7 @@ def vertex_group_clean(
|
|
|
5031
5033
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5032
5034
|
execution_context: str | int | None = None,
|
|
5033
5035
|
undo: bool | None = None,
|
|
5034
|
-
group_select_mode: str |
|
|
5036
|
+
group_select_mode: str | None = "",
|
|
5035
5037
|
limit: typing.Any | None = 0.0,
|
|
5036
5038
|
keep_single: bool | typing.Any | None = False,
|
|
5037
5039
|
):
|
|
@@ -5041,7 +5043,7 @@ def vertex_group_clean(
|
|
|
5041
5043
|
:type execution_context: str | int | None
|
|
5042
5044
|
:type undo: bool | None
|
|
5043
5045
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5044
|
-
:type group_select_mode: str |
|
|
5046
|
+
:type group_select_mode: str | None
|
|
5045
5047
|
:param limit: Limit, Remove vertices which weight is below or equal to this limit
|
|
5046
5048
|
:type limit: typing.Any | None
|
|
5047
5049
|
:param keep_single: Keep Single, Keep verts assigned to at least one group when cleaning
|
|
@@ -5096,7 +5098,7 @@ def vertex_group_invert(
|
|
|
5096
5098
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5097
5099
|
execution_context: str | int | None = None,
|
|
5098
5100
|
undo: bool | None = None,
|
|
5099
|
-
group_select_mode: str |
|
|
5101
|
+
group_select_mode: str | None = "",
|
|
5100
5102
|
auto_assign: bool | typing.Any | None = True,
|
|
5101
5103
|
auto_remove: bool | typing.Any | None = True,
|
|
5102
5104
|
):
|
|
@@ -5106,7 +5108,7 @@ def vertex_group_invert(
|
|
|
5106
5108
|
:type execution_context: str | int | None
|
|
5107
5109
|
:type undo: bool | None
|
|
5108
5110
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5109
|
-
:type group_select_mode: str |
|
|
5111
|
+
:type group_select_mode: str | None
|
|
5110
5112
|
:param auto_assign: Add Weights, Add vertices from groups that have zero weight before inverting
|
|
5111
5113
|
:type auto_assign: bool | typing.Any | None
|
|
5112
5114
|
:param auto_remove: Remove Weights, Remove vertices from groups that have zero weight after inverting
|
|
@@ -5119,7 +5121,7 @@ def vertex_group_levels(
|
|
|
5119
5121
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5120
5122
|
execution_context: str | int | None = None,
|
|
5121
5123
|
undo: bool | None = None,
|
|
5122
|
-
group_select_mode: str |
|
|
5124
|
+
group_select_mode: str | None = "",
|
|
5123
5125
|
offset: typing.Any | None = 0.0,
|
|
5124
5126
|
gain: typing.Any | None = 1.0,
|
|
5125
5127
|
):
|
|
@@ -5129,7 +5131,7 @@ def vertex_group_levels(
|
|
|
5129
5131
|
:type execution_context: str | int | None
|
|
5130
5132
|
:type undo: bool | None
|
|
5131
5133
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5132
|
-
:type group_select_mode: str |
|
|
5134
|
+
:type group_select_mode: str | None
|
|
5133
5135
|
:param offset: Offset, Value to add to weights
|
|
5134
5136
|
:type offset: typing.Any | None
|
|
5135
5137
|
:param gain: Gain, Value to multiply weights by
|
|
@@ -5142,7 +5144,7 @@ def vertex_group_limit_total(
|
|
|
5142
5144
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5143
5145
|
execution_context: str | int | None = None,
|
|
5144
5146
|
undo: bool | None = None,
|
|
5145
|
-
group_select_mode: str |
|
|
5147
|
+
group_select_mode: str | None = "",
|
|
5146
5148
|
limit: typing.Any | None = 4,
|
|
5147
5149
|
):
|
|
5148
5150
|
"""Limit deform weights associated with a vertex to a specified number by removing lowest weights
|
|
@@ -5151,7 +5153,7 @@ def vertex_group_limit_total(
|
|
|
5151
5153
|
:type execution_context: str | int | None
|
|
5152
5154
|
:type undo: bool | None
|
|
5153
5155
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5154
|
-
:type group_select_mode: str |
|
|
5156
|
+
:type group_select_mode: str | None
|
|
5155
5157
|
:param limit: Limit, Maximum number of deform weights
|
|
5156
5158
|
:type limit: typing.Any | None
|
|
5157
5159
|
"""
|
|
@@ -5162,8 +5164,8 @@ def vertex_group_lock(
|
|
|
5162
5164
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5163
5165
|
execution_context: str | int | None = None,
|
|
5164
5166
|
undo: bool | None = None,
|
|
5165
|
-
action:
|
|
5166
|
-
mask:
|
|
5167
|
+
action: str | None = "TOGGLE",
|
|
5168
|
+
mask: str | None = "ALL",
|
|
5167
5169
|
):
|
|
5168
5170
|
"""Change the lock state of all or some vertex groups of active object
|
|
5169
5171
|
|
|
@@ -5183,7 +5185,7 @@ def vertex_group_lock(
|
|
|
5183
5185
|
|
|
5184
5186
|
INVERT
|
|
5185
5187
|
Invert -- Invert the lock state of all vertex groups.
|
|
5186
|
-
:type action:
|
|
5188
|
+
:type action: str | None
|
|
5187
5189
|
:param mask: Mask, Apply the action based on vertex group selection
|
|
5188
5190
|
|
|
5189
5191
|
ALL
|
|
@@ -5197,7 +5199,7 @@ def vertex_group_lock(
|
|
|
5197
5199
|
|
|
5198
5200
|
INVERT_UNSELECTED
|
|
5199
5201
|
Invert Unselected -- Apply the opposite of Lock/Unlock to unselected vertex groups.
|
|
5200
|
-
:type mask:
|
|
5202
|
+
:type mask: str | None
|
|
5201
5203
|
"""
|
|
5202
5204
|
|
|
5203
5205
|
...
|
|
@@ -5232,7 +5234,7 @@ def vertex_group_move(
|
|
|
5232
5234
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5233
5235
|
execution_context: str | int | None = None,
|
|
5234
5236
|
undo: bool | None = None,
|
|
5235
|
-
direction:
|
|
5237
|
+
direction: str | None = "UP",
|
|
5236
5238
|
):
|
|
5237
5239
|
"""Move the active vertex group up/down in the list
|
|
5238
5240
|
|
|
@@ -5240,7 +5242,7 @@ def vertex_group_move(
|
|
|
5240
5242
|
:type execution_context: str | int | None
|
|
5241
5243
|
:type undo: bool | None
|
|
5242
5244
|
:param direction: Direction, Direction to move the active vertex group towards
|
|
5243
|
-
:type direction:
|
|
5245
|
+
:type direction: str | None
|
|
5244
5246
|
"""
|
|
5245
5247
|
|
|
5246
5248
|
...
|
|
@@ -5263,7 +5265,7 @@ def vertex_group_normalize_all(
|
|
|
5263
5265
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5264
5266
|
execution_context: str | int | None = None,
|
|
5265
5267
|
undo: bool | None = None,
|
|
5266
|
-
group_select_mode: str |
|
|
5268
|
+
group_select_mode: str | None = "",
|
|
5267
5269
|
lock_active: bool | typing.Any | None = True,
|
|
5268
5270
|
):
|
|
5269
5271
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
@@ -5272,7 +5274,7 @@ def vertex_group_normalize_all(
|
|
|
5272
5274
|
:type execution_context: str | int | None
|
|
5273
5275
|
:type undo: bool | None
|
|
5274
5276
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5275
|
-
:type group_select_mode: str |
|
|
5277
|
+
:type group_select_mode: str | None
|
|
5276
5278
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
5277
5279
|
:type lock_active: bool | typing.Any | None
|
|
5278
5280
|
"""
|
|
@@ -5283,7 +5285,7 @@ def vertex_group_quantize(
|
|
|
5283
5285
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5284
5286
|
execution_context: str | int | None = None,
|
|
5285
5287
|
undo: bool | None = None,
|
|
5286
|
-
group_select_mode: str |
|
|
5288
|
+
group_select_mode: str | None = "",
|
|
5287
5289
|
steps: typing.Any | None = 4,
|
|
5288
5290
|
):
|
|
5289
5291
|
"""Set weights to a fixed number of steps
|
|
@@ -5292,7 +5294,7 @@ def vertex_group_quantize(
|
|
|
5292
5294
|
:type execution_context: str | int | None
|
|
5293
5295
|
:type undo: bool | None
|
|
5294
5296
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5295
|
-
:type group_select_mode: str |
|
|
5297
|
+
:type group_select_mode: str | None
|
|
5296
5298
|
:param steps: Steps, Number of steps between 0 and 1
|
|
5297
5299
|
:type steps: typing.Any | None
|
|
5298
5300
|
"""
|
|
@@ -5357,7 +5359,7 @@ def vertex_group_set_active(
|
|
|
5357
5359
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5358
5360
|
execution_context: str | int | None = None,
|
|
5359
5361
|
undo: bool | None = None,
|
|
5360
|
-
group: str |
|
|
5362
|
+
group: str | None = "",
|
|
5361
5363
|
):
|
|
5362
5364
|
"""Set the active vertex group
|
|
5363
5365
|
|
|
@@ -5365,7 +5367,7 @@ def vertex_group_set_active(
|
|
|
5365
5367
|
:type execution_context: str | int | None
|
|
5366
5368
|
:type undo: bool | None
|
|
5367
5369
|
:param group: Group, Vertex group to set as active
|
|
5368
|
-
:type group: str |
|
|
5370
|
+
:type group: str | None
|
|
5369
5371
|
"""
|
|
5370
5372
|
|
|
5371
5373
|
...
|
|
@@ -5374,7 +5376,7 @@ def vertex_group_smooth(
|
|
|
5374
5376
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5375
5377
|
execution_context: str | int | None = None,
|
|
5376
5378
|
undo: bool | None = None,
|
|
5377
|
-
group_select_mode: str |
|
|
5379
|
+
group_select_mode: str | None = "",
|
|
5378
5380
|
factor: typing.Any | None = 0.5,
|
|
5379
5381
|
repeat: typing.Any | None = 1,
|
|
5380
5382
|
expand: typing.Any | None = 0.0,
|
|
@@ -5385,7 +5387,7 @@ def vertex_group_smooth(
|
|
|
5385
5387
|
:type execution_context: str | int | None
|
|
5386
5388
|
:type undo: bool | None
|
|
5387
5389
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5388
|
-
:type group_select_mode: str |
|
|
5390
|
+
:type group_select_mode: str | None
|
|
5389
5391
|
:param factor: Factor
|
|
5390
5392
|
:type factor: typing.Any | None
|
|
5391
5393
|
:param repeat: Iterations
|
|
@@ -5400,7 +5402,7 @@ def vertex_group_sort(
|
|
|
5400
5402
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5401
5403
|
execution_context: str | int | None = None,
|
|
5402
5404
|
undo: bool | None = None,
|
|
5403
|
-
sort_type:
|
|
5405
|
+
sort_type: str | None = "NAME",
|
|
5404
5406
|
):
|
|
5405
5407
|
"""Sort vertex groups
|
|
5406
5408
|
|
|
@@ -5408,7 +5410,7 @@ def vertex_group_sort(
|
|
|
5408
5410
|
:type execution_context: str | int | None
|
|
5409
5411
|
:type undo: bool | None
|
|
5410
5412
|
:param sort_type: Sort Type, Sort type
|
|
5411
|
-
:type sort_type:
|
|
5413
|
+
:type sort_type: str | None
|
|
5412
5414
|
"""
|
|
5413
5415
|
|
|
5414
5416
|
...
|
|
@@ -5524,7 +5526,7 @@ def volume_add(
|
|
|
5524
5526
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5525
5527
|
execution_context: str | int | None = None,
|
|
5526
5528
|
undo: bool | None = None,
|
|
5527
|
-
align:
|
|
5529
|
+
align: str | None = "WORLD",
|
|
5528
5530
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
5529
5531
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
5530
5532
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -5544,7 +5546,7 @@ def volume_add(
|
|
|
5544
5546
|
|
|
5545
5547
|
CURSOR
|
|
5546
5548
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
5547
|
-
:type align:
|
|
5549
|
+
:type align: str | None
|
|
5548
5550
|
:param location: Location, Location for the newly added object
|
|
5549
5551
|
:type location: typing.Any | None
|
|
5550
5552
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -5584,10 +5586,10 @@ def volume_import(
|
|
|
5584
5586
|
filter_blenlib: bool | typing.Any | None = False,
|
|
5585
5587
|
filemode: typing.Any | None = 9,
|
|
5586
5588
|
relative_path: bool | typing.Any | None = True,
|
|
5587
|
-
display_type:
|
|
5588
|
-
sort_method:
|
|
5589
|
+
display_type: str | None = "DEFAULT",
|
|
5590
|
+
sort_method: str | None = "",
|
|
5589
5591
|
use_sequence_detection: bool | typing.Any | None = True,
|
|
5590
|
-
align:
|
|
5592
|
+
align: str | None = "WORLD",
|
|
5591
5593
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
5592
5594
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
5593
5595
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -5658,7 +5660,7 @@ def volume_import(
|
|
|
5658
5660
|
|
|
5659
5661
|
THUMBNAIL
|
|
5660
5662
|
Thumbnails -- Display files as thumbnails.
|
|
5661
|
-
:type display_type:
|
|
5663
|
+
:type display_type: str | None
|
|
5662
5664
|
:param sort_method: File sorting mode
|
|
5663
5665
|
|
|
5664
5666
|
DEFAULT
|
|
@@ -5675,7 +5677,7 @@ def volume_import(
|
|
|
5675
5677
|
|
|
5676
5678
|
FILE_SORT_SIZE
|
|
5677
5679
|
Size -- Sort files by size.
|
|
5678
|
-
:type sort_method:
|
|
5680
|
+
:type sort_method: str | None
|
|
5679
5681
|
:param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected volume files (based on file names)
|
|
5680
5682
|
:type use_sequence_detection: bool | typing.Any | None
|
|
5681
5683
|
:param align: Align, The alignment of the new object
|
|
@@ -5688,7 +5690,7 @@ def volume_import(
|
|
|
5688
5690
|
|
|
5689
5691
|
CURSOR
|
|
5690
5692
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
5691
|
-
:type align:
|
|
5693
|
+
:type align: str | None
|
|
5692
5694
|
:param location: Location, Location for the newly added object
|
|
5693
5695
|
:type location: typing.Any | None
|
|
5694
5696
|
:param rotation: Rotation, Rotation for the newly added object
|