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